CollimatorModel
- class stdatamodels.jwst.datamodels.CollimatorModel(init=None, model=None, input_units=None, output_units=None, **kwargs)
Bases:
_SimpleModel
Stores the transform through the NIRSpec collimator.
Initialize the model.
- Parameters:
- initstr, None, optional
The data from which to initialize the model. Can be of any type that is supported by DataModel.
- modelastropy.modeling.core.Model or list[Model], optional
The transform as an astropy Model
- input_unitsstr or ~astropy.units.NamedUnit, optional
The units of the input
- output_unitsstr or ~astropy.units.NamedUnit, optional
The units of the output
Attributes Summary
The schema URI to validate the model against.
Methods Summary
Populate specific meta keywords.
Attributes Documentation
- reftype = 'collimator'
- schema_url = 'http://stsci.edu/schemas/jwst_datamodel/collimator.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()
Populate specific meta keywords.
Should be overwritten by subclasses if needed.