LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
24 #ifndef LSST_MEAS_BASE_SdssCentroid_h_INCLUDED
25 #define LSST_MEAS_BASE_SdssCentroid_h_INCLUDED
55 "If set > 0, Centroid Check also checks distance from footprint peak.");
109 #endif // !LSST_MEAS_BASE_SdssCentroid_h_INCLUDED
An abstract base classes for which the same implementation can be used for both SingleFrameAlgorithm ...
The Sdss Centroid Algorithm.
SdssCentroidControl()
Default constructor.
Record class that contains measurements made on a single exposure.
Exception to be thrown when a measurement algorithm experiences a known failure mode.
static FlagDefinition const FAILURE
Defines the fields and offsets for a table.
A FunctorKey for CentroidResult.
double maxDistToPeak
"If set > 0, Centroid Check also checks distance from footprint peak." ;
vector-type utility class to build a collection of FlagDefinitions
virtual void measure(afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure) const
Called to measure a single child source in an image.
double wfac
"fiddle factor for adjusting the binning" ;
SdssCentroidAlgorithm(Control const &ctrl, std::string const &name, afw::table::Schema &schema)
Utility class for handling flag fields that indicate the failure modes of an algorithm.
bool doFootprintCheck
"Do check that the centroid is contained in footprint." ;
A mapping between the keys of two Schemas, used to copy data between them.
static FlagDefinition const NOT_AT_MAXIMUM
#define LSST_CONTROL_FIELD(NAME, TYPE, DOC)
A preprocessor macro used to define fields in C++ "control object" structs.
A base class for image defects.
Simple class used to define and document flags The name and doc constitute the identity of the FlagDe...
static FlagDefinition const ALMOST_NO_SECOND_DERIVATIVE
int binmax
"maximum allowed binning" ;
A C++ control class to handle SdssCentroidAlgorithm's configuration.
SdssCentroidControl Control
A typedef to the Control object for this algorithm, defined above.
double peakMin
"if the peak's less than this insist on binning at least once" ;
static FlagDefinition const EDGE
static FlagDefinition const NO_SECOND_DERIVATIVE
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 FlagDefinitionList const & getFlagDefinitions()