OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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...

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
inlineprotected
bool Spectrogram::isPossible ( int  ) const
inlineprotected
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 > &  ,
ArrayND< float > &   
)
bool Spectrogram::transform ( const ArrayND< float_complex > &  ,
ArrayND< float_complex > &   
)

Member Data Documentation

Fourier::CC* Spectrogram::fft_
protected
ArrayND<float_complex>* Spectrogram::tempin_
protected
ArrayND<float_complex>* Spectrogram::tempout_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019