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 anImageModel
or aSlitModel``instance, an empty ``SlitModel
will be created and assigned to attributeslits[0]
, and thedata
,dq
,err
,var_rnoise
,var_poisson``and ``relsens
attributes from the input file or model will be copied to the first element ofslits
.Parameters: init (any) – Any of the initializers supported by DataModel
.Attributes Summary
schema_url
Attributes Documentation
-
schema_url
= 'multislit.schema.yaml'¶
-