liger_iris_pipeline.datamodels.dq

Classes

DQModel([init])

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

dqnumpy uint32 array

The mask

dq_defnumpy 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”.

schema_url = 'https://oirlab.github.io/schemas/DQModel.schema'

The schema URI to validate the model against. If None, only basic validation of required metadata properties (filename, model_type) will occur.