PhotonTransferCurveFixupGainRatiosTask#

class lsst.cp.pipe.PhotonTransferCurveFixupGainRatiosTask(*args, **kwargs)#

Bases: PipelineTask

Task to use on-sky amp ratios to fix up gain ratios in a PTC.

This uses the ampOffsetGainRatioFixup with on-sky data (preferably twilight flats or similar) to update gain ratios.

Deprecated since version v30.0: PhotonTransferCurveFixupGainRatiosTask is no longer used. This Task will be removed after v30.

Methods Summary

run(*, inputPtc, exposureMetadata)

Run the gain ratio fixup task.

runQuantum(butlerQC, inputRefs, outputRefs)

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

Methods Documentation

run(*, inputPtc, exposureMetadata)#

Run the gain ratio fixup task.

Parameters#

inputPtclsst.ip.isr.PhotonTransferCurveDataset

Input PTC to modify.

exposureMetadata: list [lsst.daf.base.PropertyList]

Input exposure metadata.

Returns#

resultslsst.pipe.base.Struct

The output struct contains:

outputPtc

The output modified ptc.

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.