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.

leakage_parameters#

ctapipe.image.leakage_parameters(geom, image, cleaning_mask)[source]#

Calculating the leakage-values for a given image. Image must be cleaned for example with tailcuts_clean. Leakage describes how strong a shower is on the edge of a telescope.

Parameters:
geom: ctapipe.instrument.CameraGeometry

Camera geometry information

image: array

pixel values

cleaning_mask: array, dtype=bool

The pixel that survived cleaning, e.g. tailcuts_clean

Returns:
LeakageContainer