apply_time_average_cleaning#
- ctapipe.image.cleaning.apply_time_average_cleaning(geom, mask, image, arrival_times, picture_thresh, time_limit)[source]#
Extract all pixels that arrived within a given timeframe with respect to the time average of the pixels on the main island.
In order to avoid removing signal pixels of large impact-parameter events, the time limit for bright pixels is doubled.
- Parameters:
- geom
ctapipe.instrument.CameraGeometry
Camera geometry information
- masknp.ndarray
boolean mask of selected pixels before
apply_time_delta_cleaning
- imagenp.ndarray
pixel charges
- arrival_timesnp.ndarray
pixel timing information
- picture_threshfloat
threshold above which
time_limit
is extended twice its value- time_limitint | float
arrival time limit w.r.t. the average time of the core pixels
- geom
- Returns:
- A boolean mask of selected pixels.