#include <PeakFinder.h>
Public Member Functions | |
virtual void | findPeaks (const std::vector< std::vector< double > > &signal, std::vector< std::vector< unsigned int > > &indexes) const =0 |
virtual void | findPeaks (const std::vector< double > &signal, std::vector< unsigned int > &indexes) const =0 |
virtual bool | isPeak (const std::vector< std::vector< double > > &signal, unsigned int index1, unsigned int index2) const =0 |
virtual bool | isPeak (const std::vector< double > &signal, unsigned int index) const =0 |
Representation of an abstract algorithm for peak finding. The class represents an abstract algorithm for finding peaks in discrete signals.
Definition at line 35 of file PeakFinder.h.
virtual void PeakFinder::findPeaks | ( | const std::vector< std::vector< double > > & | signal, | |
std::vector< std::vector< unsigned int > > & | indexes | |||
) | const [pure virtual] |
Finds the indexes of the peaks in a bidimensional signal.
Implemented in SimplePeakFinder.
virtual void PeakFinder::findPeaks | ( | const std::vector< double > & | signal, | |
std::vector< unsigned int > & | indexes | |||
) | const [pure virtual] |
Finds the indexes of the peaks in a monodimensional signal.
Implemented in SimplePeakFinder.
virtual bool PeakFinder::isPeak | ( | const std::vector< std::vector< double > > & | signal, | |
unsigned int | index1, | |||
unsigned int | index2 | |||
) | const [pure virtual] |
Checks if the given indexes represent a peak in the bidimensional signal
Implemented in SimplePeakFinder.
virtual bool PeakFinder::isPeak | ( | const std::vector< double > & | signal, | |
unsigned int | index | |||
) | const [pure virtual] |
Checks if the given index represents a peak in the monodimensional signal
Implemented in SimpleMinMaxPeakFinder, and SimplePeakFinder.