MultiExtract1dImageModel¶
-
class
jwst.datamodels.
MultiExtract1dImageModel
(init=None, **kwargs)[source]¶ Bases:
jwst.datamodels.ReferenceFileModel
A data model for extract_1d reference images.
This model has a special member
images
that 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
init
is a file name or anExtract1dImageModel
instance, an emptyExtract1dImageModel
will be created and assigned to attributeimages[0]
, and thedata
attribute from the input array orExtract1dImageModel
will be copied to the first element ofimages
.Parameters: init (any) – Any of the initializers supported by DataModel
.Attributes Summary
schema_url
Attributes Documentation
-
schema_url
= 'multiextract1d.schema.yaml'¶
-