lsst.ip.diffim
22.0.1-19-gb93eaa13+5fd7b36ef7
|
Intermediate base class for algorithms that compute a flux. More...
#include <DipoleAlgorithms.h>
Public Types | |
typedef DipoleFluxControl | Control |
A typedef to the Control object for this algorithm, defined above. More... | |
typedef meas::base::FluxResultKey | ResultKey |
Public Member Functions | |
DipoleFluxAlgorithm (Control const &ctrl, std::string const &name, afw::table::Schema &schema, std::string const &doc) | |
ResultKey const & | getPositiveKeys () const |
Return the standard flux 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 = dipoleFluxFlagDefinitions.addFailureFlag("general failure flag, set if anything went wrong") |
static meas::base::FlagDefinition const | POS_FLAG = dipoleFluxFlagDefinitions.add("pos_flag", "failure flag for positive, set if anything went wrong") |
static meas::base::FlagDefinition const | NEG_FLAG = dipoleFluxFlagDefinitions.add("neg_flag", "failure flag for negative, set if anything went wrong") |
Protected Member Functions | |
DipoleFluxAlgorithm (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 result key. More... | |
Protected Attributes | |
Control | _ctrl |
meas::base::FluxResultKey | _fluxResultKey |
meas::base::FlagHandler | _flagHandler |
ResultKey | _positiveKeys |
ResultKey | _negativeKeys |
std::string | _logName |
Intermediate base class for algorithms that compute a flux.
Definition at line 115 of file DipoleAlgorithms.h.
A typedef to the Control object for this algorithm, defined above.
The control object contains the configuration parameters for this algorithm.
Definition at line 125 of file DipoleAlgorithms.h.
Definition at line 131 of file DipoleAlgorithms.h.
|
inline |
Definition at line 194 of file DipoleAlgorithms.h.
|
inlineprotected |
Initialize with a manually-constructed result key.
Definition at line 181 of file DipoleAlgorithms.h.
|
static |
Definition at line 65 of file DipoleAlgorithms.cc.
|
inline |
Definition at line 134 of file DipoleAlgorithms.h.
|
inline |
Return the standard flux keys registered by this algorithm.
Definition at line 133 of file DipoleAlgorithms.h.
|
protected |
Definition at line 143 of file DipoleAlgorithms.h.
|
protected |
Definition at line 145 of file DipoleAlgorithms.h.
|
protected |
Definition at line 144 of file DipoleAlgorithms.h.
|
protected |
Definition at line 148 of file DipoleAlgorithms.h.
|
protected |
Definition at line 147 of file DipoleAlgorithms.h.
|
static |
Definition at line 118 of file DipoleAlgorithms.h.
|
static |
Definition at line 120 of file DipoleAlgorithms.h.
|
static |
Definition at line 119 of file DipoleAlgorithms.h.