File KernelSumVisitor.h

Declaration of KernelSumVisitor.

Author

Andrew Becker, University of Washington

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 ip
namespace diffim
namespace detail

Functions

template<typename PixelT>
std::shared_ptr<KernelSumVisitor<PixelT>> makeKernelSumVisitor(lsst::daf::base::PropertySet const &ps)
template<typename PixelT>
class KernelSumVisitor : public lsst::afw::math::CandidateVisitor

Public Types

enum Mode

Values:

AGGREGATE = 0
REJECT = 1
typedef std::shared_ptr<KernelSumVisitor<PixelT>> Ptr

Public Functions

KernelSumVisitor(lsst::daf::base::PropertySet const &ps)
virtual ~KernelSumVisitor()
void setMode(Mode mode)
int getNRejected()
double getkSumMean()
double getkSumStd()
double getdkSumMax()
int getkSumNpts()
void resetKernelSum()
void processCandidate(lsst::afw::math::SpatialCellCandidate *candidate)
void processKsumDistribution()

Private Members

Mode _mode

Processing mode; AGGREGATE or REJECT.

std::vector<double> _kSums

List of all candidate kernel sums.

double _kSumMean

Clipped mean of the kernel sums.

double _kSumStd

Clipped standard deviation of kernel sums.

double _dkSumMax

Maximum acceptable deviation from mean sum.

int _kSumNpts

Number of points used in the statistics.

int _nRejected

Number of candidates rejected during processCandidate()

lsst::daf::base::PropertySet::Ptr _ps

Config controlling behavior.