fundamental data structure for SplineInterpolatedPeaks
More...
#include <OpenMS/FILTERING/DATAREDUCTION/SplinePackage.h>
|
| SplinePackage (std::vector< double > pos, const std::vector< double > &intensity) |
| constructor More...
|
|
| ~SplinePackage () |
| destructor More...
|
|
double | getPosMin () const |
| returns the minimum position for which the spline fit is valid More...
|
|
double | getPosMax () const |
| returns the maximum position for which the spline fit is valid More...
|
|
double | getPosStepWidth () const |
| returns a sensible position step width for the package More...
|
|
bool | isInPackage (double pos) const |
| returns true if position in [posMin:posMax] interval else false More...
|
|
double | eval (double pos) const |
| returns interpolated intensity position `pos` More...
|
|
fundamental data structure for SplineInterpolatedPeaks
In many cases, data points in MS spectra (or chromatograms) are not equidistant in m/z (or RT) but consist of packages of data points separated by wide m/z (or RT) ranges with zero intensity. SplinePackage contains the spline fit of a single set of such data points.
- See also
- SplineInterpolatedPeaks
◆ SplinePackage()
SplinePackage |
( |
std::vector< double > |
pos, |
|
|
const std::vector< double > & |
intensity |
|
) |
| |
◆ ~SplinePackage()
◆ eval()
double eval |
( |
double |
pos | ) |
const |
returns interpolated intensity position `pos`
◆ getPosMax()
double getPosMax |
( |
| ) |
const |
returns the maximum position for which the spline fit is valid
◆ getPosMin()
double getPosMin |
( |
| ) |
const |
returns the minimum position for which the spline fit is valid
◆ getPosStepWidth()
double getPosStepWidth |
( |
| ) |
const |
returns a sensible position step width for the package
◆ isInPackage()
bool isInPackage |
( |
double |
pos | ) |
const |
returns true if position in [posMin:posMax] interval else false
◆ pos_max_
◆ pos_min_
position limits of the package in the raw data spectrum
◆ pos_step_width_
◆ spline_
spline object for interpolation of intensity profile