OpendTect  6.6
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CWT Class Reference

Continuous Wavelet Transform. More...

Classes

struct  CWTWavelets
 

Public Types

enum  WaveletType { Morlet , Gaussian , MexicanHat }
 

Public Member Functions

 CWT ()
 
 ~CWT ()
 
bool biDirectional () const
 
bool complex2complex () const
 
bool complex2real () const
 
bool getDir () const
 
const ArrayNDInfogetInputInfo () const
 
float getScale (int ns, float dt, float freq) const
 
bool init ()
 
bool real2complex () const
 
bool real2real () const
 
void setDeltaT (float dt)
 
bool setDir (bool forw)
 
void setFreqIdxs (const TypeSet< int > &outfreqidxs)
 
bool setInputInfo (const ArrayNDInfo &)
 
void setTransformRange (const StepInterval< float > &rg)
 
void setWavelet (CWT::WaveletType)
 
bool transform (const ArrayND< float > &, ArrayND< float > &) const
 
bool transform (const ArrayND< float_complex > &, ArrayND< float_complex > &) const
 
bool transform (const ArrayND< float_complex > &input, ArrayND< float > &output)
 

Protected Member Functions

bool isFast (int) const
 
bool isPossible (int sz) const
 
void transform (int, float, int, const Array1DImpl< float_complex > &, Array2DImpl< float > &)
 

Protected Attributes

float dt_
 
Fourier::CCfft_
 
StepInterval< float > freqrg_
 
Fourier::CCifft_
 
ArrayNDInfoinfo_
 
bool inited_
 
TypeSet< int > outfreqidxs_
 
WaveletType wt_
 
CWTWavelets wvlts_
 

Detailed Description

Continuous Wavelet Transform.

<>

Member Enumeration Documentation

◆ WaveletType

Enumerator
Morlet 
Gaussian 
MexicanHat 

Constructor & Destructor Documentation

◆ CWT()

CWT::CWT ( )

◆ ~CWT()

CWT::~CWT ( )

Member Function Documentation

◆ biDirectional()

bool CWT::biDirectional ( ) const
inline

◆ complex2complex()

bool CWT::complex2complex ( ) const
inline

◆ complex2real()

bool CWT::complex2real ( ) const
inline

◆ getDir()

bool CWT::getDir ( ) const
inline

◆ getInputInfo()

const ArrayNDInfo& CWT::getInputInfo ( ) const
inline

◆ getScale()

float CWT::getScale ( int  ns,
float  dt,
float  freq 
) const

◆ init()

bool CWT::init ( )

◆ isFast()

bool CWT::isFast ( int  ) const
inlineprotected

◆ isPossible()

bool CWT::isPossible ( int  sz) const
protected

◆ real2complex()

bool CWT::real2complex ( ) const
inline

◆ real2real()

bool CWT::real2real ( ) const
inline

◆ setDeltaT()

void CWT::setDeltaT ( float  dt)
inline

◆ setDir()

bool CWT::setDir ( bool  forw)

◆ setFreqIdxs()

void CWT::setFreqIdxs ( const TypeSet< int > &  outfreqidxs)
inline

◆ setInputInfo()

bool CWT::setInputInfo ( const ArrayNDInfo )

◆ setTransformRange()

void CWT::setTransformRange ( const StepInterval< float > &  rg)
inline

◆ setWavelet()

void CWT::setWavelet ( CWT::WaveletType  )

◆ transform() [1/4]

bool CWT::transform ( const ArrayND< float > &  ,
ArrayND< float > &   
) const
inline

◆ transform() [2/4]

bool CWT::transform ( const ArrayND< float_complex > &  ,
ArrayND< float_complex > &   
) const
inline

◆ transform() [3/4]

bool CWT::transform ( const ArrayND< float_complex > &  input,
ArrayND< float > &  output 
)

◆ transform() [4/4]

void CWT::transform ( int  ,
float  ,
int  ,
const Array1DImpl< float_complex > &  ,
Array2DImpl< float > &   
)
protected

Member Data Documentation

◆ dt_

float CWT::dt_
protected

◆ fft_

Fourier::CC* CWT::fft_
protected

◆ freqrg_

StepInterval<float> CWT::freqrg_
protected

◆ ifft_

Fourier::CC* CWT::ifft_
protected

◆ info_

ArrayNDInfo* CWT::info_
protected

◆ inited_

bool CWT::inited_
protected

◆ outfreqidxs_

TypeSet<int> CWT::outfreqidxs_
protected

◆ wt_

WaveletType CWT::wt_
protected

◆ wvlts_

CWTWavelets CWT::wvlts_
protected

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