23 #ifndef _PEAKFINDER_HPP_ 24 #define _PEAKFINDER_HPP_ 29 #include "boost/shared_ptr.hpp" 44 std::vector<size_t>& resultIndices)
const = 0;
64 double _zValueThreshold = 3,
65 bool _preprocessWithLogarithm =
true,
66 std::ostream* _log = 0)
67 : windowRadius(_windowRadius),
68 zValueThreshold(_zValueThreshold),
69 preprocessWithLogarithm(_preprocessWithLogarithm),
78 std::vector<size_t>& resultIndices)
const;
90 #endif // _PEAKFINDER_HPP_
bool preprocessWithLogarithm
interface for finding peaks in an array of ordered pairs
Config(size_t _windowRadius=2, double _zValueThreshold=3, bool _preprocessWithLogarithm=true, std::ostream *_log=0)
PeakFinder implementation based on signal-to-noise ratio.
boost::shared_ptr< NoiseCalculator > noiseCalculator_
wrapper class for accessing contiguous data as a container of OrderedPairs; note that it does not own...