Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_base
-
Labels:
-
Story Points:7
-
Epic Link:
-
Sprint:Science Pipelines DM-S15-4, Science Pipelines DM-S15-5
-
Team:Alert Production
Description
We need to interpolate the aperture correction to the position of every source, and apply this correction to all appropriate fluxes.
The HSC implementation of this work (as well as that of DM-435) was done on issue HSC-191:
https://hsc-jira.astro.princeton.edu/jira/browse/HSC-191
There were changes to many packages, but the relevant ones for LSST are:
https://github.com/HyperSuprime-Cam/afw/commit/057fb3c0581c512d5664f1883a72da950c9eae9d
https://github.com/HyperSuprime-Cam/meas_algorithms/compare/HSC-3.0.0...u/jbosch/DM-191
https://github.com/HyperSuprime-Cam/pipe_tasks/compare/4c3a53e7238cbe9...u/jbosch/DM-191
Note that on the LSST side, we'll want to apply the aperture corrections either within a new plugin in meas_base or as a new part of BaseMeasurementTask, not as a change to the CorrectFluxes algorithm (which will be removed in the future along with the rest of the old measurement framework in meas_algorithms).
Attachments
Issue Links
- blocks
-
DM-3114 Enable aperture correction in the integration test
- Done
-
DM-3160 Improve name and default value of MeasureApCorrConfig.refFluxAlg
- Done
- relates to
-
DM-3174 CalibrateTask instantiates measureApCorr, applyApCorr and photocal subtasks using the wrong schema
- Done
-
DM-3182 Aperture correction not applied for some measurements
- Done
-
DM-3183 CalibrateTask instantiates some subtasks with the wrong schema
- Invalid
-
DM-3417 Fix overestimation of aperture correction error
- To Do
-
DM-2954 Add a unit test for aperture corrections in measurement task
- Done
-
DM-3173 In CalibrateTask if one disables psf determination then aperture correction will fail
- Done
Mario suggested, and Jim agreed, that we handle measureApCorr.py by bringing it over unchanged as a commit on tickets/
DM-436with the next commit performing minimal cleanup: just like the standard procedure, but without the sub-branch named tickets/DM-436-transfer. This makes it easier to incorporate the updated measureApCorr.py into the existing ticket (adding a sub-branch while rebasing appears to be difficult).I did that and applied all the other changes Jim suggested and he has agreed to have another look before merging.
We are intentionally not enabling aperture correction in the integration test on this ticket; see
DM-3114for that.