Reference Files

The pfpc step uses a PFPC reference file.

PFPC Reference File

REFTYPE:

PFPC

The PFPC reference file contains data necessary for applying a point fixed pattern correction to dithered spectral data.

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 at Standard Required Keywords.

PFPC Reference File Format

PFPC reference files are in FITS format with one table extension with EXTNAME = 'PFPC'. The primary HDU does not contain a data array. The contents of the table vary for different instrument modes, as shown in the tables below. All tables must include wavelength and correction columns. All other columns should be FITS keywords, used for matching the correct row to the input data.

Data model:

stdatamodels.jwst.datamodels.MirMrsPFPCModel

Instrument

Mode

Column name

Data type

Dimensions

Units

MIRI

MRS

channel

string

scalar

N/A

band

string

scalar

N/A

patttype

string

scalar

N/A

dithdirc

string

scalar

N/A

dithopfr

string

scalar

N/A

mrsprchn

string

scalar

N/A

pattnum

integer

scalar

N/A

r_flat

string

scalar

N/A

r_photom

string

scalar

N/A

wavelength

float

1D vector

um

correction

float

1D vector

N/A