MultiSlitModel

class jwst.datamodels.MultiSlitModel(init=None, **kwargs)[source]

Bases: jwst.datamodels.DataModel

A data model for multi-slit images.

This model has a special member slits that can be used to deal with an entire slit at a time. It behaves like a list:

>>> multislit_model.slits.append(image_model)
>>> multislit_model.slits[0]
>>> multislit[0]
<SlitModel>

If init is a file name or an ImageModel or a SlitModel``instance, an empty ``SlitModel will be created and assigned to attribute slits[0], and the data, dq, err, var_rnoise, var_poisson``and ``relsens attributes from the input file or model will be copied to the first element of slits.

Parameters:init (any) – Any of the initializers supported by DataModel.

Attributes Summary

schema_url

Attributes Documentation

schema_url = 'multislit.schema.yaml'