File BuildSingleKernelVisitor.h

Declaration of BuildSingleKernelVisitor.

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<BuildSingleKernelVisitor<PixelT>> makeBuildSingleKernelVisitor(lsst::afw::math::KernelList const &basisList, lsst::daf::base::PropertySet const &ps)
template<typename PixelT>
std::shared_ptr<BuildSingleKernelVisitor<PixelT>> makeBuildSingleKernelVisitor(lsst::afw::math::KernelList const &basisList, lsst::daf::base::PropertySet const &ps, Eigen::MatrixXd const &hMat)
template<typename PixelT>
class BuildSingleKernelVisitor : public lsst::afw::math::CandidateVisitor

Public Types

typedef std::shared_ptr<BuildSingleKernelVisitor<PixelT>> Ptr

Public Functions

BuildSingleKernelVisitor(lsst::afw::math::KernelList const &basisList, lsst::daf::base::PropertySet const &ps)
BuildSingleKernelVisitor(lsst::afw::math::KernelList const &basisList, lsst::daf::base::PropertySet const &ps, Eigen::MatrixXd const &hMat)
virtual ~BuildSingleKernelVisitor()
void setSkipBuilt(bool skip)
int getNRejected()
int getNProcessed()
void reset()
void processCandidate(lsst::afw::math::SpatialCellCandidate *candidate)

Private Types

typedef lsst::afw::image::MaskedImage<PixelT> MaskedImageT

Private Members

lsst::afw::math::KernelList const _basisList

Basis set.

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

PS controlling behavior.

Eigen::MatrixXd const _hMat

Regularization matrix.

ImageStatistics<PixelT> _imstats

To calculate statistics of difference image.

bool _skipBuilt

Skip over built candidates during processCandidate()

int _nRejected

Number of candidates rejected during processCandidate()

int _nProcessed

Number of candidates processed during processCandidate()

bool _useRegularization

Regularize if delta function basis.

bool _useCoreStats

Extracted from _ps.

int _coreRadius

Extracted from _ps.