StdOutlierDetector#
- class ctapipe.monitoring.StdOutlierDetector(**kwargs: Any)[source]#
Bases:
OutlierDetector
Detect outliers based on the deviation from the camera standard deviation.
The clipping interval to set the thresholds for detecting outliers is computed by multiplying the configurable factors and the camera standard deviation of the statistic values.
Attributes Summary
Defines the range of acceptable values (lower, upper) in units of standard deviations.
Methods Summary
__call__
(column)Detect outliers in the provided column.
Attributes Documentation
- std_range_factors#
Defines the range of acceptable values (lower, upper) in units of standard deviations. Values outside of this range will be flagged as outliers.
Methods Documentation
- __call__(column)[source]#
Detect outliers in the provided column.
This function should be implemented by subclasses to define the specific outlier detection approach. The function examines the statistics in the given column of the table and returns a boolean mask indicating which entries are considered as outliers.
- Parameters:
- columnastropy.table.Column
column with chunk-wise aggregated statistic values (mean, median, or std) of shape (n_entries, n_channels, n_pixels)
- Returns:
- boolean mask
mask of outliers of shape (n_entries, n_channels, n_pixels)