77 double eval(
double x)
const;
Implements a fitter for the Gumbel distribution.
Definition: GumbelDistributionFitter.h:60
virtual ~GumbelDistributionFitter()
Destructor.
GumbelDistributionFitter & operator=(const GumbelDistributionFitter &rhs)
assignment operator (not implemented)
GumbelDistributionFitter()
Default constructor.
GumbelDistributionFitter(const GumbelDistributionFitter &rhs)
Copy constructor (not implemented)
GumbelDistributionFitResult fit(std::vector< DPosition< 2 > > &points) const
Fits a gumbel distribution to the given data points.
GumbelDistributionFitResult fitWeighted(const std::vector< double > &x, const std::vector< double > &w)
Fits a gumbel distribution to the given data x values. Fills a weighted histogram first and generates...
GumbelDistributionFitResult init_param_
Definition: GumbelDistributionFitter.h:111
void setInitialParameters(const GumbelDistributionFitResult &result)
sets the gumbel distribution start parameters a and b for the fitting
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48
struct to represent the parameters of a gumbel distribution
Definition: GumbelDistributionFitter.h:65
double a
location parameter a
Definition: GumbelDistributionFitter.h:73
double b
scale parameter b
Definition: GumbelDistributionFitter.h:75
double log_eval_no_normalize(double x) const
double eval(double x) const
GumbelDistributionFitResult(double local_a=1.0, double local_b=2.0)
Definition: GumbelDistributionFitter.h:66