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

BiGaussModel Class Reference
[FeatureFinder]

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

Inheritance diagram for BiGaussModel:

InterpolationModel BaseModel< 1 > FactoryProduct DefaultParamHandler

List of all members.


Detailed Description

Bigaussian distribution approximated using linear interpolation.

Asymmetric distribution realized via two normal distributions with different variances combined at the mean.

BiGaussModel Parameters are explained on a separate page.

Public Types

typedef
InterpolationModel::CoordinateType 
CoordinateType

Public Member Functions

 BiGaussModel ()
 Default constructor.
 BiGaussModel (const BiGaussModel &source)
 copy constructor
virtual ~BiGaussModel ()
 destructor
virtual BiGaussModeloperator= (const BiGaussModel &source)
 assignment operator
void setOffset (CoordinateType offset)
 set the offset of the model
void setSamples ()
 set sample/supporting points of interpolation
CoordinateType getCenter () const
 get the center of the BiGaussian model i.e. the position of the maximum

Static Public Member Functions

static BaseModel< 1 > * create ()
 create new BiGaussModel object (function needed by Factory)
static const String getProductName ()
 name of the model (needed by Factory)

Protected Member Functions

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

Protected Attributes

CoordinateType min_
CoordinateType max_
Math::BasicStatistics statistics1_
Math::BasicStatistics statistics2_


Member Typedef Documentation

typedef InterpolationModel::CoordinateType CoordinateType

Reimplemented from InterpolationModel.


Constructor & Destructor Documentation

BiGaussModel (  ) 

Default constructor.

BiGaussModel ( const BiGaussModel source  ) 

copy constructor

virtual ~BiGaussModel (  )  [virtual]

destructor


Member Function Documentation

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

assignment operator

static BaseModel<1>* create (  )  [inline, static]

create new BiGaussModel object (function needed by Factory)

static const String getProductName (  )  [inline, static]

name of the model (needed by Factory)

void setOffset ( CoordinateType  offset  ) 

set the offset of the model

The whole model will be shifted to the new offset without being computing all over. and without any discrepancy.

void setSamples (  )  [virtual]

set sample/supporting points of interpolation

Implements InterpolationModel.

CoordinateType getCenter (  )  const [virtual]

get the center of the BiGaussian model i.e. the position of the maximum

Implements InterpolationModel.

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 InterpolationModel.


Member Data Documentation

CoordinateType min_ [protected]

CoordinateType max_ [protected]

Math::BasicStatistics statistics1_ [protected]

Math::BasicStatistics statistics2_ [protected]


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