PhotonTransferCurveExtractTask#

class lsst.cp.pipe.PhotonTransferCurveExtractTask(*, 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[, inputPhotodiodeData])

Measure covariances from difference of flat pairs

runQuantum(butlerQC, inputRefs, outputRefs)

Ensure that the input and output dimensions are passed along.

Methods Documentation

run(inputExp, inputDims, inputPhotodiodeData=None)#

Measure covariances from difference of flat pairs

Parameters#

inputExpdict [float, list

Dictionary that groups references to flat-field exposures that have the same exposure time (seconds), or that groups them sequentially by their exposure id.

inputDimslist

List of exposure IDs.

taskMetadatalist [lsst.pipe.base.TaskMetadata], optional

List of exposures metadata from ISR. This is not used, and will be completely removed on DM-45802.

inputPhotodiodeDatadict [str, lsst.ip.isr.PhotodiodeCalib]

Photodiode readings data (optional).

Returns#

resultslsst.pipe.base.Struct

The resulting Struct contains:

outputCovariances

A list containing the per-pair PTC measurements (list [lsst.ip.isr.PhotonTransferCurveDataset])

runQuantum(butlerQC, inputRefs, outputRefs)#

Ensure that the input and output dimensions are passed along.

Parameters#

butlerQCQuantumContext

Butler to operate on.

inputRefsInputQuantizedConnection

Input data refs to load.

ouptutRefsOutputQuantizedConnection

Output data refs to persist.