|
OpenMS
2.6.0
|
Go to the documentation of this file.
77 template <
typename SpectrumType>
80 if (spectrum.size() <= peakcount_)
return;
86 std::vector<Size> indices;
87 for (
Size i = 0; i != peakcount_; ++i)
96 void filterPeakMap(
PeakMap & exp);
103 void updateMembers_()
override;
MSSpectrum & select(const std::vector< Size > &indices)
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
NLargest removes all but the n largest peaks.
Definition: NLargest.h:54
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.
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
void filterSpectrum(SpectrumType &spectrum)
Definition: NLargest.h:78
UInt peakcount_
Definition: NLargest.h:104
The representation of a 1D spectrum.
Definition: MSSpectrum.h:67