apply_time_delta_cleaning#, 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.

geom: `ctapipe.instrument.CameraGeometry`

Camera geometry information

mask: array, boolean

boolean mask of clean pixels before time_delta_cleaning

arrival_times: array

pixel timing information

min_number_neighbors: int

Threshold to determine if a pixel survives cleaning steps. These steps include checks of neighbor arrival time and value

time_limit: int or float

arrival time limit for neighboring pixels

A boolean mask of clean pixels.