ImageCleaner¶
-
class
ctapipe.image.
ImageCleaner
(**kwargs: Any)[source]¶ Bases:
ctapipe.core.component.TelescopeComponent
Abstract 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: numpy.ndarray, arrival_times: Optional[numpy.ndarray] = None) → numpy.ndarray[source]¶ Identify pixels with signal, and reject those with pure noise.
- Parameters
- tel_id: int
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_times: np.ndarray
image of arrival time (not used in this method)
- Returns
- np.ndarray
boolean mask of pixels passing cleaning
-
abstract