24 #ifndef LSST_MEAS_BASE_NaiveCentroid_h_INCLUDED 25 #define LSST_MEAS_BASE_NaiveCentroid_h_INCLUDED 49 "If set > 0, Centroid Check also checks distance from footprint peak.");
103 #endif // !LSST_MEAS_BASE_NaiveCentroid_h_INCLUDED Defines the fields and offsets for a table.
A mapping between the keys of two Schemas, used to copy data between them.
Simple class used to define and document flags The name and doc constitute the identity of the FlagDe...
double maxDistToPeak
"If set > 0, Centroid Check also checks distance from footprint peak." ;
static FlagDefinition const EDGE
Exception to be thrown when a measurement algorithm experiences a known failure mode.
#define LSST_CONTROL_FIELD(NAME, TYPE, DOC)
A preprocessor macro used to define fields in C++ "control object" structs.
NaiveCentroidControl Control
Utility class for handling flag fields that indicate the failure modes of an algorithm.
A base class for image defects.
A class that calculates a centroid as a simple unweighted first moment of the 3x3 region around a pix...
static FlagDefinition const NO_COUNTS
An abstract base classes for which the same implementation can be used for both SingleFrameAlgorithm ...
bool doFootprintCheck
"Do check that the centroid is contained in footprint." ;
double background
"Value to subtract from the image pixel values" ;
A FunctorKey for CentroidResult.
def measure(mi, x, y, size, statistic, stats)
A C++ control class to handle NaiveCentroidAlgorithm's configuration.
Record class that contains measurements made on a single exposure.
vector-type utility class to build a collection of FlagDefinitions
static FlagDefinition const FAILURE
NaiveCentroidControl()
Default constructor.