Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Private Attributes | List of all members
SplineSpectrum::Navigator Class Reference

iterator class for access of spline packages More...

#include <OpenMS/FILTERING/DATAREDUCTION/SplineSpectrum.h>

Public Member Functions

 Navigator (const std::vector< SplinePackage > *packages, double mzMin, double mzMax)
 constructor of iterator More...
 
 ~Navigator ()
 destructor More...
 
double eval (double mz)
 returns spline interpolated intensity at m/z (fast access since we can start search from lastPackage) More...
 
double getNextMz (double mz)
 returns the next sensible m/z position for scanning through a spectrum (fast access since we can start search from lastPackage) More...
 

Private Attributes

const std::vector< SplinePackage > * packages_
 list of spline packages to be accessed More...
 
size_t last_package_
 index of spline package last accessed More...
 
double mz_min_
 m/z limits of the spectrum More...
 
double mz_max_
 

Detailed Description

iterator class for access of spline packages

Constructor & Destructor Documentation

◆ Navigator()

Navigator ( const std::vector< SplinePackage > *  packages,
double  mzMin,
double  mzMax 
)

constructor of iterator

◆ ~Navigator()

~Navigator ( )

destructor

Member Function Documentation

◆ eval()

double eval ( double  mz)

returns spline interpolated intensity at m/z (fast access since we can start search from lastPackage)

Referenced by SpectraMerger::averageProfileSpectra_().

◆ getNextMz()

double getNextMz ( double  mz)

returns the next sensible m/z position for scanning through a spectrum (fast access since we can start search from lastPackage)

Member Data Documentation

◆ last_package_

size_t last_package_
private

index of spline package last accessed

◆ mz_max_

double mz_max_
private

◆ mz_min_

double mz_min_
private

m/z limits of the spectrum

◆ packages_

const std::vector<SplinePackage>* packages_
private

list of spline packages to be accessed


OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:13 using doxygen 1.8.13