calwebb_dark: Dark Processing

Class

jwst.pipeline.DarkPipeline

Alias

calwebb_dark

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

reset

linearity

rscd

1

By default, the parameter reference pars-darkpipeline retrieved from CRDS will skip the ipc step.

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).

PARS-DARKPIPELINE Reference File

REFTYPE

PARS-DARKPIPELINE

Data model

N/A

Reference Selection Keywords

CRDS selects appropriate pars-whitelightstep references based on the following keywords.

Instrument

Keywords

FGS

INSTRUME

MIRI

INSTRUME

NIRCAM

INSTRUME

NIRISS

INSTRUME

NIRSPEC

INSTRUME

Standard Keywords

The following table lists the keywords that are required to be present in all reference files. The first column gives the FITS keyword names. The second column gives the jwst data model name for each keyword, which is useful when using data models in creating and populating a new reference file. The third column gives the equivalent meta tag in ASDF reference file headers, which is the same as the name within the data model meta tree (second column).

FITS Keyword

Data Model Name

ASDF meta tag

AUTHOR

model.meta.author

author

DATAMODL

model.meta.model_type

model_type

DATE

model.meta.date

date

DESCRIP

model.meta.description

description

FILENAME

model.meta.filename

N/A

INSTRUME

model.meta.instrument.name

instrument: {name}

PEDIGREE

model.meta.pedigree

pedigree

REFTYPE

model.meta.reftype

reftype

TELESCOP

model.meta.telescope

telescope

USEAFTER

model.meta.useafter

useafter

NOTE: More information on standard required keywords can be found here: Standard Required Keywords