Implements a fitter for the Gumbel distribution.
Definition: GumbelMaxLikelihoodFitter.h:32
virtual ~GumbelMaxLikelihoodFitter()
Destructor.
GumbelMaxLikelihoodFitter & operator=(const GumbelMaxLikelihoodFitter &rhs)
assignment operator (not implemented)
GumbelMaxLikelihoodFitter(const GumbelMaxLikelihoodFitter &rhs)
Copy constructor (not implemented)
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: GumbelMaxLikelihoodFitter.h:76
GumbelMaxLikelihoodFitter(GumbelDistributionFitResult init)
Default constructor.
GumbelMaxLikelihoodFitter()
Default constructor.
void setInitialParameters(const GumbelDistributionFitResult &result)
sets the gumbel distribution start parameters a and b for the fitting
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
struct to represent the parameters of a gumbel distribution
Definition: GumbelMaxLikelihoodFitter.h:38
double a
location parameter a
Definition: GumbelMaxLikelihoodFitter.h:46
double b
scale parameter b
Definition: GumbelMaxLikelihoodFitter.h:48
double log_eval_no_normalize(double x) const
GumbelDistributionFitResult(double local_a, double local_b)
Definition: GumbelMaxLikelihoodFitter.h:39