Estimates if the data of a spectrum is raw data or peak data. More...
#include <OpenMS/FORMAT/PeakTypeEstimator.h>
Public Member Functions | |
template<typename PeakConstIterator > | |
SpectrumSettings::SpectrumType | estimateType (const PeakConstIterator &begin, const PeakConstIterator &end) const |
Estimates the peak type of the peaks in the iterator range based on the variance of inter-peak distances. More... | |
Estimates if the data of a spectrum is raw data or peak data.
|
inline |
Estimates the peak type of the peaks in the iterator range based on the variance of inter-peak distances.
References OpenMS::Math::mean(), SpectrumSettings::PEAKS, SpectrumSettings::RAWDATA, and SpectrumSettings::UNKNOWN.
OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:31 using doxygen 1.8.5 |