FgcmOutputIlluminationCorrectionTask#

class lsst.fgcmcal.FgcmOutputIlluminationCorrectionTask(*, config: PipelineTaskConfig | None = None, log: logging.Logger | LsstLogAdapter | None = None, initInputs: dict[str, Any] | None = None, **kwargs: Any)#

Bases: PipelineTask

Output illumination corrections from fgcm.

Methods Summary

run(*, camera, detector_id, ...[, ...])

Run the illumination correction output task.

runQuantum(butlerQC, inputRefs, outputRefs)

Do butler IO and transform to provide in memory objects for tasks run method.

Methods Documentation

run(*, camera, detector_id, fgcm_fit_parameters_catalog, filter_label_dict, flat_metadata_dict={})#

Run the illumination correction output task.

Parameters#

cameralsst.afw.cameraGeom.camera

The camera with camera geometry

detector_idint

The id of the detector.

fgcm_fit_parameters_cataloglsst.afw.SimpleCatalog

Catalog of fgcm fit parameters.

filter_label_dictdict [str: lsst.afw.image.FilterLabel]

Dictionary of filter labels, keyed by physical_filter.

flat_metadata_dictdict [str: (uuid.UUID, lsst.pipe.base.PropertyList]

Dictionary of UUIDs and flat metadata, keyed by physical_filter.

Returns#

structlsst.pipe.base.Struct

Output structure with keys:

illum_corr_dict: dictionary keyed by physical_filter,

with illumination correction ExposureF.

runQuantum(butlerQC, inputRefs, outputRefs)#

Do butler IO and transform to provide in memory objects for tasks run method.

Parameters#

butlerQCQuantumContext

A butler which is specialized to operate in the context of a lsst.daf.butler.Quantum.

inputRefsInputQuantizedConnection

Datastructure whose attribute names are the names that identify connections defined in corresponding PipelineTaskConnections class. The values of these attributes are the lsst.daf.butler.DatasetRef objects associated with the defined input/prerequisite connections.

outputRefsOutputQuantizedConnection

Datastructure whose attribute names are the names that identify connections defined in corresponding PipelineTaskConnections class. The values of these attributes are the lsst.daf.butler.DatasetRef objects associated with the defined output connections.