Skip to content

Commit

Permalink
Set the exposure psf so the measurement uses the new psf.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed May 25, 2022
1 parent 7d07ed6 commit 1c40d38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/lsst/pipe/tasks/finalizeCharacterization.py
Expand Up @@ -668,6 +668,9 @@ def compute_psf_and_ap_corr_map(self, visit, detector, exposure, src, isolated_s
visit, detector, e)
return None, None, measured_src

# Set the psf in the exposure for measurement/aperture corrections.
exposure.setPsf(psf)

# At this point, we need to transfer the psf used flag from the selection
# catalog to the measurement catalog.
matched_selected, matched_measured = esutil.numpy_util.match(
Expand Down

0 comments on commit 1c40d38

Please sign in to comment.