MedianOutlierDetector#

class ctapipe.monitoring.outlier.MedianOutlierDetector(**kwargs: Any)[source]#

Bases: OutlierDetector

Detect outliers based on the deviation from the camera median.

The clipping interval to set the thresholds for detecting outliers is computed by multiplying the configurable factors and the camera median of the statistic values.

Attributes Summary

median_range_factors

Defines the range of acceptable values (lower, upper) as fractional deviations from the mean.

Methods Summary

__call__(column)

Detect outliers in the provided column.

Attributes Documentation

median_range_factors#

Defines the range of acceptable values (lower, upper) as fractional deviations from the mean. 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)