Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Math - Signals - 1D - PowerSpectrum1dC
 

  PUBLIC
PowerSpectrum1dC::PowerSpectrum1dC(IntT)
PowerSpectrum1dC::Apply(const Array1dC &)
PowerSpectrum1dC::Apply(const Array1dC &,const Array1dC &)

   PowerSpectrum1dC   
 
Power Spectrum
 
include "Ravl/PowerSpectrum1d.hh"
Source file:Ravl/Math/Signals/1D/PowerSpectrum1d.hh
User Level:Normal
Library:RavlMath
Example:exPowerSpectrum.cc
In Scope:RavlN

Variables:
FFT1dC fft;

Methods:
PowerSpectrum1dC(IntT size)
Constructor.

Array1dC<RealT> Apply(const Array1dC<RealT> & data)
Compute the power spectrum of data.
Compute the power spectrum using Bartlett window (simple triangle).

Array1dC<RealT> Apply(const Array1dC<RealT> & d1,const Array1dC<RealT> & d2)
Compute the power spectrum of data in two arrays.
Compute the power spectrum using Bartlett window (simple triangle). The arrays are expected to be of equal size, so the first array will be multiplied by an increasing ramp, the second by a decreasing one.


Documentation by CxxDoc: Tue Aug 13 09:59:30 2002