flag_model_crs

jwst.outlier_detection.utils.flag_model_crs(image, blot, snr, median_err=None)[source]

Flag outliers in a model.

Parameters:
imageJwstDataModel

The input datamodel.

blotndarray

The blotted data array.

snrfloat

The signal-to-noise ratio threshold for flagging outliers.

median_errndarray, optional

The error array corresponding to the median data. If not provided, the error array stored the input model err extension will be used.