SpectralFlatnessAllBands Class Reference
[Analysis]

Calculates a single spectral flatness value. More...

#include <SpectralFlatnessAllBands.h>

Inherits Marsyas::MarSystem.


Public Member Functions

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

Private Member Functions

void addControls ()
 Add specific controls needed by this MarSystem.
void myUpdate (MarControlPtr sender)
 Reads changed controls and sets up variables if necessary.


Detailed Description

Calculates a single spectral flatness value.

Similar to SFM, but that marsystem splits the observations into bands, whereas this one uses the whole range of observations to generate one number. It may be used to 'narrow in' on a specific range by putting a RemoveObservations marsystem before it.

Definition at line 39 of file SpectralFlatnessAllBands.h.


Constructor & Destructor Documentation

SpectralFlatnessAllBands ( std::string  name  ) 

SpectralFlatnessAllBands constructor.

Add any specific controls needed by this MarSystem.

Definition at line 25 of file SpectralFlatnessAllBands.cpp.

References SpectralFlatnessAllBands::addControls().

Referenced by SpectralFlatnessAllBands::clone().


Member Function Documentation

void myUpdate ( MarControlPtr  sender  )  [private, virtual]

Reads changed controls and sets up variables if necessary.

Use the default MarSystem setup with equal input/output stream format.

Reimplemented from MarSystem.

Definition at line 52 of file SpectralFlatnessAllBands.cpp.

References Marsyas::obsNamesAddPrefix().


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

Generated on Wed May 23 00:02:23 2012 for Marsyas by  doxygen 1.5.6