72 virtual int operator()(
const Eigen::VectorXd& x, Eigen::VectorXd& fvec) = 0;
74 virtual int df(
const Eigen::VectorXd& x, Eigen::MatrixXd& J) = 0;
141 virtual bool checkMinimalRTSpan(
const std::pair<double, double>& rt_bounds,
const double min_rt_span) = 0;
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:93
A more convenient string class.
Definition: String.h:61
Definition: TraceFitter.h:63
virtual int df(const Eigen::VectorXd &x, Eigen::MatrixXd &J)=0
virtual ~GenericFunctor()
GenericFunctor(int dimensions, int num_data_points)
virtual int operator()(const Eigen::VectorXd &x, Eigen::VectorXd &fvec)=0
const int m_inputs
Definition: TraceFitter.h:77
Abstract fitter for RT profile fitting.
Definition: TraceFitter.h:57
TraceFitter()
default constructor
virtual double getLowerRTBound() const =0
virtual void fit(FeatureFinderAlgorithmPickedHelperStructs::MassTraces &traces)=0
FeatureFinderAlgorithmPickedHelperStructs::MassTraces * traces_ptr
Definition: TraceFitter.h:169
bool weighted_
Whether to weight mass traces by theoretical intensity during the optimization.
Definition: TraceFitter.h:189
virtual double getHeight() const =0
void optimize_(Eigen::VectorXd &x_init, GenericFunctor &functor)
virtual String getGnuplotFormula(const FeatureFinderAlgorithmPickedHelperStructs::MassTrace &trace, const char function_name, const double baseline, const double rt_shift)=0
bool weighted
Definition: TraceFitter.h:170
virtual double getValue(double rt) const =0
virtual double getCenter() const =0
TraceFitter & operator=(const TraceFitter &source)
assignment operator
double computeTheoretical(const FeatureFinderAlgorithmPickedHelperStructs::MassTrace &trace, Size k) const
virtual double getUpperRTBound() const =0
virtual double getFWHM() const =0
TraceFitter(const TraceFitter &source)
copy constructor
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
virtual bool checkMaximalRTSpan(const double max_rt_span)=0
virtual double getArea()=0
SignedSize max_iterations_
Maximum number of iterations.
Definition: TraceFitter.h:187
~TraceFitter() override
destructor
virtual void getOptimizedParameters_(const Eigen::VectorXd &)=0
virtual bool checkMinimalRTSpan(const std::pair< double, double > &rt_bounds, const double min_rt_span)=0
Definition: TraceFitter.h:168
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:134
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
const double k
Definition: Constants.h:153
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Helper struct for mass traces used in FeatureFinderAlgorithmPicked.
Definition: FeatureFinderAlgorithmPickedHelperStructs.h:80
Helper struct for a collection of mass traces used in FeatureFinderAlgorithmPicked.
Definition: FeatureFinderAlgorithmPickedHelperStructs.h:111