Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

LmaGaussFitter1D Class Reference
[FeatureFinder]

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

Inheritance diagram for LmaGaussFitter1D:

LevMarqFitter1D Fitter1D FactoryProduct FeatureFinderDefs DefaultParamHandler

List of all members.


Detailed Description

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

LmaGaussFitter1D Parameters are explained on a separate page.

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 BiGaussModel 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_ ()
 This method is used to update extra member variables at the end of the setParam() method.

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

Classes

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


Constructor & Destructor Documentation

LmaGaussFitter1D (  ) 

Default constructor.

LmaGaussFitter1D ( const LmaGaussFitter1D source  ) 

copy constructor

virtual ~LmaGaussFitter1D (  )  [virtual]

destructor


Member Function Documentation

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

assignment operator

static Fitter1D* create (  )  [inline, static]

create new BiGaussModel object (function needed by Factory)

static const String getProductName (  )  [inline, static]

name of the model (needed by Factory)

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

return interpolation model

Implements Fitter1D.

void setInitialParameters_ ( const RawDataArrayType set  )  [protected]

Compute start parameter.

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

Evaluation of the target function for nonlinear optimization.

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.

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.

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.

void updateMembers_ (  )  [protected, virtual]

This method is used to update extra member variables at the end of the setParam() method.

Also call it at the end of the derived classes' copy constructor and assignment operator.

The default implementation is empty.

Reimplemented from LevMarqFitter1D.


Member Data Documentation

CoordinateType standard_deviation_ [protected]

parameter of gauss function: standard deviation

CoordinateType scale_factor_ [protected]

parameter of gauss function: scale factor

CoordinateType expected_value_ [protected]

parameter of gauss function: expected value


The documentation for this class was generated from the following file:
Generated Tue Apr 1 15:36:47 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1