Skip to content

Commit

Permalink
Use unclipped mean
Browse files Browse the repository at this point in the history
  • Loading branch information
plazas committed Aug 3, 2022
1 parent 3d1ae88 commit f19206d
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 f19206d

Please sign in to comment.