Marsyas  0.5.0-beta1
Public Member Functions
PowerToAverageRatio Class Reference

#include <PowerToAverageRatio.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
 Implementation of the MarSystem::clone() method.
void myProcess (realvec &in, realvec &out)
 Implementation of the MarSystem::myProcess method.
 PowerToAverageRatio (std::string name)
 PowerToAverageRatio constructor.
 PowerToAverageRatio (const PowerToAverageRatio &a)
 PowerToAverageRatio copy constructor.
 ~PowerToAverageRatio ()
 PowerToAverageRatio destructor.

Detailed Description

This calculates the PAR for a complete window of samples; it is similar to SCF (Spectral Crest Factor), however SCF calculates the PAR in various frequency bands of observations.

Definition at line 35 of file PowerToAverageRatio.h.


Constructor & Destructor Documentation

PowerToAverageRatio ( std::string  name)

PowerToAverageRatio constructor.

Add any specific controls needed by this MarSystem.

Definition at line 25 of file PowerToAverageRatio.cpp.

PowerToAverageRatio copy constructor.

Definition at line 31 of file PowerToAverageRatio.cpp.

PowerToAverageRatio destructor.

Definition at line 36 of file PowerToAverageRatio.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implementation of the MarSystem::clone() method.

Implements MarSystem.

Definition at line 41 of file PowerToAverageRatio.cpp.

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

Implementation of the MarSystem::myProcess method.

Iterate over the observations and samples and do the processing.

Implements MarSystem.

Definition at line 70 of file PowerToAverageRatio.cpp.


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