Camera image conversions

converts 1D image containers to 2D transforms hexagonal images into rectangular grid

ctapipe.image.geometry_converter Module

collects converter functions from the various geometry_converter_XXX files in one common module

Functions

convert_geometry_hex1d_to_rect2d(geom, signal)

converts the geometry object of a camera with a hexagonal grid into a square grid by slanting and stretching the 1D arrays of pixel x and y positions and signal intensities are converted to 2D arrays.

convert_geometry_rect2d_back_to_hexe1d(geom, …)

reverts the geometry distortion performed by convert_geometry_hexe1d_to_rect_2d back to a hexagonal grid stored in 1D arrays

astri_to_2d_array(input_img[, img_map])

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

array_2d_to_astri(img_2d)

Transforms the 2D ASTRI image back to 1D

chec_to_2d_array(input_img[, img_map])

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

array_2d_to_chec(img_2d)