LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
24 #ifndef LSST_MEAS_BASE_SincCoeffs_h_INCLUDED
25 #define LSST_MEAS_BASE_SincCoeffs_h_INCLUDED
44 template <
typename PixelT>
54 static void cache(
float rInner,
float rOuter);
72 bool operator()(T
x, T
y)
const {
76 return (
x -
y < 0) ? true :
false;
83 SincCoeffs() : _cache(){};
84 SincCoeffs(SincCoeffs
const&);
85 void operator=(SincCoeffs
const&);
87 static SincCoeffs& getInstance();
95 _lookup(afw::geom::ellipses::Axes
const& outerEllipse,
double const innerRadiusFactor = 0.0)
const;
104 #endif // !LSST_MEAS_BASE_SincCoeffs_h_INCLUDED
static boost::shared_ptr< CoeffT > calculate(afw::geom::ellipses::Axes const &outerEllipse, double const innerFactor=0.0)
Calculate the coefficients for an aperture.
afw::image::Image< PixelT > CoeffT
static void cache(float rInner, float rOuter)
Cache the coefficients for a particular aperture.
An ellipse core for the semimajor/semiminor axis and position angle parametrization (a,...
static boost::shared_ptr< CoeffT const > get(afw::geom::ellipses::Axes const &outerEllipse, float const innerRadiusFactor=0.0)
Get the coefficients for an aperture.
A singleton to calculate and cache the coefficients for sinc photometry.
A base class for image defects.
A class to represent a 2-dimensional array of pixels.