![]() |
OpenMS
|
Implements a fitter for the Gamma distribution. More...
#include <OpenMS/MATH/STATISTICS/GammaDistributionFitter.h>
Classes | |
| struct | GammaDistributionFitResult |
| struct to represent the parameters of a gamma distribution More... | |
Public Member Functions | |
| GammaDistributionFitter () | |
| Default constructor. More... | |
| virtual | ~GammaDistributionFitter () |
| Destructor. More... | |
| void | setInitialParameters (const GammaDistributionFitResult &result) |
| sets the gamma distribution start parameters b and p for the fitting More... | |
| GammaDistributionFitResult | fit (const std::vector< DPosition< 2 > > &points) const |
| Fits a gamma distribution to the given data points. More... | |
Protected Attributes | |
| GammaDistributionFitResult | init_param_ |
Private Member Functions | |
| GammaDistributionFitter (const GammaDistributionFitter &rhs) | |
| Copy constructor (not implemented to prevent usage) More... | |
| GammaDistributionFitter & | operator= (const GammaDistributionFitter &rhs) |
| assignment operator (not implemented to prevent usage) More... | |
Implements a fitter for the Gamma distribution.
This class fits a Gamma distribution to a number of data points. The results as well as the initial guess are specified using the struct GammaDistributionFitResult.
Default constructor.
|
virtual |
Destructor.
|
private |
Copy constructor (not implemented to prevent usage)
| GammaDistributionFitResult fit | ( | const std::vector< DPosition< 2 > > & | points | ) | const |
Fits a gamma 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 to prevent usage)
| void setInitialParameters | ( | const GammaDistributionFitResult & | result | ) |
sets the gamma distribution start parameters b and p for the fitting
|
protected |