Jpp
|
Template specialisation of fit function of acoustic model based on JAbstractMinimiser minimiser. More...
#include <JKatoomba.hh>
Public Types | |
typedef double | result_type |
Public Member Functions | |
JKatoomba (const JDetector &detector, const JSoundVelocity &velocity) | |
Constructor. More... | |
template<class JPDF_t > | |
result_type | operator() (const JModel &model, const JHit< JPDF_t > &hit) const |
Fit function. More... | |
template<class T > | |
result_type | operator() (const JModel &model, T __begin, T __end) |
Fit. More... | |
template<class JFunction_t , class T > | |
result_type | operator() (const JFunction_t &fit, T __begin, T __end) |
Get chi2. More... | |
template<class JPDF_t > | |
double | getToA (const JModel &model, const JHit< JPDF_t > &hit) const |
Get estimated time-of-arrival for given hit. More... | |
Public Attributes | |
JModel_t | value |
model value More... | |
const JDetector & | detector |
const JSoundVelocity & | velocity |
JLANG::JSharedPointer < JMEstimator > | estimator |
M-Estimator function. More... | |
Static Public Attributes | |
static int | debug = 0 |
debug level (default is off). More... | |
Template specialisation of fit function of acoustic model based on JAbstractMinimiser minimiser.
This class can be used to evaluate the chi2.
Definition at line 94 of file JKatoomba.hh.
typedef double JACOUSTICS::JKatoomba< JAbstractMinimiser >::result_type |
Definition at line 98 of file JKatoomba.hh.
|
inline |
Constructor.
detector | detector |
velocity | sound velocity |
Definition at line 107 of file JKatoomba.hh.
|
inline |
Fit function.
This method is used to determine the chi2 of given hit with respect to actual model.
model | model |
hit | hit |
Definition at line 122 of file JKatoomba.hh.
|
inline |
Fit.
model | model |
__begin | begin of hits |
__end | end of hits |
Definition at line 140 of file JKatoomba.hh.
|
inlineinherited |
Get chi2.
fit | fit function |
__begin | begin of data |
__end | end of data |
Definition at line 46 of file JRegressor.hh.
|
inlineinherited |
Get estimated time-of-arrival for given hit.
model | model |
hit | hit |
Definition at line 62 of file JKatoomba.hh.
|
inherited |
model value
Definition at line 57 of file JRegressor.hh.
|
staticinherited |
debug level (default is off).
Definition at line 45 of file JMessage.hh.
|
inherited |
Definition at line 75 of file JKatoomba.hh.
|
inherited |
Definition at line 76 of file JKatoomba.hh.
|
inherited |
M-Estimator function.
Definition at line 78 of file JKatoomba.hh.