PhotonTransferCurveExtractPairTask#

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

Bases: PhotonTransferCurveExtractTaskBase

Methods Summary

run(*, inputExp, inputDims[, ...])

Measure covariances from a single flat pair.

runQuantum(butlerQC, inputRefs, outputRefs)

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

Methods Documentation

run(*, inputExp, inputDims, inputPhotodiodeData=None)#

Measure covariances from a single flat pair.

Parameters#

inputExplist [lsst.pipe.base.connections.DeferredDatasetRef]

List of 2 references to the input flat exposures.

inputDimslist [int]

List of 2 exposure numbers for the input flat exposures.

inputPhotodiodeDatalist

List of 2 references to input photodiode data.

Returns#

resultslsst.pipe.base.Struct

The resulting Struct contains:

outputCovariance

The single-pair PTC measurement lsst.ip.isr.PhotonTransferCurveDataset

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.