OpendTect  7.0
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 run (float_complex *data)
 
void setDir (bool forward)
 
void setNormalization (bool yn)
 
void setSample (int smp)
 step of the data from input More...
 
bool setSize (int)
 the size of fft to be calculated More...
 

Static Public Member Functions

static int getFastSize (int sz)
 

Protected Member Functions

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

Protected Attributes

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

Detailed Description

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

<>

Constructor & Destructor Documentation

◆ FFTCC1D() [1/2]

Fourier::FFTCC1D::FFTCC1D ( )

◆ FFTCC1D() [2/2]

Fourier::FFTCC1D::FFTCC1D ( const FFTCC1D )

Not implemented, just here to make linker complain.

◆ ~FFTCC1D()

Fourier::FFTCC1D::~FFTCC1D ( )
inline

Member Function Documentation

◆ cleanUp()

void Fourier::FFTCC1D::cleanUp ( )
protected

◆ doFactor2()

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

ret true means the whole FFT is over

◆ doFactor3()

void Fourier::FFTCC1D::doFactor3 ( ) const
protected

◆ doFactor4()

bool Fourier::FFTCC1D::doFactor4 ( ) const
protected

◆ doFactor5()

void Fourier::FFTCC1D::doFactor5 ( ) const
protected

◆ doFinish()

bool Fourier::FFTCC1D::doFinish ( )
protected

◆ doOtherFactor()

void Fourier::FFTCC1D::doOtherFactor ( int  factor,
int  psz 
)
protected

◆ doRotation()

void Fourier::FFTCC1D::doRotation ( int  psz) const
protected

◆ getFastSize()

static int Fourier::FFTCC1D::getFastSize ( int  sz)
static

◆ getSizeFactors()

bool Fourier::FFTCC1D::getSizeFactors ( )
protected

◆ run()

bool Fourier::FFTCC1D::run ( float_complex *  data)

◆ setDir()

void Fourier::FFTCC1D::setDir ( bool  forward)
inline

◆ setNormalization()

void Fourier::FFTCC1D::setNormalization ( bool  yn)
inline

◆ setSample()

void Fourier::FFTCC1D::setSample ( int  smp)
inline

step of the data from input

◆ setSize()

bool Fourier::FFTCC1D::setSize ( int  )

the size of fft to be calculated

◆ setupPermutation()

bool Fourier::FFTCC1D::setupPermutation ( )
protected

Member Data Documentation

◆ cosv_

float* Fourier::FFTCC1D::cosv_
protected

◆ curf_

int Fourier::FFTCC1D::curf_
protected

◆ cycleid_

int Fourier::FFTCC1D::cycleid_
protected

◆ data_

float_complex* Fourier::FFTCC1D::data_
protected

◆ exp_

float Fourier::FFTCC1D::exp_
protected

◆ extsz_

int Fourier::FFTCC1D::extsz_
protected

◆ factors_

TypeSet<int> Fourier::FFTCC1D::factors_
protected

◆ forward_

bool Fourier::FFTCC1D::forward_
protected

◆ idata_

float* Fourier::FFTCC1D::idata_
protected

◆ itmp_

float* Fourier::FFTCC1D::itmp_
protected

◆ normalize_

bool Fourier::FFTCC1D::normalize_
protected

◆ permutation0_

int* Fourier::FFTCC1D::permutation0_
protected

◆ permutation1_

int* Fourier::FFTCC1D::permutation1_
protected

◆ permutfactors_

TypeSet<int> Fourier::FFTCC1D::permutfactors_
protected

◆ rdata_

float* Fourier::FFTCC1D::rdata_
protected

◆ rmfid_

int Fourier::FFTCC1D::rmfid_
protected

◆ rtmp_

float* Fourier::FFTCC1D::rtmp_
protected

◆ sample_

int Fourier::FFTCC1D::sample_
protected

◆ sin2_

float Fourier::FFTCC1D::sin2_
protected

◆ sinv_

float* Fourier::FFTCC1D::sinv_
protected

◆ size_

int Fourier::FFTCC1D::size_
protected

◆ totalsmp_

int Fourier::FFTCC1D::totalsmp_
protected

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