ctapipe is not stable yet, so expect large and rapid changes to structure and functionality as we explore various design choices before the 1.0 release.

hillas_parameters#

ctapipe.image.hillas_parameters(geom, image)[source]#

Compute Hillas parameters for a given shower image.

Implementation uses a PCA analogous to the implementation in src/main/java/fact/features/HillasParameters.java from fact-project/fact-tools

The recommended form is to pass only the sliced geometry and image for the pixels to be considered.

Each method gives the same result, but vary in efficiency

Parameters:
geom: ctapipe.instrument.CameraGeometry

Camera geometry, the cleaning mask should be applied to improve performance

imagearray_like

Charge in each pixel, the cleaning mask should already be applied to improve performance.

Returns:
HillasParametersContainer:

container of hillas parametesr