We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 485a6dd + 985300c commit 511e8cfCopy full SHA for 511e8cf
python/lsst/pipe/tasks/computeExposureSummaryStats.py
@@ -335,10 +335,8 @@ def update_psf_stats(
335
summary.psfIxy = shape.getIxy()
336
im = psf.computeKernelImage(bbox.getCenter())
337
# The calculation of effective psf area is taken from
338
- # meas_base/src/PsfFlux.cc#L112. See
339
- # https://github.com/lsst/meas_base/blob/
340
- # 750bffe6620e565bda731add1509507f5c40c8bb/src/PsfFlux.cc#L112
341
- summary.psfArea = float(np.sum(im.array)/np.sum(im.array**2.))
+ # ls.st/srd Equation 1.
+ summary.psfArea = float(np.sum(im.array)**2./np.sum(im.array**2.))
342
343
if image_mask is not None:
344
psfApRadius = max(self.config.minPsfApRadiusPix, 3.0*summary.psfSigma)
0 commit comments