Skip to content

Commit 6273192

Browse files
authored
Merge pull request #1100 from lsst/tickets/DM-49970
DM-49970: Add normalized calib flux to finalized aperture correction map.
2 parents a44b1db + 0e6fe78 commit 6273192

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

python/lsst/pipe/tasks/finalizeCharacterization.py

+6
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,12 @@ def compute_psf_and_ap_corr_map(self, visit, detector, exposure, src, isolated_s
687687
visit, detector, e)
688688
return psf, None, measured_src
689689

690+
# Need to merge the original normalization aperture correction map.
691+
ap_corr_map_input = exposure.apCorrMap
692+
for key in ap_corr_map_input:
693+
if key not in ap_corr_map:
694+
ap_corr_map[key] = ap_corr_map_input[key]
695+
690696
self.apply_ap_corr.run(catalog=measured_src, apCorrMap=ap_corr_map)
691697

692698
return psf, ap_corr_map, measured_src

0 commit comments

Comments
 (0)