lsst.ip.diffim g180d380827+78227d2bc4
|
Intermediate base class for algorithms that compute a centroid. More...
#include <DipoleAlgorithms.h>
Public Types | |
typedef meas::base::CentroidResultKey | ResultKey |
Tuple type that holds the keys that define a standard centroid algorithm. | |
typedef DipoleCentroidControl | Control |
Static Public Member Functions | |
static meas::base::FlagDefinitionList const & | getFlagDefinitions () |
Static Public Attributes | |
static meas::base::FlagDefinition const | FAILURE = dipoleCentroidFlagDefinitions.addFailureFlag("general failure flag, set if anything went wrong") |
static meas::base::FlagDefinition const | POS_FLAG = dipoleCentroidFlagDefinitions.add("pos_flag", "failure flag for positive, set if anything went wrong") |
static meas::base::FlagDefinition const | NEG_FLAG = dipoleCentroidFlagDefinitions.add("neg_flag", "failure flag for negative, set if anything went wrong") |
Protected Member Functions | |
NaiveDipoleCentroid (Control const &ctrl, std::string const &name, afw::table::Schema &schema, ResultKey const &positiveKeys, ResultKey const &negativeKeys) | |
Initialize with a manually-constructed key tuple. | |
Protected Attributes | |
ResultKey | _centerKeys |
ResultKey | _positiveKeys |
ResultKey | _negativeKeys |
std::string | _logName |
Intermediate base class for algorithms that compute a centroid.
Definition at line 245 of file DipoleAlgorithms.h.
Definition at line 88 of file DipoleAlgorithms.h.
Tuple type that holds the keys that define a standard centroid algorithm.
Algorithms are encouraged to add additional flags as appropriate, but these are required.
Definition at line 256 of file DipoleAlgorithms.h.
lsst::ip::diffim::NaiveDipoleCentroid::NaiveDipoleCentroid | ( | Control const & | ctrl, |
std::string const & | name, | ||
afw::table::Schema & | schema ) |
Definition at line 144 of file DipoleAlgorithms.cc.
|
protected |
Initialize with a manually-constructed key tuple.
|
virtual |
Implements lsst::meas::base::SimpleAlgorithm.
Definition at line 210 of file DipoleAlgorithms.cc.
Return the standard centroid keys registered by this algorithm.
Definition at line 259 of file DipoleAlgorithms.h.
|
staticinherited |
Definition at line 77 of file DipoleAlgorithms.cc.
Definition at line 261 of file DipoleAlgorithms.h.
Definition at line 260 of file DipoleAlgorithms.h.
|
virtual |
Given an image and a pixel position, return a Centroid using a naive 3x3 weighted moment.
Implements lsst::meas::base::SimpleAlgorithm.
Definition at line 155 of file DipoleAlgorithms.cc.
void lsst::ip::diffim::NaiveDipoleCentroid::mergeCentroids | ( | afw::table::SourceRecord & | source, |
double | posValue, | ||
double | negValue ) const |
Definition at line 183 of file DipoleAlgorithms.cc.
|
protectedinherited |
Definition at line 107 of file DipoleAlgorithms.h.
|
protectedinherited |
Definition at line 109 of file DipoleAlgorithms.h.
|
protectedinherited |
Definition at line 108 of file DipoleAlgorithms.h.
|
staticinherited |
Definition at line 83 of file DipoleAlgorithms.h.
|
staticinherited |
Definition at line 85 of file DipoleAlgorithms.h.
|
staticinherited |
Definition at line 84 of file DipoleAlgorithms.h.