OpenMS
2.8.0
|
#include <OpenMS/MATH/STATISTICS/StatisticFunctions.h>
#include <OpenMS/METADATA/DataArrays.h>
#include <OpenMS/KERNEL/MSSpectrum.h>
#include <OpenMS/CONCEPT/LogStream.h>
Go to the source code of this file.
Namespaces | |
OpenMS | |
Main OpenMS namespace. | |
Enumerations | |
enum class | 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... | |