RangeOutlierDetector#

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

Bases: OutlierDetector

Detect outliers based on a valid range.

The clipping interval to set the thresholds for detecting outliers corresponds to a configurable range of valid statistic values.

Attributes Summary

validity_range

Defines the range of acceptable values (lower, upper) in units of image values.

Methods Summary

__call__(column)

Detect outliers in the provided column.

Attributes Documentation

validity_range#

Defines the range of acceptable values (lower, upper) in units of image values. Values outside 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)