24 #ifndef LSST_MEAS_BASE_PsfFlux_h_INCLUDED
25 #define LSST_MEAS_BASE_PsfFlux_h_INCLUDED
27 #include "lsst/pex/config.h"
34 namespace lsst {
namespace meas {
namespace base {
50 "Mask planes that indicate pixels that should be excluded from the fit");
82 std::string
const & logName =
"");
85 afw::table::SourceRecord & measRecord,
86 afw::image::Exposure<float>
const & exposure
90 afw::table::SourceRecord & measRecord,
110 #endif // !LSST_MEAS_BASE_PsfFlux_h_INCLUDED
std::vector< std::string > badMaskPlanes
"Mask planes that indicate pixels that should be excluded from the fit" ;
static FlagDefinition const NO_GOOD_PIXELS
PsfFluxAlgorithm(Control const &ctrl, std::string const &name, afw::table::Schema &schema, std::string const &logName="")
static FlagDefinition const EDGE
static FlagDefinitionList const & getFlagDefinitions()
Simple class used to define and document flags The name and doc constitute the identity of the FlagDe...
A measurement algorithm that estimates flux using a linear least-squares fit with the Psf model...
PsfFluxControl()
Default constructor.
Exception to be thrown when a measurement algorithm experiences a known failure mode.
PsfFluxControl Control
A typedef to the Control object for this algorithm, defined above.
Utility class for handling flag fields that indicate the failure modes of an algorithm.
static FlagDefinition const FAILURE
A FunctorKey for FluxResult.
virtual void measure(afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure) const
Called to measure a single child source in an image.
An abstract base classes for which the same implementation can be used for both SingleFrameAlgorithm ...
vector-type utility class to build a collection of FlagDefinitions
A C++ control class to handle PsfFluxAlgorithm's configuration.
virtual void fail(afw::table::SourceRecord &measRecord, MeasurementError *error=nullptr) const
Handle an exception thrown by the current algorithm by setting flags in the given record...