lsst.ip.diffim  13.0-19-g373a351+1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
lsst::ip::diffim::NaiveDipoleFlux Class Reference

#include <DipoleAlgorithms.h>

Inheritance diagram for lsst::ip::diffim::NaiveDipoleFlux:
lsst::ip::diffim::DipoleFluxAlgorithm

Public Types

typedef DipoleFluxControl Control
 
- Public Types inherited from lsst::ip::diffim::DipoleFluxAlgorithm
typedef DipoleFluxControl Control
 A typedef to the Control object for this algorithm, defined above. More...
 
typedef meas::base::FluxResultKey ResultKey
 

Public Member Functions

 NaiveDipoleFlux (Control const &ctrl, std::string const &name, afw::table::Schema &schema)
 
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 fail (afw::table::SourceRecord &measRecord, meas::base::MeasurementError *error=NULL) const
 
- Public Member Functions inherited from lsst::ip::diffim::DipoleFluxAlgorithm
 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
 

Private Attributes

Control _ctrl
 
afw::table::Key< int > _numPositiveKey
 
afw::table::Key< int > _numNegativeKey
 

Additional Inherited Members

- Static Public Member Functions inherited from lsst::ip::diffim::DipoleFluxAlgorithm
static
meas::base::FlagDefinitionList
const & 
getFlagDefinitions ()
 
- Static Public Attributes inherited from lsst::ip::diffim::DipoleFluxAlgorithm
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 inherited from lsst::ip::diffim::DipoleFluxAlgorithm
 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 inherited from lsst::ip::diffim::DipoleFluxAlgorithm
Control _ctrl
 
meas::base::FluxResultKey _fluxResultKey
 
meas::base::FlagHandler _flagHandler
 
ResultKey _positiveKeys
 
ResultKey _negativeKeys
 

Detailed Description

Definition at line 211 of file DipoleAlgorithms.h.

Member Typedef Documentation

Definition at line 214 of file DipoleAlgorithms.h.

Constructor & Destructor Documentation

lsst::ip::diffim::NaiveDipoleFlux::NaiveDipoleFlux ( Control const &  ctrl,
std::string const &  name,
afw::table::Schema &  schema 
)
inline

Definition at line 216 of file DipoleAlgorithms.h.

Member Function Documentation

void lsst::ip::diffim::NaiveDipoleFlux::fail ( afw::table::SourceRecord &  measRecord,
meas::base::MeasurementError *  error = NULL 
) const

Definition at line 288 of file DipoleAlgorithms.cc.

void lsst::ip::diffim::NaiveDipoleFlux::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 268 of file DipoleAlgorithms.cc.

Member Data Documentation

Control lsst::ip::diffim::NaiveDipoleFlux::_ctrl
private

Definition at line 235 of file DipoleAlgorithms.h.

afw::table::Key<int> lsst::ip::diffim::NaiveDipoleFlux::_numNegativeKey
private

Definition at line 237 of file DipoleAlgorithms.h.

afw::table::Key<int> lsst::ip::diffim::NaiveDipoleFlux::_numPositiveKey
private

Definition at line 236 of file DipoleAlgorithms.h.


The documentation for this class was generated from the following files: