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 an DrizProductModel instance, an empty DrizProductModel will be created and assigned to attribute products[0], and the data, wht, con, and relsens attributes from the input file or DrizProductModel will be copied to the first element of products.

Parameters:init (any) – Any of the initializers supported by DataModel.

Attributes Summary

schema_url

Attributes Documentation

schema_url = u'multiproduct.schema.yaml'