Class DipoleCentroidAlgorithm

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class DipoleCentroidAlgorithm : public lsst::meas::base::SimpleAlgorithm

Intermediate base class for algorithms that compute a centroid.

Subclassed by lsst::ip::diffim::NaiveDipoleCentroid

Public Types

typedef DipoleCentroidControl Control
typedef meas::base::CentroidResultKey ResultKey

Public 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.

ResultKey const &getNegativeKeys() const

Public Static Functions

static meas::base::FlagDefinitionList const &getFlagDefinitions()

Public Static Attributes

meas::base::FlagDefinition const FAILURE
meas::base::FlagDefinition const POS_FLAG
meas::base::FlagDefinition const NEG_FLAG

Protected 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.

Protected Attributes

Control _ctrl
meas::base::FluxResultKey _fluxResultKey
meas::base::FlagHandler _flagHandler
ResultKey _centerKeys
ResultKey _positiveKeys
ResultKey _negativeKeys