SourceXtractorPlusPlus
0.10
Please provide a description of the project.
|
Data vs model comparator which computes a modified residual.
More...
#include <LogChiSquareComparator.h>
Public Member Functions | |
LogChiSquareComparator (double u0=10.) | |
Creates a new LogChiSquareComparator instance with the given ![]() | |
double | operator() (double real, double model, double weight) const |
Returns the modified ![]() | |
Private Attributes | |
double | m_u0 |
Data vs model comparator which computes a modified residual.
The residual is modified to be more immune against occasionally large non-Gaussian deviations. It is computed as:
where:
Definition at line 52 of file LogChiSquareComparator.h.
|
inline |
Creates a new LogChiSquareComparator instance with the given .
Definition at line 57 of file LogChiSquareComparator.h.
|
inline |
Returns the modified residual.
Definition at line 60 of file LogChiSquareComparator.h.
References std::log(), and m_u0.
|
private |
Definition at line 67 of file LogChiSquareComparator.h.
Referenced by operator()().