lsst.ip.diffim
14.0-8-gc7d89b4+1
|
A class to accumulate kernel sums across SpatialCells. More...
#include <KernelSumVisitor.h>
Public Types | |
enum | Mode { AGGREGATE = 0, REJECT = 1 } |
typedef std::shared_ptr< KernelSumVisitor< PixelT > > | Ptr |
Public Member Functions | |
KernelSumVisitor (lsst::pex::policy::Policy const &policy) | |
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 () |
virtual void | reset () |
Private Attributes | |
Mode | _mode |
Processing mode; AGGREGATE or REJECT. More... | |
std::vector< double > | _kSums |
List of all candidate kernel sums. More... | |
double | _kSumMean |
Clipped mean of the kernel sums. More... | |
double | _kSumStd |
Clipped standard deviation of kernel sums. More... | |
double | _dkSumMax |
Maximum acceptable deviation from mean sum. More... | |
int | _kSumNpts |
Number of points used in the statistics. More... | |
int | _nRejected |
Number of candidates rejected during processCandidate() More... | |
lsst::pex::policy::Policy | _policy |
Policy controlling behavior. More... | |
A class to accumulate kernel sums across SpatialCells.
Definition at line 27 of file KernelSumVisitor.h.
typedef std::shared_ptr<KernelSumVisitor<PixelT> > lsst::ip::diffim::detail::KernelSumVisitor< PixelT >::Ptr |
Definition at line 29 of file KernelSumVisitor.h.
enum lsst::ip::diffim::detail::KernelSumVisitor::Mode |
Enumerator | |
---|---|
AGGREGATE | |
REJECT |
Definition at line 31 of file KernelSumVisitor.h.
lsst::ip::diffim::detail::KernelSumVisitor< PixelT >::KernelSumVisitor | ( | lsst::pex::policy::Policy const & | policy | ) |
policy | Policy file directing behavior |
Definition at line 65 of file KernelSumVisitor.cc.
|
inlinevirtual |
Definition at line 34 of file KernelSumVisitor.h.
|
inline |
Definition at line 40 of file KernelSumVisitor.h.
|
inline |
Definition at line 38 of file KernelSumVisitor.h.
|
inline |
Definition at line 41 of file KernelSumVisitor.h.
|
inline |
Definition at line 39 of file KernelSumVisitor.h.
|
inline |
Definition at line 37 of file KernelSumVisitor.h.
|
virtual |
Reimplemented from lsst::afw::math::CandidateVisitor.
Definition at line 90 of file KernelSumVisitor.cc.
void lsst::ip::diffim::detail::KernelSumVisitor< PixelT >::processKsumDistribution | ( | ) |
Definition at line 127 of file KernelSumVisitor.cc.
void lsst::ip::diffim::detail::KernelSumVisitor< PixelT >::resetKernelSum | ( | ) |
Definition at line 80 of file KernelSumVisitor.cc.
|
inline |
Definition at line 36 of file KernelSumVisitor.h.
|
private |
Maximum acceptable deviation from mean sum.
Definition at line 52 of file KernelSumVisitor.h.
|
private |
Clipped mean of the kernel sums.
Definition at line 50 of file KernelSumVisitor.h.
|
private |
Number of points used in the statistics.
Definition at line 53 of file KernelSumVisitor.h.
|
private |
List of all candidate kernel sums.
Definition at line 49 of file KernelSumVisitor.h.
|
private |
Clipped standard deviation of kernel sums.
Definition at line 51 of file KernelSumVisitor.h.
|
private |
Processing mode; AGGREGATE or REJECT.
Definition at line 48 of file KernelSumVisitor.h.
|
private |
Number of candidates rejected during processCandidate()
Definition at line 54 of file KernelSumVisitor.h.
|
private |
Policy controlling behavior.
Definition at line 55 of file KernelSumVisitor.h.