DistortionModel
- class stdatamodels.jwst.datamodels.DistortionModel(init=None, model=None, input_units=None, output_units=None, **kwargs)
Bases:
_SimpleModel
A model for a reference file of type “distortion”.
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
validate
()Run additional validations beyond schema validation for these model types.
Attributes Documentation
- reftype = 'distortion'
- schema_url = 'http://stsci.edu/schemas/jwst_datamodel/distortion.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
- validate()
Run additional validations beyond schema validation for these model types.