Skip to content

Commit

Permalink
ModelPsfMatchTask: Set output exposure PSF to model PSF used
Browse files Browse the repository at this point in the history
  • Loading branch information
yalsayyad committed Mar 29, 2017
1 parent ab7f4cf commit 9d0ed71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/ip/diffim/modelPsfMatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ def run(self, exposure, referencePsfModel, kernelSum=1.0):
psfMatchedExposure = afwImage.ExposureF(exposure.getBBox(), exposure.getWcs())
psfMatchedExposure.setFilter(exposure.getFilter())
psfMatchedExposure.setCalib(exposure.getCalib())
psfMatchedExposure.setPsf(referencePsfModel)
psfMatchedMaskedImage = psfMatchedExposure.getMaskedImage()

# Normalize the psf-matching kernel while convolving since its magnitude is meaningless
Expand Down

0 comments on commit 9d0ed71

Please sign in to comment.