Marsyas  0.5.0-beta1
Public Member Functions
Flux Class Reference

Flux calculate the flux between the current and prev. spectrum (e.g. output of PowerSpectrum) More...

#include <Flux.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

Flux calculate the flux between the current and prev. spectrum (e.g. output of PowerSpectrum)

The flux is defined as the norm of the difference vector between two successive magnitue/power spectra, although different implementations are possible.

Controls:

Definition at line 39 of file Flux.h.


Constructor & Destructor Documentation

Flux ( std::string  name)

Definition at line 27 of file Flux.cpp.

Flux ( const Flux a)

Definition at line 37 of file Flux.cpp.

~Flux ( )

Definition at line 44 of file Flux.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 49 of file Flux.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 87 of file Flux.cpp.


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