24 #ifndef LSST_MEAS_BASE_Algorithm_h_INCLUDED
25 #define LSST_MEAS_BASE_Algorithm_h_INCLUDED
27 #include "lsst/log/Log.h"
29 #include "lsst/afw/table/fwd.h"
30 #include "lsst/afw/image/Exposure.h"
34 namespace lsst {
namespace meas {
namespace base {
61 afw::table::SourceRecord & measRecord,
96 afw::table::SourceRecord & measRecord,
97 afw::image::Exposure<float>
const & exposure
111 afw::table::SourceCatalog
const & measCat,
112 afw::image::Exposure<float>
const & exposure
147 afw::table::SourceRecord & measRecord,
148 afw::image::Exposure<float>
const & exposure,
149 afw::table::SourceRecord
const & refRecord,
150 afw::image::Wcs
const & refWcs
164 afw::table::SourceCatalog
const & measCat,
165 afw::image::Exposure<float>
const & exposure,
166 afw::table::SourceCatalog
const & refRecord,
167 afw::image::Wcs
const & refWcs
188 afw::table::SourceRecord & measRecord,
189 afw::image::Exposure<float>
const & exposure,
190 afw::table::SourceRecord
const & refRecord,
191 afw::image::Wcs
const & refWcs
197 afw::table::SourceCatalog
const & measCat,
198 afw::image::Exposure<float>
const & exposure,
199 afw::table::SourceCatalog
const & refRecord,
200 afw::image::Wcs
const & refWcs
209 #endif // !LSST_MEAS_BASE_Algorithm_h_INCLUDED
virtual void measureNForced(afw::table::SourceCatalog const &measCat, afw::image::Exposure< float > const &exposure, afw::table::SourceCatalog const &refRecord, afw::image::Wcs const &refWcs) const
Called to simultaneously measure all children in a deblend family, in a single image.
virtual void fail(afw::table::SourceRecord &measRecord, MeasurementError *error=nullptr) const =0
Handle an exception thrown by the current algorithm by setting flags in the given record...
virtual void measureForced(afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure, afw::table::SourceRecord const &refRecord, afw::image::Wcs const &refWcs) const
Called to measure a single child source in an image.
Base class for algorithms that measure the properties of sources on single image. ...
Exception to be thrown when a measurement algorithm experiences a known failure mode.
Base class for algorithms that measure the properties of sources on one image, using previous measure...
virtual void measureN(afw::table::SourceCatalog const &measCat, afw::image::Exposure< float > const &exposure) const
Called to simultaneously measure all children in a deblend family, in a single image.
Ultimate abstract base class for all C++ measurement algorithms.
virtual void measureNForced(afw::table::SourceCatalog const &measCat, afw::image::Exposure< float > const &exposure, afw::table::SourceCatalog const &refRecord, afw::image::Wcs const &refWcs) const
Called to simultaneously measure all children in a deblend family, in a single image.
std::string getLogName() const
An abstract base classes for which the same implementation can be used for both SingleFrameAlgorithm ...
virtual void measureForced(afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure, afw::table::SourceRecord const &refRecord, afw::image::Wcs const &refWcs) const =0
Called to measure a single child source in an image.
virtual void measure(afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure) const =0
Called to measure a single child source in an image.