Public Member Functions

GaussianFunction Struct Reference
[Classes of the ODIN data processing framework (odindata library)]

#include <fitting.h>

Inheritance diagram for GaussianFunction:
Inheritance graph
[legend]

List of all members.

Public Member Functions

float evaluate_f (float x) const
fvector evaluate_df (float x) const
unsigned int numof_fitpars () const
fitparget_fitpar (unsigned int i)

Detailed Description

A function to fit an Gaussian curve to an 1D data set. It uses the function

A * exp( - 2 * ( (x-x0) / fwhm )^2 )

Definition at line 235 of file fitting.h.


Member Function Documentation

fvector GaussianFunction::evaluate_df ( float  x  )  const [virtual]

Returns the first derivatives at position 'x'.

Implements ModelFunction.

float GaussianFunction::evaluate_f ( float  x  )  const [virtual]

Returns the function value at position 'x'.

Implements ModelFunction.

fitpar& GaussianFunction::get_fitpar ( unsigned int  i  )  [virtual]

Returns reference to the i'th fitting parameter.

Implements ModelFunction.

unsigned int GaussianFunction::numof_fitpars (  )  const [virtual]

Returns the number of independent fitting parameters.

Implements ModelFunction.


The documentation for this struct was generated from the following file: