FgcmOutputIlluminationCorrectionTask#
- class lsst.fgcmcal.FgcmOutputIlluminationCorrectionTask(*, config: PipelineTaskConfig | None = None, log: logging.Logger | LsstLogAdapter | None = None, initInputs: dict[str, Any] | None = None, **kwargs: Any)#
Bases:
PipelineTaskOutput 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
runmethod.Methods Documentation
- run(*, camera, detector_id, fgcm_fit_parameters_catalog, filter_label_dict, flat_metadata_dict={})#
Run the illumination correction output task.
Parameters#
- camera
lsst.afw.cameraGeom.camera The camera with camera geometry
- detector_id
int The id of the detector.
- fgcm_fit_parameters_catalog
lsst.afw.SimpleCatalog Catalog of fgcm fit parameters.
- filter_label_dict
dict[str:lsst.afw.image.FilterLabel] Dictionary of filter labels, keyed by physical_filter.
- flat_metadata_dict
dict[str: (uuid.UUID,lsst.pipe.base.PropertyList] Dictionary of UUIDs and flat metadata, keyed by physical_filter.
Returns#
- struct
lsst.pipe.base.Struct Output structure with keys:
illum_corr_dict: dictionary keyed by physical_filter,with illumination correction ExposureF.
- camera
- runQuantum(butlerQC, inputRefs, outputRefs)#
Do butler IO and transform to provide in memory objects for tasks
runmethod.Parameters#
- butlerQC
QuantumContext A butler which is specialized to operate in the context of a
lsst.daf.butler.Quantum.- inputRefs
InputQuantizedConnection Datastructure whose attribute names are the names that identify connections defined in corresponding
PipelineTaskConnectionsclass. The values of these attributes are thelsst.daf.butler.DatasetRefobjects associated with the defined input/prerequisite connections.- outputRefs
OutputQuantizedConnection Datastructure whose attribute names are the names that identify connections defined in corresponding
PipelineTaskConnectionsclass. The values of these attributes are thelsst.daf.butler.DatasetRefobjects associated with the defined output connections.
- butlerQC