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