Skip to content

Commit

Permalink
Merge branch 'tickets/DM-35790'
Browse files Browse the repository at this point in the history
  • Loading branch information
plazas committed Aug 3, 2022
2 parents 3d1ae88 + f19206d commit 7a16ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/cp/pipe/ptc/cpExtractPtcTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ def getGainFromFlatPair(self, im1Area, im2Area, imStatsCtrl, mu1, mu2,

ratioIm /= sumIm

const = afwMath.makeStatistics(ratioIm, afwMath.MEANCLIP, imStatsCtrl).getValue()
const = afwMath.makeStatistics(ratioIm, afwMath.MEAN, imStatsCtrl).getValue()
gain = 1. / const

if correctionType == 'SIMPLE':
Expand Down

0 comments on commit 7a16ca8

Please sign in to comment.