apply_time_average_cleaning(geom, mask, image, arrival_times, picture_thresh, time_limit)¶
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.
- geom: `ctapipe.instrument.CameraGeometry`
Camera geometry information
- mask: array, boolean
boolean mask of clean pixels before time_delta_cleaning
- image: array
- arrival_times: array
pixel timing information
- picture_thresh: float
threshold above which time limit is extended twice its value
- time_limit: int or float
arrival time limit w.r.t. the average time of the core pixels
- A boolean mask of clean pixels.