35 #ifndef OPENMS_FILTERING_DATAREDUCTION_SPLINESPECTRUM_H 36 #define OPENMS_FILTERING_DATAREDUCTION_SPLINESPECTRUM_H 66 SplineSpectrum(
const std::vector<double>& mz,
const std::vector<double>& intensity);
67 SplineSpectrum(
const std::vector<double>& mz,
const std::vector<double>& intensity,
double scaling);
84 double getMzMin()
const;
89 double getMzMax()
const;
97 size_t getSplineCount()
const;
108 Navigator(
const std::vector<SplinePackage> * packages,
double mzMin,
double mzMax);
119 double eval(
double mz);
126 double getNextMz(
double mz);
179 void init_(
const std::vector<double>& mz,
const std::vector<double>& intensity,
double scaling);
iterator class for access of spline packages
Definition: SplineSpectrum.h:102
double mz_max_
Definition: SplineSpectrum.h:144
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
double mz_max_
Definition: SplineSpectrum.h:169
std::vector< SplinePackage > packages_
set of spline packages each interpolating in a certain m/z range
Definition: SplineSpectrum.h:174
The representation of a 1D spectrum.
Definition: MSSpectrum.h:67
Data structure for spline interpolation of MS1 spectra.
Definition: SplineSpectrum.h:57
const std::vector< SplinePackage > * packages_
list of spline packages to be accessed
Definition: SplineSpectrum.h:133
double mz_min_
m/z limits of the spectrum
Definition: SplineSpectrum.h:168
double mz_min_
m/z limits of the spectrum
Definition: SplineSpectrum.h:143
size_t last_package_
index of spline package last accessed
Definition: SplineSpectrum.h:138