Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes

LmaGaussFitter1D Class Reference

Gaussian distribution fitter (1-dim.) using Levenberg-Marquardt algorithm (GSL implementation) for parameter optimization. More...

#include <OpenMS/TRANSFORMATIONS/FEATUREFINDER/LmaGaussFitter1D.h>

Inheritance diagram for LmaGaussFitter1D:
LevMarqFitter1D Fitter1D DefaultParamHandler FeatureFinderDefs

List of all members.

Classes

struct  Data
 Helper struct (contains the size of an area and a raw data container). More...

Public Member Functions

 LmaGaussFitter1D ()
 Default constructor.
 LmaGaussFitter1D (const LmaGaussFitter1D &source)
 copy constructor
virtual ~LmaGaussFitter1D ()
 destructor
virtual LmaGaussFitter1Doperator= (const LmaGaussFitter1D &source)
 assignment operator
QualityType fit1d (const RawDataArrayType &range, InterpolationModel *&model)
 return interpolation model

Static Public Member Functions

static Fitter1Dcreate ()
 create new LmaGaussFitter1D object (function needed by Factory)
static const String getProductName ()
 name of the model (needed by Factory)

Protected Member Functions

void setInitialParameters_ (const RawDataArrayType &set)
 Compute start parameter.
void printState_ (Int iter, gsl_multifit_fdfsolver *s)
void updateMembers_ ()

Static Protected Member Functions

static Int residual_ (const gsl_vector *x, void *params, gsl_vector *f)
 Evaluation of the target function for nonlinear optimization.
static Int jacobian_ (const gsl_vector *x, void *params, gsl_matrix *J)
 Compute the Jacobian matrix, where each row of the matrix corresponds to a point in the data.
static Int evaluate_ (const gsl_vector *x, void *params, gsl_vector *f, gsl_matrix *J)
 Driver function for the evaluation of function and jacobian.

Protected Attributes

CoordinateType standard_deviation_
 parameter of gauss function: standard deviation
CoordinateType scale_factor_
 parameter of gauss function: scale factor
CoordinateType expected_value_
 parameter of gauss function: expected value

Detailed Description

Gaussian distribution fitter (1-dim.) using Levenberg-Marquardt algorithm (GSL implementation) for parameter optimization.

Parameters of this class are:

NameTypeDefaultRestrictionsDescription
interpolation_step float0.2  Sampling rate for the interpolation of the model function.
tolerance_stdev_bounding_box float3  Bounding box has range [minimim of data, maximum of data] enlarged by tolerance_stdev_bounding_box times the standard deviation of the data.
max_iteration int500  Maximum number of iterations using by Levenberg-Marquardt algorithm.
deltaAbsError float0.0001  Absolute error used by the Levenberg-Marquardt algorithm.
deltaRelError float0.0001  Relative error used by the Levenberg-Marquardt algorithm.
statistics:mean float1  Centroid position of the model.
statistics:variance float1  Variance of the model.

Note:

Constructor & Destructor Documentation

Default constructor.

LmaGaussFitter1D ( const LmaGaussFitter1D source  ) 

copy constructor

virtual ~LmaGaussFitter1D (  )  [virtual]

destructor


Member Function Documentation

static Fitter1D* create (  )  [inline, static]

create new LmaGaussFitter1D object (function needed by Factory)

static Int evaluate_ ( const gsl_vector *  x,
void *  params,
gsl_vector *  f,
gsl_matrix *  J 
) [static, protected]

Driver function for the evaluation of function and jacobian.

QualityType fit1d ( const RawDataArrayType range,
InterpolationModel *&  model 
) [virtual]

return interpolation model

Reimplemented from Fitter1D.

static const String getProductName (  )  [inline, static]

name of the model (needed by Factory)

static Int jacobian_ ( const gsl_vector *  x,
void *  params,
gsl_matrix *  J 
) [static, protected]

Compute the Jacobian matrix, where each row of the matrix corresponds to a point in the data.

virtual LmaGaussFitter1D& operator= ( const LmaGaussFitter1D source  )  [virtual]

assignment operator

void printState_ ( Int  iter,
gsl_multifit_fdfsolver *  s 
) [protected, virtual]

Diplay the intermediate state of the solution. The solver state contains the vector s->x which is the current position, and the vector s->f with corresponding function values

Implements LevMarqFitter1D.

static Int residual_ ( const gsl_vector *  x,
void *  params,
gsl_vector *  f 
) [static, protected]

Evaluation of the target function for nonlinear optimization.

void setInitialParameters_ ( const RawDataArrayType set  )  [protected]

Compute start parameter.

void updateMembers_ (  )  [protected, virtual]

Reimplemented from LevMarqFitter1D.


Member Data Documentation

parameter of gauss function: expected value

parameter of gauss function: scale factor

parameter of gauss function: standard deviation


OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:57 using doxygen 1.7.1