24#ifndef LSST_MEAS_BASE_ScaledApertureFlux_h_INCLUDED
25#define LSST_MEAS_BASE_ScaledApertureFlux_h_INCLUDED
34#include "lsst/pex/config.h"
44 "Warping kernel used to shift Sinc photometry coefficients to different center positions");
45 LSST_CONTROL_FIELD(
scale,
double,
"Scaling factor of PSF FWHM for aperture radius.");
Utility class for handling flag fields that indicate the failure modes of an algorithm.
A FunctorKey for FluxResult.
Exception to be thrown when a measurement algorithm experiences a known failure mode.
Measure the instFlux in an aperture scaled to the PSF.
ApertureFluxResult Result
ScaledApertureFluxAlgorithm(Control const &control, std::string const &name, afw::table::Schema &schema)
virtual void measure(afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure) const override
Measure the scaled aperture instFlux on the given image.
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.
ScaledApertureFluxControl Control
ScaledApertureFluxControl()
std::string shiftKernel
"Warping kernel used to shift Sinc photometry coefficients to different center positions" ;
double scale
"Scaling factor of PSF FWHM for aperture radius." ;
An abstract base classes for which the same implementation can be used for both SingleFrameAlgorithm ...
A Result struct for running an aperture flux algorithm with a single radius.