calwebb_dark: Dark Processing

Config

calwebb_dark.cfg

Class

DarkPipeline

The DarkPipeline applies basic detector-level corrections to all dark exposures. It is identical to the calwebb_detector1 pipeline, except that it stops processing immediately before the dark_current step. The list of steps is shown below. As with the calwebb_detector1 pipeline, the order of steps is a bit different for MIRI exposures.

Near-IR

MIRI

group_scale

group_scale

dq_init

dq_init

saturation

saturation

ipc 1

ipc

superbias

firstframe

refpix

lastframe

linearity

linearity

rscd

1

The ipc step is currently set to be skipped by default in the “calwebb_dark.cfg” configuration file for all instruments.

Arguments

The calwebb_dark pipeline has no optional arguments.

Inputs

4D raw data

Data model

RampModel

File suffix

_uncal

The input to DarkPipeline is a single raw dark exposure, which contains the original raw data from all of the detector readouts in the exposure (ncols x nrows x ngroups x nintegrations).

Outputs

4D corrected ramp

Data model

RampModel

File suffix

_dark

Result of applying all pipeline steps listed above. Will have the same data dimensions as the input raw 4D data (ncols x nints x ngroups x nints).