96 static_cast<int>(data->n)),
100 int operator()(
const Eigen::VectorXd& x, Eigen::VectorXd& fvec)
const override;
102 int df(
const Eigen::VectorXd& x, Eigen::MatrixXd& J)
const override;
Definition: EmgFitter1D.h:92
static const EmgFitter1D::CoordinateType sqrt_2
Definition: EmgFitter1D.h:109
int df(const Eigen::VectorXd &x, Eigen::MatrixXd &J) const override
const EmgFitter1D::Data * m_data
Definition: EmgFitter1D.h:105
static const EmgFitter1D::CoordinateType emg_const
Definition: EmgFitter1D.h:108
int operator()(const Eigen::VectorXd &x, Eigen::VectorXd &fvec) const override
EgmFitterFunctor(int dimensions, const EmgFitter1D::Data *data)
Definition: EmgFitter1D.h:94
static const EmgFitter1D::CoordinateType c
Definition: EmgFitter1D.h:106
static const EmgFitter1D::CoordinateType sqrt2pi
Definition: EmgFitter1D.h:107
Exponentially modified gaussian distribution fitter (1-dim.) using Levenberg-Marquardt algorithm (Eig...
Definition: EmgFitter1D.h:49
static Fitter1D * create()
create new EmgFitter1D object (function needed by Factory)
Definition: EmgFitter1D.h:65
~EmgFitter1D() override
destructor
std::vector< PeakType > RawDataArrayType
Definition: EmgFitter1D.h:84
virtual void setInitialParameters_(const RawDataArrayType &set)
Compute start parameter.
EmgFitter1D()
Default constructor.
RawDataArrayType set
Definition: EmgFitter1D.h:87
Size n
Definition: EmgFitter1D.h:86
CoordinateType height_
Parameter of emg - peak height.
Definition: EmgFitter1D.h:119
QualityType fit1d(const RawDataArrayType &range, std::unique_ptr< InterpolationModel > &model) override
return interpolation model
CoordinateType retention_
Parameter of emg - peak retention time.
Definition: EmgFitter1D.h:125
virtual EmgFitter1D & operator=(const EmgFitter1D &source)
assignment operator
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
Peak1D PeakType
Definition: EmgFitter1D.h:83
void setInitialParametersMOM_(const RawDataArrayType &set)
EmgFitter1D(const EmgFitter1D &source)
copy constructor
CoordinateType width_
Parameter of emg - peak width.
Definition: EmgFitter1D.h:121
CoordinateType symmetry_
Parameter of emg - peak symmetry.
Definition: EmgFitter1D.h:123
static const String getProductName()
name of the model (needed by Factory)
Definition: EmgFitter1D.h:71
Helper struct (contains the size of an area and a raw data container)
Definition: EmgFitter1D.h:82
Abstract base class for all 1D-dimensional model fitter.
Definition: Fitter1D.h:62
std::vector< PeakType > RawDataArrayType
Peak type data container type using for the temporary storage of the input data.
Definition: Fitter1D.h:76
Feature::QualityType QualityType
Quality of a feature.
Definition: Fitter1D.h:72
Feature::CoordinateType CoordinateType
Single coordinate.
Definition: Fitter1D.h:70
Definition: LevMarqFitter1D.h:62
Abstract class for 1D-model fitter using Levenberg-Marquardt algorithm for parameter optimization.
Definition: LevMarqFitter1D.h:53
A 1-dimensional raw data point or peak.
Definition: Peak1D.h:54
A more convenient string class.
Definition: String.h:61
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47