MiriWFSSSpecwcsModel
- class stdatamodels.jwst.datamodels.MiriWFSSSpecwcsModel(init=None, displ=None, dispx=None, dispy=None, invdispl=None, orders=None, **kwargs)
Bases:
ReferenceFileModelA model for a reference file of type “specwcs” for MIRI WFSS.
Initialize the model.
- Parameters:
- initstr, None, optional
File name for input file in ASDF format from which to initialize the model.
- displlist of ~astropy.modeling.Model
MIRI WFSS wavelength dispersion model
- dispxlist of tuples containing 2D ~astropy.modeling.Model
MIRI WFSS row dispersion model
- dispylist of tuples containing 2D ~astropy.modeling.Model
MIRI WFSS column dispersion model
- invdispllist of ~astropy.modeling.Model
MIRI WFSS inverse wavelength dispersion model
- orderslist of int
MIRI WFSS orders, matched to the array locations of the dispersion models
- **kwargs
Additional keyword arguments to pass to ReferenceFileModel
Attributes Summary
The schema URI to validate the model against.
Methods Summary
to_fits()Write a data model to a FITS file.
validate()Check that required reference file keywords are set.
Attributes Documentation
- reftype = 'specwcs'
- schema_url = 'http://stsci.edu/schemas/jwst_datamodel/specwcs_miri_wfss.schema'
The schema URI to validate the model against. If None, only basic validation of required metadata properties (filename, model_type) will occur.
Methods Documentation
- populate_meta()
- to_fits()
Write a data model to a FITS file.
- Parameters:
- initfile path or file object
The file to write to.
- *args
Additional positional arguments passed to astropy.io.fits.writeto.
- **kwargs
Additional keyword arguments passed to astropy.io.fits.writeto.
- validate()
Check that required reference file keywords are set.