OpenMS  2.6.0
Namespaces | Enumerations | Functions
SpectrumHelper.h File Reference
#include <OpenMS/MATH/STATISTICS/StatisticFunctions.h>
#include <OpenMS/CONCEPT/LogStream.h>
Include dependency graph for SpectrumHelper.h:

Go to the source code of this file.

Namespaces

 OpenMS
 Main OpenMS namespace.
 

Enumerations

enum  IntensityAveragingMethod : int {
  MEDIAN, MEAN, SUM, MIN,
  MAX
}
 Possible methods for merging peak intensities. More...
 

Functions

template<class DataArrayT >
DataArrayT::iterator getDataArrayByName (DataArrayT &a, const String &name)
 Helper functions for MSSpectrum and MSChromatogram. More...
 
template<class DataArrayT >
DataArrayT::const_iterator getDataArrayByName (const DataArrayT &a, const String &name)
 
template<typename PeakContainerT >
void removePeaks (PeakContainerT &p, const double pos_start, const double pos_end, const bool ignore_data_arrays=false)
 remove all peaks EXCEPT in the given range More...
 
template<typename PeakContainerT >
void subtractMinimumIntensity (PeakContainerT &p)
 
template<typename PeakContainerT >
void makePeakPositionUnique (PeakContainerT &p, const IntensityAveragingMethod m=IntensityAveragingMethod::MEDIAN)
 Make peak positions unique. More...