24#ifndef _PEAKDETECTORNAIVE_HPP_
25#define _PEAKDETECTORNAIVE_HPP_
50 static std::auto_ptr<PeakDetectorNaive>
create(
double noiseFactor = 5,
51 unsigned int detectionRadius = 2);
Class for binary storage of complex frequency data.
Interface for finding peaks in frequency data.
Naive implementation of the PeakDetector interface.
virtual void findPeaks(const pwiz::data::FrequencyData &fd, pwiz::data::peakdata::Scan &result) const =0
Find the peaks in the frequency data, filling in Scan structure.
virtual double noiseFactor() const =0
virtual ~PeakDetectorNaive()
virtual unsigned int detectionRadius() const =0
static std::auto_ptr< PeakDetectorNaive > create(double noiseFactor=5, unsigned int detectionRadius=2)
create an instance.