Data Models

jwst.datamodels Package

Functions

open([init, memmap])

Creates a DataModel from a number of different types

DrizProductModel(*args, **kwargs)

MultiProductModel(*args, **kwargs)

MIRIRampModel(*args, **kwargs)

Classes

DataModel([init, schema, memmap, …])

Base class of all of the data models.

ABVegaOffsetModel([init])

A data model containing offsets to convert from AB to Vega magnitudes.

AmiLgModel([init, schema, memmap, …])

A data model for AMI LG analysis results.

FgsImgApcorrModel([init])

A data model for FGS imaging apcorr reference files.

MirImgApcorrModel([init])

A data model for MIRI imaging apcorr reference files.

NrcImgApcorrModel([init])

A data model for NIRCam imaging apcorr reference files.

NisImgApcorrModel([init])

A data model for NIRISS imaging apcorr reference files.

MirLrsApcorrModel([init])

A data model for MIRI LRS apcorr reference files.

MirMrsApcorrModel([init])

A data model for MIRI MRS apcorr reference files.

NrcWfssApcorrModel([init])

A data model for NIRCam WFSS apcorr reference files.

NisWfssApcorrModel([init])

A data model for NIRISS WFSS apcorr reference files.

NrsMosApcorrModel([init])

A data model for NIRSpec MOS and IFU apcorr reference files.

NrsFsApcorrModel([init])

A data model for NIRSpec Fixed-Slit apcorr reference files.

AsnModel([init])

A data model for association tables.

BarshadowModel([init])

A data model for Bar Shadow correction information.

CameraModel([init, model, input_units, …])

A model for a reference file of type “camera”.

CollimatorModel([init, model, input_units, …])

A model for a reference file of type “collimator”.

CombinedSpecModel([init, schema, memmap, …])

A data model for combined 1D spectra.

ContrastModel([init, schema, memmap, …])

A data model for coronagraphic contrast curve files.

CubeModel([init])

A data model for 3D image cubes.

DarkModel([init])

A data model for dark reference files.

DarkMIRIModel([init])

A data model for dark MIRI reference files.

DisperserModel([init, angle, gwa_tiltx, …])

A model for a NIRSPEC reference file of type “disperser”.

DistortionModel([init, model, input_units, …])

A model for a reference file of type “distortion”.

DistortionMRSModel([init, x_model, y_model, …])

A model for a reference file of type “distortion” for the MIRI MRS.

DrizParsModel([init])

A data model for drizzle parameters reference tables.

Extract1dImageModel([init, schema, memmap, …])

A data model for the extract_1d reference image array.

FilteroffsetModel([init, filters, instrument])

A model for a NIRSPEC reference file of type “disperser”.

FlatModel([init])

A data model for 2D flat-field images.

NirspecFlatModel([init])

A data model for NIRSpec flat-field reference files.

NirspecQuadFlatModel([init])

A data model for NIRSpec flat-field files that differ by quadrant.

FOREModel([init, model, input_units, …])

A model for a reference file of type “fore”.

FPAModel([init, nrs1_model, nrs2_model])

A model for a NIRSPEC reference file of type “fpa”.

FringeModel([init])

A data model for 2D fringe correction images.

GainModel([init])

A data model for 2D gain.

GLS_RampFitModel([init, schema, memmap, …])

A data model for the optional output of the ramp fitting step for the GLS algorithm.

GuiderRawModel([init])

A data model for Guide Star pipeline raw data files

GuiderCalModel([init])

A data model for Guide Star pipeline calibrated files

IFUCubeModel([init])

A data model for 3D IFU cubes.

NirspecIFUCubeParsModel([init])

A data model for Nirspec ifucubepars reference files.

MiriIFUCubeParsModel([init])

A data model for MIRI mrs ifucubepars reference files.

IFUFOREModel([init, model, input_units, …])

A model for a NIRSPEC reference file of type “ifufore”.

IFUImageModel([init])

A data model for 2D IFU images.

IFUPostModel([init, slice_models])

A model for a NIRSPEC reference file of type “ifupost”.

IFUSlicerModel([init, model, data])

A model for a NIRSPEC reference file of type “ifuslicer”.

ImageModel([init])

A data model for 2D images.

IPCModel([init])

A data model for IPC kernel checking information.

IRS2Model([init, schema, memmap, …])

A data model for the IRS2 refpix reference file.

LastFrameModel([init])

A data model for Last frame correction reference files.

Level1bModel([init])

A data model for raw 4D ramps level-1b products.

LinearityModel([init])

A data model for linearity correction information.

MaskModel([init])

A data model for 2D masks.

ModelContainer([init, asn_exptypes, …])

A container for holding DataModels.

MSAModel([init, models, data])

A model for a NIRSPEC reference file of type “msa”.

MultiExposureModel([init])

A data model for multi-slit images derived from numerous exposures.

MultiExtract1dImageModel([init])

A data model for extract_1d reference images.

MultiSlitModel([init])

A data model for multi-slit images.

MultiSpecModel([init])

A data model for multi-spec images.

OTEModel([init, model, input_units, …])

A model for a reference file of type “ote”.

NIRCAMGrismModel([init, displ, dispx, …])

A model for a reference file of type “specwcs” for NIRCAM WFSS.

NIRISSGrismModel([init, displ, dispx, …])

A model for a reference file of type “specwcs” for NIRISS grisms.

OutlierParsModel([init])

A data model for outlier detection parameters reference tables.

PathlossModel([init])

A data model for pathloss correction information.

PersistenceSatModel([init])

A data model for the persistence saturation value (full well).

PixelAreaModel([init])

A data model for the pixel area map

NirspecSlitAreaModel([init])

A data model for the NIRSpec fixed-slit pixel area reference file

NirspecMosAreaModel([init])

A data model for the NIRSpec MOS pixel area reference file

NirspecIfuAreaModel([init])

A data model for the NIRSpec IFU pixel area reference file

FgsImgPhotomModel([init])

A data model for FGS photom reference files.

MirImgPhotomModel([init])

A data model for MIRI imaging photom reference files.

MirLrsPhotomModel([init])

A data model for MIRI LRS photom reference files.

MirMrsPhotomModel([init])

A data model for MIRI MRS photom reference files.

NrcImgPhotomModel([init])

A data model for NIRCam imaging photom reference files.

NrcWfssPhotomModel([init])

A data model for NIRCam WFSS photom reference files.

NisImgPhotomModel([init])

A data model for NIRISS imaging photom reference files.

NisSossPhotomModel([init])

A data model for NIRISS SOSS photom reference files.

NisWfssPhotomModel([init])

A data model for NIRISS WFSS photom reference files.

NrsFsPhotomModel([init])

A data model for NIRSpec Fixed-Slit photom reference files.

NrsMosPhotomModel([init])

A data model for NIRSpec MOS and IFU photom reference files.

PsfMaskModel([init])

A data model for coronagraphic 2D PSF mask reference files

QuadModel([init])

A data model for 4D image arrays.

RampModel([init])

A data model for 4D ramps.

RampFitOutputModel([init, schema, memmap, …])

A data model for the optional output of the ramp fitting step.

ReadnoiseModel([init])

A data model for 2D readnoise.

ReferenceFileModel([init])

A data model for reference tables

ReferenceCubeModel([init])

A data model for 3D reference images

ReferenceImageModel([init])

A data model for 2D reference images.

ReferenceQuadModel([init])

A data model for 4D reference images

RegionsModel([init, regions])

A model for a reference file of type “regions”.

ResetModel([init])

A data model for reset correction reference files.

ResolutionModel([init])

A data model for Spectral Resolution parameters reference tables.

MiriResolutionModel([init])

A data model for MIRI Resolution reference files.

