Implements a fitter for the Gumbel distribution. More...
#include <OpenMS/MATH/STATISTICS/GumbelDistributionFitter.h>
Classes | |
struct | GumbelDistributionFitResult |
struct to represent the parameters of a gumbel distribution More... | |
Public Member Functions | |
GumbelDistributionFitter () | |
Default constructor. More... | |
virtual | ~GumbelDistributionFitter () |
Destructor. More... | |
void | setInitialParameters (const GumbelDistributionFitResult &result) |
sets the gumbel distribution start parameters a and b for the fitting More... | |
GumbelDistributionFitResult | fit (std::vector< DPosition< 2 > > &points) |
Fits a gumbel distribution to the given data points. More... | |
Protected Attributes | |
GumbelDistributionFitResult | init_param_ |
Private Member Functions | |
GumbelDistributionFitter (const GumbelDistributionFitter &rhs) | |
Copy constructor (not implemented) More... | |
GumbelDistributionFitter & | operator= (const GumbelDistributionFitter &rhs) |
assignment operator (not implemented) More... | |
Implements a fitter for the Gumbel distribution.
This class fits a Gumbel distribution to a number of data points. The results as well as the initial guess are specified using the struct GumbelDistributionFitResult.
The formula with the fitted parameters can be transformed into a gnuplot formula using getGnuplotFormula() after fitting.
Default constructor.
|
virtual |
Destructor.
|
private |
Copy constructor (not implemented)
GumbelDistributionFitResult fit | ( | std::vector< DPosition< 2 > > & | points | ) |
Fits a gumbel distribution to the given data points.
points | Input parameter which represents the point used for the fitting |
Exception::UnableToFit | is thrown if fitting cannot be performed |
|
private |
assignment operator (not implemented)
void setInitialParameters | ( | const GumbelDistributionFitResult & | result | ) |
sets the gumbel distribution start parameters a and b for the fitting
|
protected |
OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:15 using doxygen 1.8.13 |