flag_crs_in_models

jwst.outlier_detection.utils.flag_crs_in_models(input_models, median_data, snr1, median_err=None)[source]

Flag outliers in all input models without resampling.

Parameters:
input_modelsModelContainer

The input datamodels.

median_datandarray

The median data array.

snr1float

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.