Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Static Public Member Functions | List of all members
SpectrumAddition Class Reference

The SpectrumAddition is used to add up individual spectra. More...

#include <OpenMS/ANALYSIS/OPENSWATH/SpectrumAddition.h>

Static Public Member Functions

static OpenSwath::SpectrumPtr addUpSpectra (std::vector< OpenSwath::SpectrumPtr > all_spectra, double sampling_rate, bool filter_zeros)
 adds up a list of Spectra by resampling them and then addition of intensities More...
 
static OpenMS::MSSpectrum addUpSpectra (std::vector< OpenMS::MSSpectrum > all_spectra, double sampling_rate, bool filter_zeros)
 adds up a list of Spectra by resampling them and then addition of intensities More...
 

Detailed Description

The SpectrumAddition is used to add up individual spectra.

It uses the given sampling rate to resample the spectra in m/z domain and then add them up. This may lead to a certain inaccuracy, especially if a inappropriate resampling rate is chosen.

Member Function Documentation

◆ addUpSpectra() [1/2]

static OpenSwath::SpectrumPtr addUpSpectra ( std::vector< OpenSwath::SpectrumPtr all_spectra,
double  sampling_rate,
bool  filter_zeros 
)
static

adds up a list of Spectra by resampling them and then addition of intensities

◆ addUpSpectra() [2/2]

static OpenMS::MSSpectrum addUpSpectra ( std::vector< OpenMS::MSSpectrum all_spectra,
double  sampling_rate,
bool  filter_zeros 
)
static

adds up a list of Spectra by resampling them and then addition of intensities


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