44 template<
typename _Scalar,
int _Rows,
int _Cols,
int _Options,
int _MaxRows,
int _MaxCols>
46 using MatrixXd = Matrix<double, -1, -1, 0, -1, -1>;
47 using VectorXd = Matrix<double, -1, 1, 0, -1, 1>;
148 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:60
Definition: TraceFitter.h:70
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:84
Abstract fitter for RT profile fitting.
Definition: TraceFitter.h:64
TraceFitter()
default constructor
virtual double getLowerRTBound() const =0
virtual void fit(FeatureFinderAlgorithmPickedHelperStructs::MassTraces &traces)=0
FeatureFinderAlgorithmPickedHelperStructs::MassTraces * traces_ptr
Definition: TraceFitter.h:176
bool weighted_
Whether to weight mass traces by theoretical intensity during the optimization.
Definition: TraceFitter.h:196
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:177
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:194
~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:175
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
Definition: IsobaricIsotopeCorrector.h:41
Matrix< double, -1, -1, 0, -1, -1 > MatrixXd
Definition: IsobaricIsotopeCorrector.h:44
Matrix< double, -1, 1, 0, -1, 1 > VectorXd
Definition: IsobaricIsotopeCorrector.h:45
Definition: IsobaricIsotopeCorrector.h:43
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