LSSTApplications  8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
Classes | Public Member Functions | List of all members
lsst::meas::algorithms::ScaledFlux Class Referenceabstract

An abstract base class for flux algorithms that need to be scaled to a common system. More...

#include <ScaledFlux.h>

Classes

struct  KeyTuple
 

Public Member Functions

virtual int getFluxCount () const
 Return the number of normalizable flux measurements provided by this algorithm. More...
 
virtual afw::table::KeyTuple
< afw::table::Flux
getFluxKeys (int n=0) const =0
 Return the keys that correspond to the nth flux measurement. More...
 
virtual KeyTuple getFluxCorrectionKeys (int n=0) const =0
 Return the flux-correction keys that correspond to the nth flux measurement. More...
 
virtual ~ScaledFlux ()
 

Detailed Description

An abstract base class for flux algorithms that need to be scaled to a common system.

This is intended as an extra (i.e multiple-inheritance) base class for flux measurement algorithms, but it doesn't inherit from Algorithm itself so there should be no diamond hierarchy problems.

Algorithms that inherit from ScaledFlux must also apply themselves to the PSF model, storing the "flux" and an error flag using keys available through the ScaledFlux interface. The actual fluxes and flux errors will then be corrected using this "PSF factor" measurement and the measured aperture corrections at the aperture corrections stage.

Inheriting from ScaledFlux is now what marks a flux measurement as one that requires aperture corrections, unlike the previous system, in which fluxes to correct were part of the aperture correction configuration.

Definition at line 54 of file ScaledFlux.h.

Constructor & Destructor Documentation

virtual lsst::meas::algorithms::ScaledFlux::~ScaledFlux ( )
inlinevirtual

Definition at line 91 of file ScaledFlux.h.

91 {}

Member Function Documentation

virtual KeyTuple lsst::meas::algorithms::ScaledFlux::getFluxCorrectionKeys ( int  n = 0) const
pure virtual

Return the flux-correction keys that correspond to the nth flux measurement.

virtual int lsst::meas::algorithms::ScaledFlux::getFluxCount ( ) const
inlinevirtual

Return the number of normalizable flux measurements provided by this algorithm.

Definition at line 83 of file ScaledFlux.h.

83 { return 1; }
virtual afw::table::KeyTuple<afw::table::Flux> lsst::meas::algorithms::ScaledFlux::getFluxKeys ( int  n = 0) const
pure virtual

Return the keys that correspond to the nth flux measurement.


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