70 template <
typename SpectrumType>
76 double intens = it->getIntensity();
82 it->setIntensity(std::sqrt(intens));
86 std::cerr <<
"Warning negative intensities were set to zero" << std::endl;
93 void filterPeakMap(
PeakMap & exp);
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
ContainerType::iterator Iterator
Mutable iterator.
Definition: MSSpectrum.h:101
The representation of a 1D spectrum.
Definition: MSSpectrum.h:66
void filterSpectrum(SpectrumType &spectrum)
Definition: SqrtMower.h:71
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
Scales the intensity of peaks to the sqrt.
Definition: SqrtMower.h:51
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:91