MultiProductModel¶
-
class
jwst.datamodels.MultiProductModel(init=None, **kwargs)[source]¶ Bases:
jwst.datamodels.DataModelA data model for multi-DrizProduct images.
This model has a special member
productsthat can be used to deal with each DrizProduct at a time. It behaves like a list:>>> multiprod_model.products.append(image_model) >>> multislit_model.products[0] <DrizProductModel>
If
initis a file name or anDrizProductModelinstance, an emptyDrizProductModelwill be created and assigned to attributeproducts[0], and thedata,wht,con, andrelsensattributes from the input file orDrizProductModelwill be copied to the first element ofproducts.Parameters: init (any) – Any of the initializers supported by DataModel.Attributes Summary
schema_urlAttributes Documentation
-
schema_url= 'multiproduct.schema.yaml'¶
-