|
OpenMS
2.6.0
|
Go to the documentation of this file.
74 template <
typename SpectrumType>
77 threshold_ = ((
double)param_.getValue(
"threshold"));
78 std::vector<Size> indices;
79 for (
Size i = 0; i != spectrum.size(); ++i)
81 if (spectrum[i].getIntensity() >= threshold_)
91 void filterPeakMap(
PeakMap & exp);
MSSpectrum & select(const std::vector< Size > &indices)
double threshold_
Definition: ThresholdMower.h:96
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
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
void filterSpectrum(SpectrumType &spectrum)
Definition: ThresholdMower.h:75
ThresholdMower removes all peaks below a threshold.
Definition: ThresholdMower.h:51
The representation of a 1D spectrum.
Definition: MSSpectrum.h:67