|
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 . More... | |
| double | operator() (double real, double model, double weight) const |
Returns the modified residual. More... | |
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:
: is a constant (typical value
)
: is the weight of the residual
: is the real value of the data
: is the corresponding model value 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()().
1.8.5