MultiSlitModel¶
-
class
jwst.datamodels.MultiSlitModel(init=None, **kwargs)[source]¶ Bases:
jwst.datamodels.DataModelA data model for multi-slit images.
This model has a special member
slitsthat 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
initis a file name or anImageModelor aSlitModel``instance, an empty ``SlitModelwill be created and assigned to attributeslits[0], and thedata,dq,err,var_rnoise,var_poisson``and ``relsensattributes 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_urlAttributes Documentation
-
schema_url= 'multislit.schema.yaml'¶
-