Data Models
jwst.datamodels Package
Datamodels for JWST pipeline.
Functions
|
Create a DataModel from a number of different types. |
|
Load a metadata tree from a file without loading the entire datamodel into memory. |
Classes
|
Base class for JWST data models. |
|
A data model containing offsets to convert from AB to Vega magnitudes. |
|
A data model for AMI LG analysis results. |
|
A data model for AMI LG analysis results. |
|
Class containing AMI interferometric observables. |
|
A data model for Non-Redundant Mask. |
|
A data model for FGS imaging apcorr reference files. |
|
A data model for MIRI imaging apcorr reference files. |
|
A data model for NIRCam imaging apcorr reference files. |
|
A data model for NIRISS imaging apcorr reference files. |
|
A data model for MIRI LRS apcorr reference files. |
|
A data model for MIRI MRS apcorr reference files. |
|
A data model for NIRCam WFSS apcorr reference files. |
|
A data model for NIRISS WFSS apcorr reference files. |
|
A data model for NIRSpec MOS apcorr reference files. |
|
A data model for NIRSpec Fixed-Slit apcorr reference files. |
|
A data model for NIRSpec IFU apcorr reference files. |
|
A data model for association tables. |
|
A data model for Bar Shadow correction information. |
|
Stores the transforms from the NIRSpec camera to the GWA. |
|
Stores the transform through the NIRSpec collimator. |
|
A data model for combined 1D spectra. |
|
A data model for coronagraphic contrast curve files. |
|
A data model for 3D image cubes. |
|
A data model for dark reference files. |
|
A data model for dark MIRI reference files. |
|
A model for a NIRSPEC reference file of type "disperser". |
|
A model for a reference file of type "distortion". |
|
A model for a reference file of type "distortion" for the MIRI MRS. |
|
A data model to correct MIRI images for EMI contamination. |
|
A data model for IFU MIRI and NIRSpec extract 1d reference files. |
|
A model for filter-dependent boresight offsets. |
|
A data model for 2D flat-field images. |
|
A data model for NIRSpec flat-field reference files. |
|
A data model for NIRSpec flat-field files that differ by quadrant. |
|
Stores the transform from the MSA plane to the Filter Wheel. |
|
A model for a NIRSPEC reference file of type "fpa". |
|
A data model for 2D fringe correction images. |
|
A data model for 2D fringe correction images. |
|
A data model for 2D gain. |
|
A data model for Guide Star pipeline raw data files. |
|
A data model for Guide Star pipeline calibrated files. |
|
A data model for 3D IFU cubes. |
|
A data model for Nirspec ifucubepars reference files. |
|
A data model for MIRI mrs ifucubepars reference files. |
|
A data model for MIRI mrs IFU across-slice corrections file. |
|
A data model for MIRI MRS cross-artifact corrections file. |
|
A model for a NIRSPEC reference file of type "ifufore". |
|
A data model for 2D IFU images. |
|
A model for a NIRSPEC reference file of type "ifupost". |
|
A model for a NIRSPEC reference file of type "ifuslicer". |
|
A data model for 2D images. |
|
A data model for IPC kernel checking information. |
|
A data model for the IRS2 refpix reference file. |
|
A data model for Last frame correction reference files. |
|
A data model for raw 4D ramps level-1b products. |
|
A data model for linearity correction information. |
|
A data model for 2D masks. |
|
A model for a reference file of type "specwcs" for MIRI LRS Slit. |
|
A model for a NIRSPEC reference file of type "msa". |
|
A data model for multi-spec images. |
|
A data model for multi-slit images derived from numerous exposures. |
|
A data model for multi-slit images. |
|
A data model for multi-spec images. |
|
A data model for MIRI MRS multi-spec images. |
|
A model for a reference file of type "specwcs" for NIRCAM WFSS. |
|
A model for a reference file of type "specwcs" for NIRISS grisms. |
|
Stores the transform from the Filter Wheel to the Optical Telescope Element. |
|
A data model for the optional output from outlier_detection_ifu step. |
|
A data model for pathloss correction information. |
|
A data model for MIRI LRS pathloss correction information. |
|
A data model for the persistence saturation value (full well). |
|
A data model for the pixel area map. |
|
A data model for the NIRSpec fixed-slit pixel area reference file. |
|
A data model for the NIRSpec MOS pixel area reference file. |
|
A data model for the NIRSpec IFU pixel area reference file. |
|
A data model for FGS photom reference files. |
|
A data model for MIRI imaging photom reference files. |
|
A data model for MIRI LRS photom reference files. |
|
A data model for MIRI MRS photom reference files. |
|
A data model for NIRCam imaging photom reference files. |
|
A data model for NIRCam WFSS photom reference files. |
|
A data model for NIRISS imaging photom reference files. |
|
A data model for NIRISS SOSS photom reference files. |
|
A data model for NIRISS WFSS photom reference files. |
|
A data model for NIRSpec Fixed-Slit photom reference files. |
|
A data model for NIRSpec MOS and IFU photom reference files. |
|
A data model to hold NIRISS SOSS wavelength grids. |
|
A data model for coronagraphic 2D PSF mask reference files. |
|
A data model for 4D image arrays. |
|
A data model for 4D ramps. |
|
A data model for the optional output of the ramp fitting step. |
|
A data model for 2D readnoise. |
|
A data model for reference tables. |
|
A data model for 3D reference images. |
|
A data model for 2D reference images. |
|
A data model for 4D reference images. |
|
A model for a reference file of type "regions". |
|
A data model for reset correction reference files. |
|
A data model for Spectral Resolution parameters reference tables. |
|
A data model for MIRI Resolution reference files. |
|
A data model for the RSCD reference file. |
|
A data model for saturation checking information. |
|
A data model for the NIR Optimized Convolution Kernel Fourier Coefficients. |
|
A data model for 2D slit images. |
|
A data model for 2D images. |
|
A data model for 1D spectra. |
|
A data model for MIRI MRS 1D spectra with residual fringe corrections. |
|
A data model for 2D segmentation maps. |
|
A data model to hold NIRISS SOSS extraction model arrays. |
|
A data model to hold NIRISS SOSS wavelength grids. |
|
A data model for 2D spectral kernels. |
|
A data model for NIRISS SOSS spectral profile reference files. |
|
A data model for NIRISS SOSS spectral profile data. |
|
A data model for NIRISS SOSS spectral trace reference files. |
|
A data model for NIRISS SOSS spectral trace data. |
|
A data model for spectral PSF reference data. |
|
A model for a reference file of type "specwcs". |
|
A data model for 2D straylight mask. |
|
A data model for 2D super-bias images. |
|
A data model for filter throughput. |
|
A data model for the trap density of a detector, for persistence. |
|
A data model for trap capture and decay parameters. |
|
A data model for the number of traps filled for a detector, for persistence. |
|
A model for a reference file of type "tsophot". |
|
A model for a reference file of type "wavelengthrange". |
|
Wavelength zero-point correction for the position of a point source in a NIRSpec slit. |
|
A data model for NIRISS SOSS wavelength map reference files. |
|
A data model for NIRISS SOSS wavelength map data. |
|
A data model for 2D WFSS master background reference files. |
Class Inheritance Diagram

jwst.datamodels.dqflags Module
JWST Data Quality Flags.
The definitions are documented in the JWST RTD:
The flags are implemented as “bit flags”: Each flag is assigned a bit position in a byte, or multi-byte word, of memory. If that bit is set, the flag assigned to that bit is interpreted as being set or active.
The data structure that stores bit flags is just the standard Python int, which provides 32 bits. Bits of an integer are most easily referred to using the formula 2**bit_number where bit_number is the 0-index bit of interest.
Functions
|
Converts input bit flags to a single integer value (bit mask) or None. |
|
Convert input bit flags to a single integer value (bit mask) or None. |
|
Interpret value as bit flags and return the mnemonics. |
|
Single-pass replacement of multiple substrings. |