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]
<ImageModel>

If init is a file name or an ImageModel instance, an empty ImageModel will be created and assigned to attribute slits[0], and the data, dq, err, and relsens attributes from the input file or ImageModel 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'