PhotonTransferCurveFixupGainRatiosTask#
- class lsst.cp.pipe.PhotonTransferCurveFixupGainRatiosTask(*args, **kwargs)#
Bases:
PipelineTaskTask 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
runmethod.Methods Documentation
- run(*, inputPtc, exposureMetadata)#
Run the gain ratio fixup task.
Parameters#
- inputPtc
lsst.ip.isr.PhotonTransferCurveDataset Input PTC to modify.
- exposureMetadata:
list[lsst.daf.base.PropertyList] Input exposure metadata.
Returns#
- results
lsst.pipe.base.Struct The output struct contains:
outputPtcThe output modified ptc.
- inputPtc
- 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