lsst.ip.diffim  13.0-26-g703d095+11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | Private Attributes | List of all members
lsst::ip::diffim::PsfDipoleFlux Class Reference

Implementation of Psf dipole flux. More...

#include <DipoleAlgorithms.h>

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

Public Types

typedef PsfDipoleFluxControl Control
 
typedef meas::base::FluxResultKey ResultKey
 

Public Member Functions

 PsfDipoleFlux (PsfDipoleFluxControl const &ctrl, std::string const &name, afw::table::Schema &schema)
 
std::pair< double, int > chi2 (afw::table::SourceRecord &source, afw::image::Exposure< float > const &exposure, double negCenterX, double negCenterY, double negFlux, double posCenterX, double poCenterY, double posFlux) const
 
void measure (afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure) const
 
void fail (afw::table::SourceRecord &measRecord, meas::base::MeasurementError *error=NULL) const
 
ResultKey const & getPositiveKeys () const
 Return the standard flux keys registered by this algorithm. More...
 
ResultKey const & getNegativeKeys () 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 Attributes

meas::base::FluxResultKey _fluxResultKey
 
meas::base::FlagHandler _flagHandler
 
ResultKey _positiveKeys
 
ResultKey _negativeKeys
 

Private Attributes

Control _ctrl
 
afw::table::Key< float > _chi2dofKey
 
meas::base::CentroidResultKey _avgCentroid
 
meas::base::CentroidResultKey _negCentroid
 
meas::base::CentroidResultKey _posCentroid
 

Detailed Description

Implementation of Psf dipole flux.

Definition at line 289 of file DipoleAlgorithms.h.

Member Typedef Documentation

Definition at line 292 of file DipoleAlgorithms.h.

typedef meas::base::FluxResultKey lsst::ip::diffim::DipoleFluxAlgorithm::ResultKey
inherited

Definition at line 131 of file DipoleAlgorithms.h.

Constructor & Destructor Documentation

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

Definition at line 294 of file DipoleAlgorithms.h.

Member Function Documentation

std::pair< double, int > lsst::ip::diffim::PsfDipoleFlux::chi2 ( afw::table::SourceRecord &  source,
afw::image::Exposure< float > const &  exposure,
double  negCenterX,
double  negCenterY,
double  negFlux,
double  posCenterX,
double  poCenterY,
double  posFlux 
) const

Definition at line 352 of file DipoleAlgorithms.cc.

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

Definition at line 513 of file DipoleAlgorithms.cc.

meas::base::FlagDefinitionList const & lsst::ip::diffim::DipoleFluxAlgorithm::getFlagDefinitions ( )
staticinherited

Definition at line 66 of file DipoleAlgorithms.cc.

ResultKey const& lsst::ip::diffim::DipoleFluxAlgorithm::getNegativeKeys ( ) const
inlineinherited

Definition at line 134 of file DipoleAlgorithms.h.

ResultKey const& lsst::ip::diffim::DipoleFluxAlgorithm::getPositiveKeys ( ) const
inlineinherited

Return the standard flux keys registered by this algorithm.

Definition at line 133 of file DipoleAlgorithms.h.

void lsst::ip::diffim::PsfDipoleFlux::measure ( afw::table::SourceRecord &  measRecord,
afw::image::Exposure< float > const &  exposure 
) const

Definition at line 417 of file DipoleAlgorithms.cc.

Member Data Documentation

meas::base::CentroidResultKey lsst::ip::diffim::PsfDipoleFlux::_avgCentroid
private

Definition at line 327 of file DipoleAlgorithms.h.

afw::table::Key<float> lsst::ip::diffim::PsfDipoleFlux::_chi2dofKey
private

Definition at line 326 of file DipoleAlgorithms.h.

Control lsst::ip::diffim::PsfDipoleFlux::_ctrl
private

Definition at line 325 of file DipoleAlgorithms.h.

meas::base::FlagHandler lsst::ip::diffim::DipoleFluxAlgorithm::_flagHandler
protectedinherited

Definition at line 145 of file DipoleAlgorithms.h.

meas::base::FluxResultKey lsst::ip::diffim::DipoleFluxAlgorithm::_fluxResultKey
protectedinherited

Definition at line 144 of file DipoleAlgorithms.h.

ResultKey lsst::ip::diffim::DipoleFluxAlgorithm::_negativeKeys
protectedinherited

Definition at line 148 of file DipoleAlgorithms.h.

meas::base::CentroidResultKey lsst::ip::diffim::PsfDipoleFlux::_negCentroid
private

Definition at line 328 of file DipoleAlgorithms.h.

meas::base::CentroidResultKey lsst::ip::diffim::PsfDipoleFlux::_posCentroid
private

Definition at line 329 of file DipoleAlgorithms.h.

ResultKey lsst::ip::diffim::DipoleFluxAlgorithm::_positiveKeys
protectedinherited

Definition at line 147 of file DipoleAlgorithms.h.

meas::base::FlagDefinition const lsst::ip::diffim::DipoleFluxAlgorithm::FAILURE = dipoleFluxFlagDefinitions.addFailureFlag("general failure flag, set if anything went wrong")
staticinherited

Definition at line 118 of file DipoleAlgorithms.h.

meas::base::FlagDefinition const lsst::ip::diffim::DipoleFluxAlgorithm::NEG_FLAG = dipoleFluxFlagDefinitions.add("neg_flag", "failure flag for negative, set if anything went wrong")
staticinherited

Definition at line 120 of file DipoleAlgorithms.h.

meas::base::FlagDefinition const lsst::ip::diffim::DipoleFluxAlgorithm::POS_FLAG = dipoleFluxFlagDefinitions.add("pos_flag", "failure flag for positive, set if anything went wrong")
staticinherited

Definition at line 119 of file DipoleAlgorithms.h.


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