class jwst.datamodels.NirspecFlatModel(init=None, data=None, dq=None, err=None, wavelength=None, flat_table=None, dq_def=None, **kwargs)[source]

Bases: jwst.datamodels.NRSFlatModel

A data model for NIRSpec flat-field reference files.

  • init (any) – Any of the initializers supported by DataModel.
  • data (numpy array) – The science data. 2-D or 3-D.
  • dq (numpy array) – The data quality array. 2-D or 3-D.
  • err (numpy array) – The error array. 2-D or 3-D.
  • wavelength (numpy array) – The wavelength for each plane of the data array. This will only be needed if data is 3-D.
  • flat_table (numpy array) – A table of wavelengths and flat-field values, to specify the component of the flat field that can vary over a relatively short distance (can be pixel-to-pixel).

Attributes Summary


Attributes Documentation

schema_url = u'nirspec_flat.schema.yaml'