|
OpenMS
2.6.0
|
Go to the documentation of this file.
73 template <
typename SpectrumType>
76 if (spectrum.empty())
return;
79 typename SpectrumType::size_type count = spectrum.size();
86 if (it->getIntensity() != last_int)
90 last_int = it->getIntensity();
91 it->setIntensity(count);
93 while (it != spectrum.begin());
98 void filterPeakMap(
PeakMap & exp);
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
void sortByIntensity(bool reverse=false)
Lexicographically sorts the peaks by their intensity.
void filterSpectrum(SpectrumType &spectrum)
Definition: Scaler.h:74
float IntensityType
Intensity type.
Definition: Peak1D.h:63
Scaler scales the peak by ranking the peaks and assigning intensity according to rank.
Definition: Scaler.h:51
ContainerType::iterator Iterator
Mutable iterator.
Definition: MSSpectrum.h:126
The representation of a 1D spectrum.
Definition: MSSpectrum.h:67