Skip to content

Commit

Permalink
Pass a centroid to PSF computeShape
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkannawadi committed Oct 20, 2021
1 parent a2b9fc1 commit 2b0db86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_SdssShape.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def testMeasureGoodPsf(self):
"""
exposure, catalog = self._runMeasurementTask()
key = lsst.meas.base.SdssShapeResultKey(catalog.schema["base_SdssShape"])
psfTruth = exposure.getPsf().computeShape()
psfTruth = exposure.getPsf().computeShape(catalog[0].getCentroid())
for record in catalog:
result = record.get(key)
self._checkShape(result, record)
Expand Down

0 comments on commit 2b0db86

Please sign in to comment.