MultiExtract1dImageModel¶
-
class
jwst.datamodels.MultiExtract1dImageModel(init=None, **kwargs)[source]¶ Bases:
jwst.datamodels.ReferenceFileModelA data model for extract_1d reference images.
This model has a special member
imagesthat can be used to deal with each image separately. It behaves like a list:>>> multiextr1d_img_model.images.append(ref_image_model) >>> multiextr1d_img_model.images[0] <Extract1dImageModelModel>
If
initis a file name or anExtract1dImageModelinstance, an emptyExtract1dImageModelwill be created and assigned to attributeimages[0], and thedataattribute from the input array orExtract1dImageModelwill be copied to the first element ofimages.Parameters: init (any) – Any of the initializers supported by DataModel.Attributes Summary
schema_urlAttributes Documentation
-
schema_url= 'multiextract1d.schema.yaml'¶
-