Intermediate base class for algorithms that compute a centroid.
More...
#include <DipoleAlgorithms.h>
|
| NaiveDipoleCentroid (Control const &ctrl, std::string const &name, afw::table::Schema &schema) |
|
ResultKey const & | getCenterKeys () const |
| Return the standard centroid keys registered by this algorithm. More...
|
|
ResultKey const & | getPositiveKeys () const |
|
ResultKey const & | getNegativeKeys () const |
|
void | measure (afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure) const |
| Given an image and a pixel position, return a Centroid using a naive 3x3 weighted moment. More...
|
|
void | mergeCentroids (afw::table::SourceRecord &source, double posValue, double negValue) const |
|
void | fail (afw::table::SourceRecord &measRecord, meas::base::MeasurementError *error=NULL) const |
|
| DipoleCentroidAlgorithm (Control const &ctrl, std::string const &name, afw::table::Schema &schema, std::string const &doc) |
|
ResultKey const & | getPositiveKeys () const |
| Return the standard centroid keys registered by this algorithm. More...
|
|
ResultKey const & | getNegativeKeys () const |
|
Intermediate base class for algorithms that compute a centroid.
Definition at line 243 of file DipoleAlgorithms.h.
◆ ResultKey
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 252 of file DipoleAlgorithms.h.
◆ NaiveDipoleCentroid() [1/2]
lsst::ip::diffim::NaiveDipoleCentroid::NaiveDipoleCentroid |
( |
Control const & |
ctrl, |
|
|
std::string const & |
name, |
|
|
afw::table::Schema & |
schema |
|
) |
| |
◆ NaiveDipoleCentroid() [2/2]
lsst::ip::diffim::NaiveDipoleCentroid::NaiveDipoleCentroid |
( |
Control const & |
ctrl, |
|
|
std::string const & |
name, |
|
|
afw::table::Schema & |
schema, |
|
|
ResultKey const & |
positiveKeys, |
|
|
ResultKey const & |
negativeKeys |
|
) |
| |
|
protected |
Initialize with a manually-constructed key tuple.
◆ fail()
void lsst::ip::diffim::NaiveDipoleCentroid::fail |
( |
afw::table::SourceRecord & |
measRecord, |
|
|
meas::base::MeasurementError * |
error = NULL |
|
) |
| const |
◆ getCenterKeys()
ResultKey const& lsst::ip::diffim::NaiveDipoleCentroid::getCenterKeys |
( |
| ) |
const |
|
inline |
Return the standard centroid keys registered by this algorithm.
Definition at line 255 of file DipoleAlgorithms.h.
◆ getNegativeKeys()
ResultKey const& lsst::ip::diffim::NaiveDipoleCentroid::getNegativeKeys |
( |
| ) |
const |
|
inline |
◆ getPositiveKeys()
ResultKey const& lsst::ip::diffim::NaiveDipoleCentroid::getPositiveKeys |
( |
| ) |
const |
|
inline |
◆ measure()
void lsst::ip::diffim::NaiveDipoleCentroid::measure |
( |
afw::table::SourceRecord & |
measRecord, |
|
|
afw::image::Exposure< float > const & |
exposure |
|
) |
| const |
Given an image and a pixel position, return a Centroid using a naive 3x3 weighted moment.
Definition at line 156 of file DipoleAlgorithms.cc.
◆ mergeCentroids()
void lsst::ip::diffim::NaiveDipoleCentroid::mergeCentroids |
( |
afw::table::SourceRecord & |
source, |
|
|
double |
posValue, |
|
|
double |
negValue |
|
) |
| const |
◆ _ctrl
Control lsst::ip::diffim::NaiveDipoleCentroid::_ctrl |
|
private |
◆ _flagHandler
meas::base::FlagHandler lsst::ip::diffim::NaiveDipoleCentroid::_flagHandler |
|
private |
◆ _fluxResultKey
meas::base::FluxResultKey lsst::ip::diffim::NaiveDipoleCentroid::_fluxResultKey |
|
private |
The documentation for this class was generated from the following files: