ProteoWizard
|
#include <LocalMaximumPeakDetector.hpp>
Public Member Functions | |
LocalMaximumPeakDetector (size_t windowSize) | |
virtual void | detect (const std::vector< double > &x, const std::vector< double > &y, std::vector< double > &xPeakValues, std::vector< double > &yPeakValues, std::vector< Peak > *peaks=NULL) |
finds all local maxima, i.e. | |
![]() | |
virtual | ~PeakDetector () |
Private Attributes | |
size_t | window_ |
Definition at line 32 of file LocalMaximumPeakDetector.hpp.
pwiz::analysis::LocalMaximumPeakDetector::LocalMaximumPeakDetector | ( | size_t | windowSize | ) |
|
virtual |
finds all local maxima, i.e.
any point that has a greater y value than both of its neighboring points; note: the peaks array, if non-NULL, only provides x and y values
Implements pwiz::analysis::PeakDetector.
Referenced by test().
|
private |
Definition at line 44 of file LocalMaximumPeakDetector.hpp.