applyGains¶
-
lsst.ip.isr.applyGains(exposure, normalizeGains=False, ptcGains=None)¶ Scale an exposure by the amplifier gains.
Parameters: - exposure :
lsst.afw.image.Exposure Exposure to process. The image is modified.
- normalizeGains :
Bool, optional If True, then amplifiers are scaled to force the median of each amplifier to equal the median of those medians.
- ptcGains :
dict`[`str], optional Dictionary keyed by amp name containing the PTC gains.
- exposure :