ImageCleaner#
- class ctapipe.image.ImageCleaner(**kwargs: Any)[source]#
 Bases:
TelescopeComponentAbstract class for all configurable Image Cleaning algorithms. Use
ImageCleaner.from_name()to construct an instance of a particular algorithmMethods Summary
__call__(tel_id, image[, arrival_times, ...])Identify pixels with signal, and reject those with pure noise.
Methods Documentation
- abstract __call__(tel_id: int, image: ndarray, arrival_times: ndarray | None = None, *, monitoring: CameraMonitoringContainer | None = None) ndarray[source]#
 Identify pixels with signal, and reject those with pure noise.
- Parameters:
 - tel_idint
 which telescope id in the subarray is being used (determines which cut is used)
- imagenp.ndarray
 image pixel data corresponding to the camera geometry
- arrival_timesnp.ndarray
 image of arrival time (not used in this method)
- monitoring
ctapipe.containers.CameraMonitoringContainer ctapipe.containers.CameraMonitoringContainerto make use of additional parameters from monitoring data e.g. sky pedestal std.
- Returns:
 - np.ndarray
 boolean mask of pixels passing cleaning