#include <OpenMS/TRANSFORMATIONS/FEATUREFINDER/LmaGaussModel.h>
To be used in combination with the Levenberg-Marquardt algorithm fitting algorithm.
LmaGaussModel Parameters are explained on a separate page.
Public Types | |
typedef InterpolationModel::CoordinateType | CoordinateType |
typedef Math::BasicStatistics < CoordinateType > | BasicStatistics |
Public Member Functions | |
LmaGaussModel () | |
Default constructor. | |
LmaGaussModel (const LmaGaussModel &source) | |
copy constructor | |
virtual | ~LmaGaussModel () |
destructor | |
virtual LmaGaussModel & | operator= (const LmaGaussModel &source) |
assignment operator | |
void | setOffset (CoordinateType offset) |
set offset without being computing all over and without any discrepancy | |
void | setSamples () |
set sample/supporting points of interpolation | |
CoordinateType | getCenter () const |
get the center of the Gaussian model i.e. the position of the maximum | |
Static Public Member Functions | |
static BaseModel< 1 > * | create () |
create new EmgModel object (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_ |
BasicStatistics | statistics_ |
CoordinateType | scale_factor_ |
CoordinateType | standard_deviation_ |
CoordinateType | expected_value_ |
Reimplemented from InterpolationModel.
LmaGaussModel | ( | ) |
Default constructor.
LmaGaussModel | ( | const LmaGaussModel & | source | ) |
copy constructor
virtual ~LmaGaussModel | ( | ) | [virtual] |
destructor
virtual LmaGaussModel& operator= | ( | const LmaGaussModel & | source | ) | [virtual] |
assignment operator
void setOffset | ( | CoordinateType | offset | ) |
set offset without being computing all over and without any discrepancy
void setSamples | ( | ) | [virtual] |
CoordinateType getCenter | ( | ) | const [virtual] |
get the center of the Gaussian 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.
CoordinateType min_ [protected] |
CoordinateType max_ [protected] |
BasicStatistics statistics_ [protected] |
CoordinateType scale_factor_ [protected] |
CoordinateType standard_deviation_ [protected] |
CoordinateType expected_value_ [protected] |
Generated Tue Apr 1 15:36:47 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |