hillas_parameters#

ctapipe.image.hillas.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