No reason why the _ctrl is not const. I just copied it wrong.
I think that the _centroidExtractor and the _flagHandler should be on the CircularApertureFluxAlgorithm, since to me it goes logically with the SimpleAlgorithm. And ApertureFluxAlgorithm is not a SimpleAlgorithm. But if you are confident that all ApertureFluxes are going to follow this pattern I can move it.
I put the SincCoeff initialization in CircularApertureFlux because that is where you had it. I think it belongs in ApertureFlux.
The initialization of FlagKeys does not belong in CircularApertureFlux. My mistake. The code is a duplication. I put it there by accident when I was removing the FlagHandler array I had put in to CircularApertureFlux. (your recommendation that we not try to do this now).
Differences on top of u/pgee/
DM-1466a as shown below.While your at it, think about the contents of baseLib.i after we do this merge.
git diff --stat 734b661bab09566e3a68d13643cf6ed9876dc439
, 127 deletions
include/lsst/meas/base/ApertureFlux.h | 53 ++++++++++++++++++++++++++++-------------------------
include/lsst/meas/base/CircularApertureFlux.h | 56 ++++++++++++++++++++++++++++----------------------------
python/lsst/meas/base/ApertureFlux.i | 10 +---------
python/lsst/meas/base/plugins.py | 54 +-----------------------------------------------------
python/lsst/meas/base/pluginsLib.i | 3 +++
src/ApertureFlux.cc | 38 ++++++++++++++++++++++++++++++++++----
src/CircularApertureFlux.cc | 37 +++++++++++++++++++++++++++++--------
7 files changed, 124 insertions