Implements a fitter for the Gumbel distribution.
Definition: GumbelMaxLikelihoodFitter.h:58
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:102
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:48
struct to represent the parameters of a gumbel distribution
Definition: GumbelMaxLikelihoodFitter.h:64
double a
location parameter a
Definition: GumbelMaxLikelihoodFitter.h:72
double b
scale parameter b
Definition: GumbelMaxLikelihoodFitter.h:74
double log_eval_no_normalize(double x) const
GumbelDistributionFitResult(double local_a, double local_b)
Definition: GumbelMaxLikelihoodFitter.h:65