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:
PhotonTransferCurveExtractTaskBaseMethods 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
runmethod.Methods Documentation
- run(*, inputExp, inputDims, inputPhotodiodeData=None)#
Measure covariances from a single flat pair.
Parameters#
- inputExp
list[lsst.pipe.base.connections.DeferredDatasetRef] List of 2 references to the input flat exposures.
- inputDims
list[int] List of 2 exposure numbers for the input flat exposures.
- inputPhotodiodeData
list [
lsst.pipe.base.connections.DeferredDatasetRef], optionalList of 2 references to input photodiode data.
Returns#
- results
lsst.pipe.base.Struct The resulting Struct contains:
outputCovarianceThe single-pair PTC measurement
lsst.ip.isr.PhotonTransferCurveDataset
- inputExp
- 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