51 double eval(
double x)
const;
Implements a fitter for the Gumbel distribution.
Definition: GumbelDistributionFitter.h:34
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:85
void setInitialParameters(const GumbelDistributionFitResult &result)
sets the gumbel distribution start parameters a and b for the fitting
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
struct to represent the parameters of a gumbel distribution
Definition: GumbelDistributionFitter.h:39
double a
location parameter a
Definition: GumbelDistributionFitter.h:47
double b
scale parameter b
Definition: GumbelDistributionFitter.h:49
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:40