CalibCombineTwoFlatsByFilterTask#

class lsst.cp.pipe.CalibCombineTwoFlatsByFilterTask(**kwargs)#

Bases: CalibCombineTask

Task to combine two flats (weighted).

Methods Summary

run(*, inputFlatOneHandle, inputFlatTwoHandle)

Combine two flats (blue/red) into one flat.

runQuantum(butlerQC, inputRefs, outputRefs)

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

Methods Documentation

run(*, inputFlatOneHandle, inputFlatTwoHandle)#

Combine two flats (blue/red) into one flat.

Parameters#

inputFlatOneHandlelsst.daf.butler.DeferredDatasetHandle

The first flat handle.

inputFlatTwoHandlelsst.daf.butler.DeferredDatasetHandle

The second flat handle.

Returns#

resultslsst.pipe.base.Struct

The results struct containing:

outputData

Final combined exposure generated from the inputs. (lsst.afw.image.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.