File SincCoeffs.h

namespace lsst

Class for a simple mapping implementing a generic AstrometryTransform.

Remove all non-astronomical counts from the Chunk Exposure’s pixels.

Forward declarations for lsst::utils::Cache

For details on the Cache class, see the Cache.h file.

It uses a template rather than a pointer so that the derived classes can use the specifics of the transform. The class simplePolyMapping overloads a few routines.

A base class for image defects

Numeric constants used by the Integrate.h integrator routines.

Compute Image Statistics

Note

Gauss-Kronrod-Patterson quadrature coefficients for use in quadpack routine qng. These coefficients were calculated with 101 decimal digit arithmetic by L. W. Fullerton, Bell Labs, Nov 1981.

Note

The Statistics class itself can only handle lsst::afw::image::MaskedImage() types. The philosophy has been to handle other types by making them look like lsst::afw::image::MaskedImage() and reusing that code. Users should have no need to instantiate a Statistics object directly, but should use the overloaded makeStatistics() factory functions.

namespace meas
namespace base
template<typename PixelT>
class SincCoeffs
#include <SincCoeffs.h>

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).

Public Types

typedef afw::image::Image<PixelT> CoeffT

Public Static Functions

static void cache(float rInner, float rOuter)

Cache the coefficients for a particular aperture

The aperture is a circular annulus.

Private Types

typedef std::map<float, PTR(CoeffT), FuzzyCompare<float>> CoeffMap
typedef std::map<float, CoeffMap, FuzzyCompare<float>> CoeffMapMap

Private Functions

SincCoeffs()
SincCoeffs(SincCoeffs const&)
void operator=(SincCoeffs const&)

Private Members

PTR (CoeffT const) _lookup(afw CoeffMapMap lsst::meas::base::SincCoeffs::_cache

Private Static Functions

static SincCoeffs &getInstance()
template<typename T>
struct FuzzyCompare

Calculate the coefficients for an aperture.

Get the coefficients for an aperture

Coefficients are retrieved from the cache, if available; otherwise they will be generated.

Public Functions

template<>
bool operator()(T x, T y) const
template<>
bool isEqual(T x, T y) const