preprocess_flatfield: Preprocess Flat fields

Config

preprocess_flatfield.cfg

Class

ProcessFlatfieldL2

Stage 2 imaging processing applies additional instrumental corrections and calibrations that result in a fully calibrated individual exposure.

The list of steps applied by the ProcessImagerL2Pipeline pipeline is shown in the table below, currently only the background, dark_current and flat_field have been imported into iris_pipeline and customized for IRIS. The other steps still call classes from jwst and have not been tested, they are still in the class to simplify the future porting process.

image2

dark_current

normalize

Arguments

None

Inputs

2D data

Data model

IRISImageModel

The input to ProcessFlatfieldL2 is a raw exposure to be normalized in order to be used as a Flat field.

Outputs

2D normalized flat field

Data model

IRISImageModel

File suffix

_flat

Normalized flat ready to be used by the Flatfield Correction, or the image2: Stage 2 Imaging Processing pipeline or ready to be ingested into the CRDS for later usage.