Implements a fitter for the Gamma distribution.
Definition: GammaDistributionFitter.h:61
GammaDistributionFitter()
Default constructor.
void setInitialParameters(const GammaDistributionFitResult &result)
sets the gamma distribution start parameters b and p for the fitting
GammaDistributionFitResult fit(const std::vector< DPosition< 2 > > &points)
Fits a gamma distribution to the given data points.
virtual ~GammaDistributionFitter()
Destructor.
GammaDistributionFitResult init_param_
Definition: GammaDistributionFitter.h:101
GammaDistributionFitter(const GammaDistributionFitter &rhs)
Copy constructor (not implemented to prevent usage)
GammaDistributionFitter & operator=(const GammaDistributionFitter &rhs)
assignment operator (not implemented to prevent usage)
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
struct to represent the parameters of a gamma distribution
Definition: GammaDistributionFitter.h:66
double b
parameter b of the gamma distribution
Definition: GammaDistributionFitter.h:76
GammaDistributionFitResult(double bIn, double pIn)
Definition: GammaDistributionFitter.h:69
double p
parameter p of the gamma distribution
Definition: GammaDistributionFitter.h:79