liger_iris_pipeline.dq_init

class liger_iris_pipeline.dq_init.DQInitStep(config_file: str | None = None, **kwargs)[source]

Bases: LigerIRISStep

Initialize the Data Quality extension from the mask reference file.

The dq_init step initializes the pixeldq attribute of the input datamodel using the MASK reference file. For some FGS exp_types, initalize the dq attribute of the input model instead. The dq attribute of the MASK model is bitwise OR’d with the pixeldq (or dq) attribute of the input model.

class_alias = 'dq_init'
process(input)[source]

Perform the dq_init calibration step

Parameters

inputJWST datamodel

input jwst datamodel

Returns

LigerIRISDataModel : The output datamodel.

reference_file_types: ClassVar = ['dq']

Modules

dq_init_step

dq_initialization