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

Does Fourier Transforms of any size. More...

Inheritance diagram for Fourier::CC:
[legend]

Classes

class  CC1D
 

Public Member Functions

 mDefaultFactoryCreatorImpl (CC, CC)
 
 mDefaultFactoryInstanciationBase ("PFAFFT", tr("FFT"))
 
static::Factory< CC > & factory ()
 
 CC ()
 
void setNormalization (bool yn)
 
bool isFast (int sz) const
 
virtual int getFastSize (int sz) const
 
- Public Member Functions inherited from GenericTransformND
 GenericTransformND ()
 
bool setInputInfo (const ArrayNDInfo &)
 
const ArrayNDInfogetInputInfo () const
 
void setInput (const float *)
 
void setInput (const float_complex *)
 
void setOutput (float *)
 
void setOutput (float_complex *)
 
void setSampling (int)
 
void setScope (int nr, int batchsampling)
 
void setScope (int nr, const int *batchstarts)
 
bool setDir (bool forward)
 
bool getDir () const
 
bool run (bool parallel)
 
 ~GenericTransformND ()
 
- Public Member Functions inherited from SequentialTask
 SequentialTask (const char *nm=0)
 
virtual ~SequentialTask ()
 
void setProgressMeter (ProgressMeter *)
 Must be called before execute() More...
 
ProgressMeterprogressMeter ()
 
const ProgressMeterprogressMeter () const
 
virtual int doStep ()
 
bool execute ()
 
- Public Member Functions inherited from Task
virtual ~Task ()
 
virtual int64_t nrDone () const
 
virtual int64_t totalNr () const
 
virtual uiString uiMessage () const
 will be message() again in 7.x More...
 
virtual uiString uiNrDoneText () const
 will be nrDoneText() in 7.x More...
 
virtual void enableWorkControl (bool=true)
 Must be called before execute() More...
 
bool workControlEnabled () const
 
virtual void controlWork (Control)
 
virtual Control getState () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Static Public Member Functions

static CCcreateDefault ()
 
static float getNyqvist (float samplespacing)
 
static float getDf (float samplespacing, int nrsamples)
 
static void getFrequencies (float samplespacing, int nrsamples, TypeSet< float > &)
 
static void pfarc (int isign, int n, const float *rz, float_complex *cz)
 
static void pfacr (int isign, int n, const float_complex *, float *rz)
 
static int npfaro (int nmin, int nmax)
 
static int npfao (int nmin, int nmax)
 
- Static Public Member Functions inherited from SequentialTask
static int ErrorOccurred ()
 
static int Finished ()
 
static int MoreToDo ()
 
static int WarningAvailable ()
 
- Static Public Member Functions inherited from Task
static uiString stdNrDoneText ()
 
static uiString uiStdNrDoneText ()
 

Protected Member Functions

bool setup ()
 
Transform1DcreateTransform () const
 
- Protected Member Functions inherited from GenericTransformND
int nextStep ()
 
- Protected Member Functions inherited from Task
 Task (const char *nm=0)
 
virtual bool shouldContinue ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Static Protected Member Functions

static uiStringlegalInfo ()
 
static void pfacc (char dir, int sz, int step, float_complex *signal)
 
static void pfacc (char dir, int sz, int step, int nr, const int *starts, float_complex *signal)
 
static void pfacc (char dir, int sz, int step, int nr, int batchstep, float_complex *signal)
 
static void pfacc (char dir, int sz, float_complex *)
 

Protected Attributes

bool normalize_
 
- Protected Attributes inherited from GenericTransformND
ObjectSet< Transform1Dtransforms_
 
ObjectSet< int > transforms1dstarts_
 
TypeSet< int > nr1dtransforms_
 
bool forward_
 
int sampling_
 
int batchsampling_
 
const int * batchstarts_
 
int nr_
 
ArrayNDInfoinfo_
 
int curdim_
 
bool parallel_
 
const float_complexcinput_
 
const float * rinput_
 
float_complexcoutput_
 
float * routput_
 
- Protected Attributes inherited from SequentialTask
ProgressMeterprogressmeter_
 
int lastupdate_
 
- Protected Attributes inherited from Task
Control control_
 
Threads::ConditionVarworkcontrolcondvar_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Private Member Functions

 mODTextTranslationClass (CC)
 

Additional Inherited Members

- Public Types inherited from Task
enum  Control { Run, Pause, Stop }
 

Detailed Description

Does Fourier Transforms of any size.

Constructor & Destructor Documentation

Fourier::CC::CC ( )

Member Function Documentation

static CC* Fourier::CC::createDefault ( )
static
Transform1D* Fourier::CC::createTransform ( ) const
protectedvirtual

Implements GenericTransformND.

static ::Factory<CC>& Fourier::CC::factory ( )
static float Fourier::CC::getDf ( float  samplespacing,
int  nrsamples 
)
static
virtual int Fourier::CC::getFastSize ( int  sz) const
virtual

Returns a size that is equal or larger than sz

static void Fourier::CC::getFrequencies ( float  samplespacing,
int  nrsamples,
TypeSet< float > &   
)
static
static float Fourier::CC::getNyqvist ( float  samplespacing)
static
bool Fourier::CC::isFast ( int  sz) const
static uiString* Fourier::CC::legalInfo ( )
staticprotected
Fourier::CC::mDefaultFactoryCreatorImpl ( CC  ,
CC   
)
Fourier::CC::mDefaultFactoryInstanciationBase ( "PFAFFT"  ,
tr("FFT")   
)
Fourier::CC::mODTextTranslationClass ( CC  )
private
static int Fourier::CC::npfao ( int  nmin,
int  nmax 
)
static
static int Fourier::CC::npfaro ( int  nmin,
int  nmax 
)
static
static void Fourier::CC::pfacc ( char  dir,
int  sz,
int  step,
float_complex signal 
)
staticprotected

Prime number size FFT where the signal has a sampling not equal to 1, i.e. every Nth value should be used.

Parameters
dir1 for forward, -1 for backwards
szLength of signal
stepis the step between the samples of the signal
signalIs the signal itself. The output will be written to signal.
static void Fourier::CC::pfacc ( char  dir,
int  sz,
int  step,
int  nr,
const int *  starts,
float_complex signal 
)
staticprotected
static void Fourier::CC::pfacc ( char  dir,
int  sz,
int  step,
int  nr,
int  batchstep,
float_complex signal 
)
staticprotected
static void Fourier::CC::pfacc ( char  dir,
int  sz,
float_complex  
)
staticprotected
static void Fourier::CC::pfacr ( int  isign,
int  n,
const float_complex ,
float *  rz 
)
static
static void Fourier::CC::pfarc ( int  isign,
int  n,
const float *  rz,
float_complex cz 
)
static
void Fourier::CC::setNormalization ( bool  yn)
bool Fourier::CC::setup ( )
protectedvirtual

Reimplemented from GenericTransformND.

Member Data Documentation

bool Fourier::CC::normalize_
protected

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