IFUFOREModel

class stdatamodels.jwst.datamodels.IFUFOREModel(init=None, model=None, input_units=None, output_units=None, **kwargs)

Bases: _SimpleModel

A model for a NIRSPEC reference file of type “ifufore”.

This model provides the parameters (paraxial and distortion coefficients) for the coordinate transforms from the MSA plane (in) to the plane of the IFU slicer.

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

reftype

schema_url

The schema URI to validate the model against.

Methods Summary

populate_meta()

Populate specific meta keywords.

Attributes Documentation

reftype = 'ifufore'
schema_url = 'http://stsci.edu/schemas/jwst_datamodel/ifufore.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.