Public Member Functions | Protected Member Functions | Protected Attributes

Spectrogram Class Reference

Spectrogram calculates the spectrogram of a N-dimensional signal. The spectrogram is the square of the absolute values of the FourierTransform, and is the 'traditional' way to view a signal's frequency distribution. More...

List of all members.

Public Member Functions

 Spectrogram ()
 ~Spectrogram ()
bool init ()
bool setInputInfo (const ArrayNDInfo &ni)
const ArrayNDInfogetInputInfo () const
bool real2real () const
bool real2complex () const
bool complex2real () const
bool complex2complex () const
bool biDirectional () const
bool getDir () const
bool setDir (bool fwd)
bool transform (const ArrayND< float > &, ArrayND< float > &)
bool transform (const ArrayND< float_complex > &, ArrayND< float_complex > &)

Protected Member Functions

bool isPossible (int) const
bool isFast (int sz) const

Protected Attributes

ArrayND< float_complex > * tempin_
ArrayND< float_complex > * tempout_
Fourier::CCfft_

Detailed Description

Spectrogram calculates the spectrogram of a N-dimensional signal. The spectrogram is the square of the absolute values of the FourierTransform, and is the 'traditional' way to view a signal's frequency distribution.

Spectrogram is not reversible.


Constructor & Destructor Documentation

Spectrogram::Spectrogram (  ) 
Spectrogram::~Spectrogram (  ) 

Member Function Documentation

bool Spectrogram::biDirectional (  )  const [inline]
bool Spectrogram::complex2complex (  )  const [inline]
bool Spectrogram::complex2real (  )  const [inline]
bool Spectrogram::getDir (  )  const [inline]
const ArrayNDInfo& Spectrogram::getInputInfo (  )  const
bool Spectrogram::init (  ) 
bool Spectrogram::isFast ( int  sz  )  const [inline, protected]
bool Spectrogram::isPossible ( int   )  const [inline, protected]
bool Spectrogram::real2complex (  )  const [inline]
bool Spectrogram::real2real (  )  const [inline]
bool Spectrogram::setDir ( bool  fwd  )  [inline]
bool Spectrogram::setInputInfo ( const ArrayNDInfo ni  ) 
bool Spectrogram::transform ( const ArrayND< float_complex > &  ,
ArrayND< float_complex > &   
)
bool Spectrogram::transform ( const ArrayND< float > &  ,
ArrayND< float > &   
)

Member Data Documentation

ArrayND<float_complex>* Spectrogram::tempin_ [protected]
ArrayND<float_complex>* Spectrogram::tempout_ [protected]