Skip to content

Commit

Permalink
Increase characterizeImage psf sigma sig figs
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Oct 20, 2023
1 parent 5ac2eeb commit 4633533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/pipe/tasks/characterizeImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def run(self, exposure, exposureIdInfo=None, background=None, idGenerator=None):
psfSigma = psf.computeShape(psfAvgPos).getDeterminantRadius()
psfDimensions = psf.computeImage(psfAvgPos).getDimensions()
medBackground = np.median(dmeRes.background.getImage().getArray())
self.log.info("iter %s; PSF sigma=%0.2f, dimensions=%s; median background=%0.2f",
self.log.info("iter %s; PSF sigma=%0.4f, dimensions=%s; median background=%0.2f",
i + 1, psfSigma, psfDimensions, medBackground)
if np.isnan(psfSigma):
raise RuntimeError("PSF sigma is NaN, cannot continue PSF determination.")
Expand Down

0 comments on commit 4633533

Please sign in to comment.