RSCDModel([init])

A data model for the RSCD reference file.

SaturationModel([init])

A data model for saturation checking information.

SlitDataModel([init])

A data model for 2D images.

SlitModel([init])

A data model for 2D images.

SpecModel([init, schema, memmap, …])

A data model for 1D spectra.

SourceModelContainer([init])

A container to make MultiExposureModel look like ModelContainer

StepParsModel([init])

A data model for Step parameters.

StrayLightModel([init])

A data model for 2D straylight mask.

SuperBiasModel([init])

A data model for 2D super-bias images.

SpecwcsModel([init, model, input_units, …])

A model for a reference file of type “specwcs”.

ThroughputModel([init])

A data model for filter throughput.

TrapDensityModel([init])

A data model for the trap density of a detector, for persistence.

TrapParsModel([init])

A data model for trap capture and decay parameters.

TrapsFilledModel([init, schema, memmap, …])

A data model for the number of traps filled for a detector, for persistence.

TsoPhotModel([init, radii])

A model for a reference file of type “tsophot”.

WavelengthrangeModel([init, …])

A model for a reference file of type “wavelengthrange”.

WaveCorrModel([init, apertures])

param init

WfssBkgModel([init])

A data model for 2D WFSS master background reference files.

Class Inheritance Diagram

Inheritance diagram of jwst.datamodels.model_base.DataModel, jwst.datamodels.abvega_offset.ABVegaOffsetModel, jwst.datamodels.amilg.AmiLgModel, jwst.datamodels.apcorr.FgsImgApcorrModel, jwst.datamodels.apcorr.MirImgApcorrModel, jwst.datamodels.apcorr.NrcImgApcorrModel, jwst.datamodels.apcorr.NisImgApcorrModel, jwst.datamodels.apcorr.MirLrsApcorrModel, jwst.datamodels.apcorr.MirMrsApcorrModel, jwst.datamodels.apcorr.NrcWfssApcorrModel, jwst.datamodels.apcorr.NisWfssApcorrModel, jwst.datamodels.apcorr.NrsMosApcorrModel, jwst.datamodels.apcorr.NrsFsApcorrModel, jwst.datamodels.asn.AsnModel, jwst.datamodels.barshadow.BarshadowModel, jwst.datamodels.wcs_ref_models.CameraModel, jwst.datamodels.wcs_ref_models.CollimatorModel, jwst.datamodels.combinedspec.CombinedSpecModel, jwst.datamodels.contrast.ContrastModel, jwst.datamodels.cube.CubeModel, jwst.datamodels.dark.DarkModel, jwst.datamodels.darkMIRI.DarkMIRIModel, jwst.datamodels.wcs_ref_models.DisperserModel, jwst.datamodels.wcs_ref_models.DistortionModel, jwst.datamodels.wcs_ref_models.DistortionMRSModel, jwst.datamodels.drizpars.DrizParsModel, jwst.datamodels.extract1dimage.Extract1dImageModel, jwst.datamodels.wcs_ref_models.FilteroffsetModel, jwst.datamodels.flat.FlatModel, jwst.datamodels.nirspec_flat.NirspecFlatModel, jwst.datamodels.nirspec_flat.NirspecQuadFlatModel, jwst.datamodels.wcs_ref_models.FOREModel, jwst.datamodels.wcs_ref_models.FPAModel, jwst.datamodels.fringe.FringeModel, jwst.datamodels.gain.GainModel, jwst.datamodels.gls_rampfit.GLS_RampFitModel, jwst.datamodels.guider.GuiderRawModel, jwst.datamodels.guider.GuiderCalModel, jwst.datamodels.ifucube.IFUCubeModel, jwst.datamodels.ifucubepars.NirspecIFUCubeParsModel, jwst.datamodels.ifucubepars.MiriIFUCubeParsModel, jwst.datamodels.wcs_ref_models.IFUFOREModel, jwst.datamodels.ifuimage.IFUImageModel, jwst.datamodels.wcs_ref_models.IFUPostModel, jwst.datamodels.wcs_ref_models.IFUSlicerModel, jwst.datamodels.image.ImageModel, jwst.datamodels.ipc.IPCModel, jwst.datamodels.irs2.IRS2Model, jwst.datamodels.lastframe.LastFrameModel, jwst.datamodels.level1b.Level1bModel, jwst.datamodels.linearity.LinearityModel, jwst.datamodels.mask.MaskModel, jwst.datamodels.container.ModelContainer, jwst.datamodels.wcs_ref_models.MSAModel, jwst.datamodels.multiexposure.MultiExposureModel, jwst.datamodels.multiextract1d.MultiExtract1dImageModel, jwst.datamodels.multislit.MultiSlitModel, jwst.datamodels.multispec.MultiSpecModel, jwst.datamodels.wcs_ref_models.OTEModel, jwst.datamodels.wcs_ref_models.NIRCAMGrismModel, jwst.datamodels.wcs_ref_models.NIRISSGrismModel, jwst.datamodels.outlierpars.OutlierParsModel, jwst.datamodels.pathloss.PathlossModel, jwst.datamodels.persat.PersistenceSatModel, jwst.datamodels.pixelarea.PixelAreaModel, jwst.datamodels.pixelarea.NirspecSlitAreaModel, jwst.datamodels.pixelarea.NirspecMosAreaModel, jwst.datamodels.pixelarea.NirspecIfuAreaModel, jwst.datamodels.photom.FgsImgPhotomModel, jwst.datamodels.photom.MirImgPhotomModel, jwst.datamodels.photom.MirLrsPhotomModel, jwst.datamodels.photom.MirMrsPhotomModel, jwst.datamodels.photom.NrcImgPhotomModel, jwst.datamodels.photom.NrcWfssPhotomModel, jwst.datamodels.photom.NisImgPhotomModel, jwst.datamodels.photom.NisSossPhotomModel, jwst.datamodels.photom.NisWfssPhotomModel, jwst.datamodels.photom.NrsFsPhotomModel, jwst.datamodels.photom.NrsMosPhotomModel, jwst.datamodels.psfmask.PsfMaskModel, jwst.datamodels.quad.QuadModel, jwst.datamodels.ramp.RampModel, jwst.datamodels.rampfitoutput.RampFitOutputModel, jwst.datamodels.readnoise.ReadnoiseModel, jwst.datamodels.reference.ReferenceFileModel, jwst.datamodels.reference.ReferenceCubeModel, jwst.datamodels.reference.ReferenceImageModel, jwst.datamodels.reference.ReferenceQuadModel, jwst.datamodels.wcs_ref_models.RegionsModel, jwst.datamodels.reset.ResetModel, jwst.datamodels.resolution.ResolutionModel, jwst.datamodels.resolution.MiriResolutionModel, jwst.datamodels.rscd.RSCDModel, jwst.datamodels.saturation.SaturationModel, jwst.datamodels.slit.SlitDataModel, jwst.datamodels.slit.SlitModel, jwst.datamodels.spec.SpecModel, jwst.datamodels.source_container.SourceModelContainer, jwst.datamodels.steppars.StepParsModel, jwst.datamodels.straylight.StrayLightModel, jwst.datamodels.superbias.SuperBiasModel, jwst.datamodels.wcs_ref_models.SpecwcsModel, jwst.datamodels.throughput.ThroughputModel, jwst.datamodels.trapdensity.TrapDensityModel, jwst.datamodels.trappars.TrapParsModel, jwst.datamodels.trapsfilled.TrapsFilledModel, jwst.datamodels.tsophot.TsoPhotModel, jwst.datamodels.wcs_ref_models.WavelengthrangeModel, jwst.datamodels.wcs_ref_models.WaveCorrModel, jwst.datamodels.wfssbkg.WfssBkgModel