MiriLRSSpecwcsModel
- class stdatamodels.jwst.datamodels.MiriLRSSpecwcsModel(init=None, wavetable=None, x_ref=None, y_ref=None, x_ref_slitless=None, y_ref_slitless=None, v2_vert1=None, v2_vert2=None, v2_vert3=None, v2_vert4=None, v3_vert1=None, v3_vert2=None, v3_vert3=None, v3_vert4=None, **kwargs)
Bases:
ReferenceFileModelA model for a reference file of type “specwcs” for MIRI LRS Slit.
The model is for the specwcs for LRS Fixed Slit and LRS Slitless data.
Initialize the model.
- Parameters:
- initstr, None, optional
File name for input file in ASDF format from which to initialize the model.
- wavetablenumpy 2-D array
For each row in the slit hold wavelength, and x center, ycenter, x and y box region corresponding to the wavelength
- x_reffloat
X-coordinate of reference position of fixed slit aperture
- y_reffloat
Y-coordinate of reference position of fixed slit aperture
- x_ref_slitlessfloat
X-coordinate of reference position of slitless aperture
- y_ref_slitlessfloat
Y-coordinate of reference position of slitless aperture
- v2_vert1float
Slit vertex 1 in V2 frame
- v2_vert2float
Slit vertex 2 in V2 frame
- v2_vert3float
Slit vertex 3 in V2 frame
- v2_vert4float
Slit vertex 4 in V2 frames
- v3_vert1float
Slit vertex 1 in V3 frames
- v3_vert2float
Slit vertex 2 in V3 frames
- v3_vert3float
Slit vertex 3 in V3 frames
- v3_vert4float
Slit vertex 4 in V3 frames
- **kwargs
Additional keyword arguments to pass to ReferenceFileModel.
Attributes Summary
The schema URI to validate the model against.
Methods Summary
validate()Check that required reference file keywords are set.
Attributes Documentation
- reftype = 'specwcs'
- schema_url = 'http://stsci.edu/schemas/jwst_datamodel/specwcs_miri_lrs.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()
- validate()
Check that required reference file keywords are set.