API

Public Step API

jwst.background.background_step Module

Subtraction of background signal depending on the observing mode.

Classes

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

Subtract background exposures from target exposures.

Complete Developer API

jwst.background.background_sub Module

Functions

background_sub(input_model, bkg_list, sigma, ...)

Subtract background signal from an exposure.

average_background(input_model, bkg_list, ...)

Average multiple background exposures into a combined data model.

Classes

ImageSubsetArray(model)

Keep track of where different images relate to each other.

jwst.background.background_sub_soss Module

Subtract a template background reference file from NIRISS SOSS data.

Functions

find_discontinuity(image)

Determine the location of a discontinuity in the background levels.

generate_background_masks(background, ...)

Generate background masks for the two distinct background regions.

subtract_soss_bkg(input_model, bkg_name, ...)

Subtract a scaled template reference background from input SOSS data.

jwst.background.background_sub_wfss Module

Functions

subtract_wfss_bkg(model, bkg_filename, ...)

Scale and subtract a background reference image from WFSS/GRISM data.

Classes

ScalingFactorComputer([p, maxiter, ...])

Handle computation of scaling factor.