ampOffsetGainRatioFixup

lsst.cp.pipe.utils.ampOffsetGainRatioFixup(ptc, minAdu, maxAdu, log=None)

Apply gain ratio fixup using amp offsets.

Parameters:
ptclsst.ip.isr.PhotonTransferCurveDataset

Input PTC. Will be modified in place.

minAdufloat

Minimum number of ADU in mean of amplifier to use for computing gain ratio fixup.

maxAdufloat

Maximum number of ADU in mean of amplifier to use for computing gain ratio fixup.

loglsst.utils.logging.LsstLogAdapter, optional

Log object.