12 #ifndef LSST_IP_DIFFIM_ASSESSSPATIALKERNELVISITOR_H 13 #define LSST_IP_DIFFIM_ASSESSSPATIALKERNELVISITOR_H 25 template<
typename PixelT>
58 template<
typename PixelT>
std::shared_ptr< AssessSpatialKernelVisitor< PixelT > > Ptr
An include file to include the header files for lsst::ip::diffim.
int _nProcessed
Number of candidates processed during processCandidate()
Asseses the quality of a candidate given a spatial kernel and background model.
AssessSpatialKernelVisitor(std::shared_ptr< lsst::afw::math::LinearCombinationKernel > spatialKernel, lsst::afw::math::Kernel::SpatialFunctionPtr spatialBackground, lsst::pex::policy::Policy const &policy)
std::shared_ptr< AssessSpatialKernelVisitor< PixelT > > makeAssessSpatialKernelVisitor(std::shared_ptr< lsst::afw::math::LinearCombinationKernel > spatialKernel, lsst::afw::math::Kernel::SpatialFunctionPtr spatialBackground, lsst::pex::policy::Policy const &policy)
virtual ~AssessSpatialKernelVisitor()
lsst::afw::image::MaskedImage< PixelT > MaskedImageT
bool _useCoreStats
Extracted from policy.
int _nRejected
Number of candidates rejected during processCandidate()
std::shared_ptr< lsst::afw::math::LinearCombinationKernel > _spatialKernel
Spatial kernel function.
ImageStatistics< PixelT > _imstats
To calculate statistics of difference image.
Class to calculate difference image statistics.
lsst::afw::math::Kernel::SpatialFunctionPtr _spatialBackground
Spatial background function.
void processCandidate(lsst::afw::math::SpatialCellCandidate *candidate)
int _nGood
Number of good candidates remaining.
int _coreRadius
Extracted from policy.
lsst::pex::policy::Policy _policy
Policy controlling behavior.