check_outlier_mask#

lstcam_calib.pixel.utils.check_outlier_mask(outliers, log, kind, n_pixels_threshold=50)#

Check a outlier mask for too many True values.

Parameters:
outliersnp.ndarray

Array of shape (n_events, n_pixels) and dtype bool.

loglogging.Logger

Warnings are given to this logger

kindstr

Should be “pedestal” or “flatfield”

n_pixels_thresholdint

A warning is raised if more than this number of pixels are outliers