Marsyas  0.5.0-beta1
Public Member Functions
PeakEnhancer Class Reference

Enhance peaks that are harmonic. More...

#include <PeakEnhancer.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
void myProcess (realvec &in, realvec &out)
 Processes data.
 PeakEnhancer (std::string name)
 PeakEnhancer (const PeakEnhancer &a)
 ~PeakEnhancer ()

Detailed Description

Enhance peaks that are harmonic.

Enhance harmonic peaks resulting from autocorrelation periodicity detection by applying half wave rectification and then subtracting the upsampled fvec from the original fvec.

Definition at line 38 of file PeakEnhancer.h.


Constructor & Destructor Documentation

PeakEnhancer ( std::string  name)

Definition at line 38 of file PeakEnhancer.cpp.

PeakEnhancer ( const PeakEnhancer a)

Definition at line 52 of file PeakEnhancer.cpp.

Definition at line 65 of file PeakEnhancer.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 72 of file PeakEnhancer.cpp.

void myProcess ( realvec in,
realvec out 
) [virtual]

Processes data.

Parameters:
inInput data to read.
outOutput data to write.

Implement this method in subclass to define specific data processing.

Implements MarSystem.

Definition at line 129 of file PeakEnhancer.cpp.


The documentation for this class was generated from the following files: