Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_base
-
Labels:
-
Story Points:1
-
Epic Link:
-
Sprint:Science Pipelines DM-W15-4
-
Team:Data Release Production
Description
The last change to ApertureFlux to make it work with the new C++ design changed ApertureFluxAlgorithm into an instantiatable class. However, I have now figured out how to make this work with SWIG while still allowing measure and fail to be defined by default at the ApertureFlux level.. So this issue is to put things back in order.
I think the version under u/pgee/
DM-1659is now correct. The error I made was to try to define fail() withing the base class ApertureFlux and measure() within the derived class CircularApertureFlux. That resulted in an undefined dynamic call from SWIG, for reasons I don't understand. The checked in version has both methods defined in the derived class.include/lsst/meas/base/ApertureFlux.h | 6 +++---
, 15 deletions
include/lsst/meas/base/CircularApertureFlux.h | 8 +++++++-
python/lsst/meas/base/ApertureFlux.i | 2 +-
src/ApertureFlux.cc | 10 ----------
src/CircularApertureFlux.cc | 4 ++++
5 files changed, 15 insertions