API

Public Step API

jwst.saturation.saturation_step Module

Set saturation flags for pixels.

Classes

SaturationStep([name, parent, config_file, ...])

Set saturation flags.

Complete Developer API

jwst.saturation.saturation Module

Functions

flag_saturation(output_model, ref_model, ...)

Call function in stcal for flagging for saturated pixels.

irs2_flag_saturation(output_model, ...[, ...])

Apply saturation flagging for NIRSpec IRS2 mode data.

adjacency_sat(flag_temp, saturated, ...)

Apply saturation flags for pixel next to saturated pixels.

jwst.saturation.x_irs2 Module

Functions

normal_shape(input_model[, n, r, detector])

Determine the shape of the 'normal' pixel data.

make_mask(input_model[, n, r])

Create a mask to extract "normal" pixels.

from_irs2(irs2_data, irs2_mask[, detector])

Extract 'normal' pixel data from an IRS2 image.

to_irs2(irs2_data, norm_data, irs2_mask[, ...])

Copy 'normal' pixel data into an IRS2 image.