LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
#include <SincCoeffs.h>
Classes | |
struct | FuzzyCompare |
Public Types | |
typedef afw::image::Image< PixelT > | CoeffT |
Static Public Member Functions | |
static void | cache (float rInner, float rOuter) |
static boost::shared_ptr < CoeffT const > | get (afw::geom::ellipses::Axes const &outerEllipse, float const innerRadiusFactor=0.0) |
static boost::shared_ptr< CoeffT > | calculate (afw::geom::ellipses::Axes const &outerEllipse, double const innerFactor=0.0) |
Calculate the coefficients for an aperture. More... | |
Private Types | |
typedef std::map< float, boost::shared_ptr< CoeffT > , FuzzyCompare< float > > | CoeffMap |
typedef std::map< float, CoeffMap, FuzzyCompare< float > > | CoeffMapMap |
Private Member Functions | |
SincCoeffs () | |
SincCoeffs (SincCoeffs const &) | |
void | operator= (SincCoeffs const &) |
boost::shared_ptr< CoeffT const > | _lookup (afw::geom::ellipses::Axes const &outerEllipse, double const innerRadiusFactor=0.0) const |
Static Private Member Functions | |
static SincCoeffs & | getInstance () |
Private Attributes | |
CoeffMapMap | _cache |
A singleton to calculate and cache the coefficients for sinc photometry
Caching is only performed for circular apertures (because elliptical apertures are assumed to be generated dynamically, and hence not expected to recur). Caching must be explicitly requested for a particular circular aperture (using the 'cache' method).
Definition at line 43 of file SincCoeffs.h.
|
private |
Definition at line 83 of file SincCoeffs.h.
|
private |
Definition at line 84 of file SincCoeffs.h.
typedef afw::image::Image<PixelT> lsst::meas::base::SincCoeffs< PixelT >::CoeffT |
Definition at line 46 of file SincCoeffs.h.
|
inlineprivate |
Definition at line 85 of file SincCoeffs.h.
|
private |
|
private |
Definition at line 540 of file SincCoeffs.cc.
|
static |
Cache the coefficients for a particular aperture
The aperture is a circular annulus.
Definition at line 515 of file SincCoeffs.cc.
|
static |
|
static |
Get the coefficients for an aperture
Coefficients are retrieved from the cache, if available; otherwise they will be generated.
Definition at line 532 of file SincCoeffs.cc.
|
staticprivate |
Definition at line 508 of file SincCoeffs.cc.
|
private |
|
private |
Definition at line 99 of file SincCoeffs.h.