lsst.ip.diffim
13.0-22-g3839dbb+23
|
Asseses the quality of a candidate given a spatial kernel and background model. More...
#include <AssessSpatialKernelVisitor.h>
Public Types | |
typedef std::shared_ptr< AssessSpatialKernelVisitor< PixelT > > | Ptr |
Public Member Functions | |
AssessSpatialKernelVisitor (std::shared_ptr< lsst::afw::math::LinearCombinationKernel > spatialKernel, lsst::afw::math::Kernel::SpatialFunctionPtr spatialBackground, lsst::pex::policy::Policy const &policy) | |
virtual | ~AssessSpatialKernelVisitor () |
void | reset () |
int | getNGood () |
int | getNRejected () |
int | getNProcessed () |
void | processCandidate (lsst::afw::math::SpatialCellCandidate *candidate) |
Private Types | |
typedef lsst::afw::image::MaskedImage< PixelT > | MaskedImageT |
Private Attributes | |
std::shared_ptr< lsst::afw::math::LinearCombinationKernel > | _spatialKernel |
Spatial kernel function. More... | |
lsst::afw::math::Kernel::SpatialFunctionPtr | _spatialBackground |
Spatial background function. More... | |
lsst::pex::policy::Policy | _policy |
Policy controlling behavior. More... | |
ImageStatistics< PixelT > | _imstats |
To calculate statistics of difference image. More... | |
int | _nGood |
Number of good candidates remaining. More... | |
int | _nRejected |
Number of candidates rejected during processCandidate() More... | |
int | _nProcessed |
Number of candidates processed during processCandidate() More... | |
bool | _useCoreStats |
Extracted from policy. More... | |
int | _coreRadius |
Extracted from policy. More... | |
Asseses the quality of a candidate given a spatial kernel and background model.
Definition at line 26 of file AssessSpatialKernelVisitor.h.
|
private |
Definition at line 27 of file AssessSpatialKernelVisitor.h.
typedef std::shared_ptr<AssessSpatialKernelVisitor<PixelT> > lsst::ip::diffim::detail::AssessSpatialKernelVisitor< PixelT >::Ptr |
Definition at line 29 of file AssessSpatialKernelVisitor.h.
lsst::ip::diffim::detail::AssessSpatialKernelVisitor< PixelT >::AssessSpatialKernelVisitor | ( | std::shared_ptr< lsst::afw::math::LinearCombinationKernel > | spatialKernel, |
lsst::afw::math::Kernel::SpatialFunctionPtr | spatialBackground, | ||
lsst::pex::policy::Policy const & | policy | ||
) |
spatialKernel | Spatially varying kernel |
spatialBackground | Spatially varying background |
policy | Policy file |
Definition at line 54 of file AssessSpatialKernelVisitor.cc.
|
inlinevirtual |
Definition at line 36 of file AssessSpatialKernelVisitor.h.
|
inline |
Definition at line 40 of file AssessSpatialKernelVisitor.h.
|
inline |
Definition at line 42 of file AssessSpatialKernelVisitor.h.
|
inline |
Definition at line 41 of file AssessSpatialKernelVisitor.h.
void lsst::ip::diffim::detail::AssessSpatialKernelVisitor< PixelT >::processCandidate | ( | lsst::afw::math::SpatialCellCandidate * | candidate | ) |
Definition at line 72 of file AssessSpatialKernelVisitor.cc.
|
inline |
Definition at line 38 of file AssessSpatialKernelVisitor.h.
|
private |
Extracted from policy.
Definition at line 55 of file AssessSpatialKernelVisitor.h.
|
private |
To calculate statistics of difference image.
Definition at line 49 of file AssessSpatialKernelVisitor.h.
|
private |
Number of good candidates remaining.
Definition at line 50 of file AssessSpatialKernelVisitor.h.
|
private |
Number of candidates processed during processCandidate()
Definition at line 52 of file AssessSpatialKernelVisitor.h.
|
private |
Number of candidates rejected during processCandidate()
Definition at line 51 of file AssessSpatialKernelVisitor.h.
|
private |
Policy controlling behavior.
Definition at line 48 of file AssessSpatialKernelVisitor.h.
|
private |
Spatial background function.
Definition at line 47 of file AssessSpatialKernelVisitor.h.
|
private |
Spatial kernel function.
Definition at line 46 of file AssessSpatialKernelVisitor.h.
|
private |
Extracted from policy.
Definition at line 54 of file AssessSpatialKernelVisitor.h.