applyGains¶
- lsst.ip.isr.applyGains(exposure, normalizeGains=False, ptcGains=None, isTrimmed=True)¶
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.
- isTrimmed
bool
, optional Is the input image trimmed?
- exposure