Go to the documentation of this file.
23 #ifndef _PEAKFITTER_HPP_
24 #define _PEAKFITTER_HPP_
48 Peak& result)
const = 0;
51 std::vector<size_t>& indices,
52 std::vector<Peak>& result)
const;
70 : windowRadius(_windowRadius)
89 #endif // _PEAKFITTER_HPP_
Config(size_t _windowRadius=1)
wrapper class for accessing contiguous data as a container of OrderedPairs; note that it does not own...
virtual void fitPeak(const math::OrderedPairContainerRef &pairs, size_t index, Peak &result) const =0
void fitPeaks(const math::OrderedPairContainerRef &pairs, std::vector< size_t > &indices, std::vector< Peak > &result) const
interface for fitting peaks in an array of ordered pairs
PeakFitter_Parabola(const Config &config=Config())
virtual void fitPeak(const math::OrderedPairContainerRef &pairs, size_t index, Peak &result) const
PeakFitter implementation based on fitting a parabola.
pwiz::data::peakdata::Peak Peak