apply_time_delta_cleaning#
- ctapipe.image.cleaning.apply_time_delta_cleaning(geom, mask, arrival_times, min_number_neighbors, time_limit)[source]#
Identify all pixels from selection that have less than N neighbors that arrived within a given timeframe.
- Parameters:
- geom
ctapipe.instrument.CameraGeometry
Camera geometry information
- masknp.ndarray
boolean mask of selected pixels before
apply_time_delta_cleaning
- arrival_timesnp.ndarray
pixel timing information
- min_number_neighborsint
a selected pixel needs at least this number of (already selected) neighbors that arrived within a given time_limit to itself to survive the cleaning.
- time_limitint | float
arrival time limit for neighboring pixels
- geom
- Returns:
- A boolean mask of selected pixels.