OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Fourier::FFTCC1D Class Reference

Computes 1D FFT for any size of data. This function is used internally by the ND computation. More...

Public Member Functions

 FFTCC1D ()
 
 FFTCC1D (const FFTCC1D &)
 Not implemented, just here to make linker complain. More...
 
 ~FFTCC1D ()
 
bool setSize (int)
 the size of fft to be calculated More...
 
void setSample (int smp)
 step of the data from input More...
 
void setDir (bool forward)
 
void setNormalization (bool yn)
 
bool run (float_complex *data)
 

Static Public Member Functions

static int getFastSize (int sz)
 

Protected Member Functions

void cleanUp ()
 
bool getSizeFactors ()
 
bool doFactor2 () const
 ret true means the whole FFT is over More...
 
bool doFactor4 () const
 
void doFactor3 () const
 
void doFactor5 () const
 
void doOtherFactor (int factor, int psz)
 
void doRotation (int psz) const
 
bool doFinish ()
 
bool setupPermutation ()
 

Protected Attributes

bool forward_
 
bool normalize_
 
int size_
 
int sample_
 
int totalsmp_
 
int extsz_
 
int curf_
 
int rmfid_
 
int cycleid_
 
float exp_
 
float sin2_
 
float_complexdata_
 
float * rdata_
 
float * idata_
 
float * rtmp_
 
float * itmp_
 
float * cosv_
 
float * sinv_
 
int * permutation0_
 
int * permutation1_
 
TypeSet< int > permutfactors_
 
TypeSet< int > factors_
 

Detailed Description

Computes 1D FFT for any size of data. This function is used internally by the ND computation.

Constructor & Destructor Documentation

Fourier::FFTCC1D::FFTCC1D ( )
Fourier::FFTCC1D::FFTCC1D ( const FFTCC1D )

Not implemented, just here to make linker complain.

Fourier::FFTCC1D::~FFTCC1D ( )
inline

Member Function Documentation

void Fourier::FFTCC1D::cleanUp ( )
protected
bool Fourier::FFTCC1D::doFactor2 ( ) const
protected

ret true means the whole FFT is over

void Fourier::FFTCC1D::doFactor3 ( ) const
protected
bool Fourier::FFTCC1D::doFactor4 ( ) const
protected
void Fourier::FFTCC1D::doFactor5 ( ) const
protected
bool Fourier::FFTCC1D::doFinish ( )
protected
void Fourier::FFTCC1D::doOtherFactor ( int  factor,
int  psz 
)
protected
void Fourier::FFTCC1D::doRotation ( int  psz) const
protected
static int Fourier::FFTCC1D::getFastSize ( int  sz)
static
bool Fourier::FFTCC1D::getSizeFactors ( )
protected
bool Fourier::FFTCC1D::run ( float_complex data)
void Fourier::FFTCC1D::setDir ( bool  forward)
inline
void Fourier::FFTCC1D::setNormalization ( bool  yn)
inline
void Fourier::FFTCC1D::setSample ( int  smp)
inline

step of the data from input

bool Fourier::FFTCC1D::setSize ( int  )

the size of fft to be calculated

bool Fourier::FFTCC1D::setupPermutation ( )
protected

Member Data Documentation

float* Fourier::FFTCC1D::cosv_
protected
int Fourier::FFTCC1D::curf_
protected
int Fourier::FFTCC1D::cycleid_
protected
float_complex* Fourier::FFTCC1D::data_
protected
float Fourier::FFTCC1D::exp_
protected
int Fourier::FFTCC1D::extsz_
protected
TypeSet<int> Fourier::FFTCC1D::factors_
protected
bool Fourier::FFTCC1D::forward_
protected
float* Fourier::FFTCC1D::idata_
protected
float* Fourier::FFTCC1D::itmp_
protected
bool Fourier::FFTCC1D::normalize_
protected
int* Fourier::FFTCC1D::permutation0_
protected
int* Fourier::FFTCC1D::permutation1_
protected
TypeSet<int> Fourier::FFTCC1D::permutfactors_
protected
float* Fourier::FFTCC1D::rdata_
protected
int Fourier::FFTCC1D::rmfid_
protected
float* Fourier::FFTCC1D::rtmp_
protected
int Fourier::FFTCC1D::sample_
protected
float Fourier::FFTCC1D::sin2_
protected
float* Fourier::FFTCC1D::sinv_
protected
int Fourier::FFTCC1D::size_
protected
int Fourier::FFTCC1D::totalsmp_
protected

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