lsst.ip.diffim
22.0.1-21-g5bd0cb7e+1bba84870f
|
Intermediate base class for algorithms that compute a centroid. More...
#include <DipoleAlgorithms.h>
Public Types | |
typedef DipoleCentroidControl | Control |
typedef meas::base::CentroidResultKey | ResultKey |
Public Member Functions | |
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 |
virtual void | measureForced (afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure, afw::table::SourceRecord const &refRecord, afw::geom::SkyWcs const &refWcs) const |
virtual void | measureNForced (afw::table::SourceCatalog const &measCat, afw::image::Exposure< float > const &exposure, afw::table::SourceCatalog const &refRecord, afw::geom::SkyWcs const &refWcs) const |
virtual void | measure (afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure) const=0 |
virtual void | measureN (afw::table::SourceCatalog const &measCat, afw::image::Exposure< float > const &exposure) const |
virtual void | fail (afw::table::SourceRecord &measRecord, MeasurementError *error=nullptr) const=0 |
std::string | getLogName () const |
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 | |
DipoleCentroidAlgorithm (Control const &ctrl, std::string const &name, afw::table::Schema &schema, std::string const &doc, ResultKey const &positiveKeys, ResultKey const &negativeKeys) | |
Initialize with a manually-constructed key tuple. More... | |
Intermediate base class for algorithms that compute a centroid.
Definition at line 80 of file DipoleAlgorithms.h.
Definition at line 88 of file DipoleAlgorithms.h.
Definition at line 93 of file DipoleAlgorithms.h.
|
inline |
Definition at line 151 of file DipoleAlgorithms.h.
|
inlineprotected |
Initialize with a manually-constructed key tuple.
Definition at line 165 of file DipoleAlgorithms.h.
|
static |
Definition at line 77 of file DipoleAlgorithms.cc.
|
inline |
Definition at line 97 of file DipoleAlgorithms.h.
|
inline |
Return the standard centroid keys registered by this algorithm.
Definition at line 96 of file DipoleAlgorithms.h.
|
protected |
Definition at line 107 of file DipoleAlgorithms.h.
|
protected |
Definition at line 104 of file DipoleAlgorithms.h.
|
protected |
Definition at line 106 of file DipoleAlgorithms.h.
|
protected |
Definition at line 105 of file DipoleAlgorithms.h.
|
protected |
Definition at line 109 of file DipoleAlgorithms.h.
|
protected |
Definition at line 108 of file DipoleAlgorithms.h.
|
static |
Definition at line 83 of file DipoleAlgorithms.h.
|
static |
Definition at line 85 of file DipoleAlgorithms.h.
|
static |
Definition at line 84 of file DipoleAlgorithms.h.