#include <SimpleMinMaxPeakFinder.h>

Public Member Functions | |
| virtual bool | isPeak (const std::vector< double > &signal, unsigned int index) const |
| SimpleMinMaxPeakFinder (double minValue=0.0, double minDifference=0.0) | |
Representation of a simple algorithm for peak finding. The class represents a simple algorithm for finding peaks in discrete signals. The algorithm finds both positive and negative peaks.
Definition at line 37 of file SimpleMinMaxPeakFinder.h.
| SimpleMinMaxPeakFinder::SimpleMinMaxPeakFinder | ( | double | minValue = 0.0, |
|
| double | minDifference = 0.0 | |||
| ) |
Constructor. Creates and initializes the peak finder.
| minValue | The minimum value for a peak to be considerated valid. The negative value is used for the negative peak. | |
| minDifference | The minimum difference a peak should have with respect to its immediate neighbours. The negative value is used for the negative peak. |
Definition at line 3 of file SimpleMinMaxPeakFinder.cpp.
| bool SimpleMinMaxPeakFinder::isPeak | ( | const std::vector< double > & | signal, | |
| unsigned int | index | |||
| ) | const [virtual] |
Checks if the given index represents a peak in the monodimensional signal
Reimplemented from SimplePeakFinder.
Definition at line 9 of file SimpleMinMaxPeakFinder.cpp.