35 #ifndef OPENMS_FILTERING_TRANSFORMERS_THRESHOLDMOWER_H 
   36 #define OPENMS_FILTERING_TRANSFORMERS_THRESHOLDMOWER_H 
   73     template <
typename SpectrumType>
 
   77       spectrum.sortByIntensity();
 
   81       threshold_ = ((
DoubleReal)param_.getValue(
"threshold"));
 
   85         lower_bound(spectrum.begin(), spectrum.end(), p, 
typename SpectrumType::PeakType::IntensityLess())
 
   91     void filterPeakMap(
PeakMap & exp);
 
  103 #endif //OPENMS_FILTERING_TRANSFORMERS_THRESHOLDMOWER_H 
DoubleReal threshold_
Definition: ThresholdMower.h:96
Peak2D PeakType
Definition: MassTrace.h:49
void setIntensity(IntensityType intensity)
Non-mutable access to the data point intensity (height) 
Definition: Peak2D.h:167
ThresholdMower removes all peaks below a threshold. 
Definition: ThresholdMower.h:50
void filterSpectrum(SpectrumType &spectrum)
Definition: ThresholdMower.h:74
A base class for all classes handling default parameters. 
Definition: DefaultParamHandler.h:90
double DoubleReal
Double-precision real type. 
Definition: Types.h:118