24 #ifndef LSST_MEAS_BASE_PeakLikelihoodFlux_h_INCLUDED
25 #define LSST_MEAS_BASE_PeakLikelihoodFlux_h_INCLUDED
27 #include "lsst/pex/config.h"
28 #include "lsst/afw/image/Exposure.h"
36 namespace lsst {
namespace meas {
namespace base {
61 "Name of warping kernel (e.g. \"lanczos4\") used to compute the peak");
85 afw::table::SourceRecord & measRecord,
86 afw::image::Exposure<float>
const & exposure
90 afw::table::SourceRecord & measRecord,
106 afw::table::SchemaMapper & mapper) :
FluxTransform{name, mapper} { }
111 #endif // !LSST_MEAS_BASE_PeakLikelihoodFlux_h_INCLUDED
PeakLikelihoodFluxControl Control
A typedef to the Control object for this algorithm, defined above.
Simple class used to define and document flags The name and doc constitute the identity of the FlagDe...
PeakLikelihoodFluxAlgorithm(Control const &ctrl, std::string const &name, afw::table::Schema &schema)
Exception to be thrown when a measurement algorithm experiences a known failure mode.
C++ control object for peak likelihood flux.
PeakLikelihoodFluxControl()
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...
static FlagDefinition const FAILURE
Utility class for handling flag fields that indicate the failure modes of an algorithm.
virtual void measure(afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure) const
Called to measure a single child source in an image.
A FunctorKey for FluxResult.
An abstract base classes for which the same implementation can be used for both SingleFrameAlgorithm ...
std::string warpingKernelName
"Name of warping kernel (e.g. \"lanczos4") used to compute the peak" ;
static FlagDefinitionList const & getFlagDefinitions()
A measurement algorithm that estimates the peak flux, using a filtered image which has been convolved...
vector-type utility class to build a collection of FlagDefinitions