detect_outliers

jwst.outlier_detection.coron.detect_outliers(input_model, save_intermediate_results, good_bits, maskpt, snr, make_output_path)[source]

Flag outliers in coronography data.

Parameters:
input_modelCubeModel

The input cube model.

save_intermediate_resultsbool

If True, save the median model.

good_bitsint

DQ flag bit values indicating good pixels.

maskptfloat

The percentage of the mean weight to use as a threshold for masking.

snrfloat

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

make_output_pathcallable

A function that generates a path for saving intermediate results.

Returns:
CubeModel

The input model with outliers flagged.