Skip to content

Commit

Permalink
Explicitly specify the image size of PSF candidate
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkannawadi committed Oct 11, 2022
1 parent 1cfb10f commit 6e2227d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/meas/algorithms/pcaPsfDeterminer.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def determinePsf(self, exposure, psfCandidateList, metadata=None, flagKey=None):
for cand in cell.begin(False):
candCenter = lsst.geom.PointD(cand.getXCenter(), cand.getYCenter())
try:
im = cand.getMaskedImage(kernel.getWidth(), kernel.getHeight())
im = cand.getMaskedImage(actualKernelSize, actualKernelSize)
except Exception:
continue

Expand Down

0 comments on commit 6e2227d

Please sign in to comment.