34 SplinePackage(std::vector<double> pos,
const std::vector<double>& intensity);
64 double eval(
double pos)
const;
cubic spline interpolation as described in R.L. Burden, J.D. Faires, Numerical Analysis,...
Definition: CubicSpline2d.h:28
fundamental data structure for SplineInterpolatedPeaks
Definition: SplinePackage.h:29
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:79
double pos_max_
Definition: SplinePackage.h:71
CubicSpline2d spline_
spline object for interpolation of intensity profile
Definition: SplinePackage.h:84
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:70
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22