FOREModel
- class stdatamodels.jwst.datamodels.FOREModel(init=None, model=None, input_units=None, output_units=None, **kwargs)
Bases:
_SimpleModel
Stores the transform from the MSA plane to the Filter Wheel.
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
on_save
([path])Modify the model.meta.reftype attribute before saving to disk.
Populate specific meta keywords.
validate
()Run additional validations beyond schema validation for these model types.
Attributes Documentation
- reftype = 'fore'
- schema_url = 'http://stsci.edu/schemas/jwst_datamodel/fore.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
- on_save(path=None)
Modify the model.meta.reftype attribute before saving to disk.
Also implicitly turns off other DataModel on_save functionality, which is not relevant for this type of model.
- Parameters:
- pathstr, optional
Not used, only here to match the signature of the parent class
- populate_meta()
Populate specific meta keywords.
Should be overwritten by subclasses if needed.
- validate()
Run additional validations beyond schema validation for these model types.