24 #ifndef LSST_MEAS_BASE_ScaledApertureFlux_h_INCLUDED
25 #define LSST_MEAS_BASE_ScaledApertureFlux_h_INCLUDED
27 #include "lsst/afw/table.h"
28 #include "lsst/afw/image/Exposure.h"
34 #include "lsst/pex/config.h"
36 namespace lsst {
namespace meas {
namespace base {
42 "Warping kernel used to shift Sinc photometry coefficients to different center positions"
44 LSST_CONTROL_FIELD(
scale,
double,
"Scaling factor of PSF FWHM for aperture radius.");
69 afw::table::Schema & schema);
80 afw::table::SourceRecord & measRecord,
81 afw::image::Exposure<float>
const & exposure
84 virtual void fail(afw::table::SourceRecord & measRecord,
MeasurementError * error=
nullptr)
const override;
97 afw::table::SchemaMapper & mapper);
102 #endif // !LSST_MEAS_BASE_ScaledApertureFlux_h_INCLUDED
double scale
"Scaling factor of PSF FWHM for aperture radius." ;
Exception to be thrown when a measurement algorithm experiences a known failure mode.
std::string shiftKernel
"Warping kernel used to shift Sinc photometry coefficients to different center positions" ; ...
Utility class for handling flag fields that indicate the failure modes of an algorithm.
ApertureFluxResult Result
ScaledApertureFluxControl()
A FunctorKey for FluxResult.
Measure the flux in an aperture scaled to the PSF.
An abstract base classes for which the same implementation can be used for both SingleFrameAlgorithm ...
ScaledApertureFluxControl Control
ScaledApertureFluxAlgorithm(Control const &control, std::string const &name, afw::table::Schema &schema)
virtual void fail(afw::table::SourceRecord &measRecord, MeasurementError *error=nullptr) const override
Handle an exception thrown by the current algorithm by setting flags in the given record...
virtual void measure(afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure) const override
Measure the scaled aperture flux on the given image.
A Result struct for running an aperture flux algorithm with a single radius.