liger_iris_pipeline.datamodels.dq
Classes
|
A data model for 2D masks for Liger data. |
- class liger_iris_pipeline.datamodels.dq.DQModel(init=None, **kwargs)[source]
Bases:
ReferenceFileModel
A data model for 2D masks for Liger data.
- Parameters:
dq (numpy uint32 array) – The mask
dq_def (numpy table) – DQ flag definitions
- get_primary_array_name()[source]
Returns the name “primary” array for this model, which controls the size of other arrays that are implicitly created. This is intended to be overridden in the subclasses if the primary array’s name is not “data”.