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

EmgFitter1D Class Reference
[FeatureFinder]

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

Inheritance diagram for EmgFitter1D:

LevMarqFitter1D Fitter1D FactoryProduct FeatureFinderDefs DefaultParamHandler

List of all members.


Detailed Description

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

EmgFitter1D Parameters are explained on a separate page.

Public Member Functions

 EmgFitter1D ()
 Default constructor.
 EmgFitter1D (const EmgFitter1D &source)
 copy constructor
virtual ~EmgFitter1D ()
 destructor
virtual EmgFitter1Doperator= (const EmgFitter1D &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 height_
 Parameter of emg - peak height.
CoordinateType width_
 Parameter of emg - peak width.
CoordinateType symmetry_
 Parameter of emg - peak symmetry.
CoordinateType retention_
 Parameter of emg - peak retention time.

Classes

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


Constructor & Destructor Documentation

EmgFitter1D (  ) 

Default constructor.

EmgFitter1D ( const EmgFitter1D source  ) 

copy constructor

virtual ~EmgFitter1D (  )  [virtual]

destructor


Member Function Documentation

virtual EmgFitter1D& operator= ( const EmgFitter1D 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 height_ [protected]

Parameter of emg - peak height.

CoordinateType width_ [protected]

Parameter of emg - peak width.

CoordinateType symmetry_ [protected]

Parameter of emg - peak symmetry.

CoordinateType retention_ [protected]

Parameter of emg - peak retention time.


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