chec_to_2d_array

ctapipe.image.geometry_converter.chec_to_2d_array(input_img, img_map=array([[- 1, - 1, - 1, ..., - 1, - 1, - 1], [- 1, - 1, - 1, ..., - 1, - 1, - 1], [- 1, - 1, - 1, ..., - 1, - 1, - 1], ..., [- 1, - 1, - 1, ..., - 1, - 1, - 1], [- 1, - 1, - 1, ..., - 1, - 1, - 1], [- 1, - 1, - 1, ..., - 1, - 1, - 1]]))[source]

Convert images comming form “CHEC” cameras in order to get regular 2D “rectangular” images directly usable with most image processing tools.

Parameters
input_imgnumpy.array

The image to convert

Returns
A numpy.array containing the cropped image.