I spent a few minutes this morning trying to figure out what's required here. I think this is the deal, but please do correct me if I've got the wrong end of the stick.
When working DM-982 ("convert meas_extensions_photometryKron to new measurement framework"), Perry Gee came across some lines of the form msConfig.algorithms.names.remove("correctfluxes") which had previously been added by Jim Bosch to "remove now-implicit aperture correction from test code". The correctfluxes algorithm didn't exist in the meas_base framework, so this caused things to break; he worked around the issue by commenting those lines out. In code review, both Jim & I pulled him up on this – it's not right to leave commented-out code lying around – and he removed it, but protested that it would need to be re-added once aperture corrections were implemented in meas_base (for the same reason it was originally added). Hence this issue.
I've not become properly familiar with the new aperture correction system, but my understanding is that it does not work through an additional algorithm à la correctfluxes. There's therefore no direct equivalent of the original code that should be enabled.
Instead, aperture corrections are enabled by passing an appropriate argument to lsst.meas.base.wrapSimpleAlgorithm. That's called in photometryKron's __init__.py. Currently, aperture corrections are disabled; naively, I would hope that simply providing an appropriate bool there is all that's required to enable them.
Exposing my ignorance: I do not know whether it is appropriate to enable aperture corrections here. I can't parse Jim's original commit to be sure if the aperture corrections are supposed to be implicit in the Kron photometry code or just in the particular test cases in which he explicitly disabled them, and I don't have time to dive in to find out at the moment. Perhaps Jim or Perry can clarify; once that's established, I think this issue becomes effectively trivial.
So: comments? Have I understood everything correctly? And apologies to Russell Owen for a particularly ill-described story.
Additional information would be very helpful. Was the aperture correction omitted by simply failing to port certain commits which could then be cherry-picked?
KronPhotometry.cc seems to be the main implementation file, and comparing the master on HSC and LSST shows that the two files have diverged significantly. However, the only algorithmic difference I can find is as follows:
The only other changes I found, beyond simple mechanical changes that were obviously made to adapt to the new measurement framework, afw table and exception names, are as follows: