ODIN
|
#include <fitting.h>
Public Member Functions | |
void | set_pars (float alphaval, float xmax, float ymax) |
float | evaluate_f (float x) const |
fvector | evaluate_df (float x) const |
unsigned int | numof_fitpars () const |
fitpar & | get_fitpar (unsigned int i) |
Public Member Functions inherited from ModelFunction | |
Array< float, 1 > | get_function (const Array< float, 1 > &xvals) const |
Class for fitting gamma variate function to a 1D curve
y= A*x^alpha*exp(-x/beta)
|
virtual |
Returns the first derivatives at position 'x'.
Implements ModelFunction.
|
virtual |
Returns the function value at position 'x'.
Implements ModelFunction.
|
virtual |
Returns reference to the i'th fitting parameter.
Implements ModelFunction.
|
virtual |
Returns the number of independent fitting parameters.
Implements ModelFunction.
void GammaVariateFunction::set_pars | ( | float | alphaval, |
float | xmax, | ||
float | ymax | ||
) |
Set parameters from a simplified set of parameters: xmax and ymax are the x- and y-values of the maximum (see Madsen, Phys. Med. Biol. 37, 1992)