OpenMS  3.0.0
SpectrumHelper.h File Reference
Include dependency graph for SpectrumHelper.h:
This graph shows which files directly or indirectly include this file:

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...
 
void copySpectrumMeta (const MSSpectrum &input, MSSpectrum &output, bool clear_spectrum=true)
 Copies only the meta data contained in the input spectrum to the output spectrum. More...