MultiProductModel¶
-
class
jwst.datamodels.
MultiProductModel
(init=None, **kwargs)[source]¶ Bases:
jwst.datamodels.DataModel
A data model for multi-DrizProduct images.
This model has a special member
products
that 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
init
is a file name or anDrizProductModel
instance, an emptyDrizProductModel
will be created and assigned to attributeproducts[0]
, and thedata
,wht
,con
, andrelsens
attributes from the input file orDrizProductModel
will be copied to the first element ofproducts
.Parameters: init (any) – Any of the initializers supported by DataModel
.Attributes Summary
schema_url
Attributes Documentation
-
schema_url
= 'multiproduct.schema.yaml'¶
-