SimpleMinMaxPeakFinder Class Reference

#include <SimpleMinMaxPeakFinder.h>

Inheritance diagram for SimpleMinMaxPeakFinder:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool isPeak (const std::vector< double > &signal, unsigned int index) const
 SimpleMinMaxPeakFinder (double minValue=0.0, double minDifference=0.0)

Detailed Description

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.

Author:
Gian Diego Tipaldi

Definition at line 37 of file SimpleMinMaxPeakFinder.h.


Constructor & Destructor Documentation

SimpleMinMaxPeakFinder::SimpleMinMaxPeakFinder ( double  minValue = 0.0,
double  minDifference = 0.0 
)

Constructor. Creates and initializes the peak finder.

Parameters:
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.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines


flirtlib
Author(s): Bhaskara Marthi, Gian Diego Tipaldi
autogenerated on Fri Jan 11 11:15:48 2013