OpenMS  2.4.0
Public Member Functions | Public Attributes | List of all members
GaussFitter::GaussFitResult Struct Reference

struct of parameters of a Gaussian distribution More...

#include <OpenMS/MATH/STATISTICS/GaussFitter.h>

Public Member Functions

 GaussFitResult ()
 
 GaussFitResult (double a, double x, double s)
 
double eval (const double x) const
 Evaluate the current Gaussian model at the specified point. More...
 

Public Attributes

double A
 parameter A of Gaussian distribution (amplitude) More...
 
double x0
 parameter x0 of Gaussian distribution (center position) More...
 
double sigma
 parameter sigma of Gaussian distribution (width) More...
 

Detailed Description

struct of parameters of a Gaussian distribution

Constructor & Destructor Documentation

◆ GaussFitResult() [1/2]

GaussFitResult ( )
inline

◆ GaussFitResult() [2/2]

GaussFitResult ( double  a,
double  x,
double  s 
)
inline

Member Function Documentation

◆ eval()

double eval ( const double  x) const

Evaluate the current Gaussian model at the specified point.

Returns the intensities (i.e. probabilities scaled by the factor 'A') of the PDF at the given positions. This function can be called with any set of parameters, e.g. the initial parameters (to get a 'before-fit' status), or after fitting.

Member Data Documentation

◆ A

double A

parameter A of Gaussian distribution (amplitude)

◆ sigma

double sigma

parameter sigma of Gaussian distribution (width)

Referenced by PosteriorErrorProbabilityModel::getGumbel_().

◆ x0

double x0

parameter x0 of Gaussian distribution (center position)

Referenced by PosteriorErrorProbabilityModel::getGumbel_().