60 SplinePackage(std::vector<double> pos,
const std::vector<double>& intensity);
90 double eval(
double pos)
const;
cubic spline interpolation as described in R.L. Burden, J.D. Faires, Numerical Analysis,...
Definition: CubicSpline2d.h:54
fundamental data structure for SplineInterpolatedPeaks
Definition: SplinePackage.h:55
double getPosMax() const
returns the maximum position for which the spline fit is valid
double eval(double pos) const
returns interpolated intensity position `pos`
SplinePackage(std::vector< double > pos, const std::vector< double > &intensity)
constructor
bool isInPackage(double pos) const
returns true if position in [posMin:posMax] interval else false
~SplinePackage()
destructor
double getPosStepWidth() const
returns a sensible position step width for the package
double pos_step_width_
sensible position step width with which to scan through the package
Definition: SplinePackage.h:105
double pos_max_
Definition: SplinePackage.h:97
CubicSpline2d spline_
spline object for interpolation of intensity profile
Definition: SplinePackage.h:110
double getPosMin() const
returns the minimum position for which the spline fit is valid
double pos_min_
position limits of the package in the raw data spectrum
Definition: SplinePackage.h:96
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48