OpendTect  7.0
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | 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

 CC ()
 
static ::Factory< CC > & factory ()
 
virtual uiString factoryDisplayName () const
 
virtual const char * factoryKeyword () const
 
virtual int getFastSize (int sz) const
 
bool isFast (int sz) const
 
 mDefaultFactoryCreatorImpl (CC, CC)
 
void setNormalization (bool yn)
 
- Public Member Functions inherited from GenericTransformND
 GenericTransformND ()
 
virtual ~GenericTransformND ()
 
bool getDir () const
 
const ArrayNDInfogetInputInfo () const
 
bool run (bool parallel)
 
bool setDir (bool forward)
 
void setInput (const float *)
 
void setInput (const float_complex *)
 
bool setInputInfo (const ArrayNDInfo &)
 
void setOutput (float *)
 
void setOutput (float_complex *)
 
void setSampling (int)
 
void setScope (int nr, const int *batchstarts)
 
void setScope (int nr, int batchsampling)
 
- Public Member Functions inherited from SequentialTask
 SequentialTask (const char *nm=nullptr)
 
virtual ~SequentialTask ()
 
virtual int doStep ()
 
bool execute () override
 
- Public Member Functions inherited from ReportingTask
virtual ~ReportingTask ()
 
void getProgress (const ReportingTask &)
 
- Public Member Functions inherited from Task
virtual ~Task ()
 
virtual void controlWork (Control)
 
virtual void enableWorkControl (bool=true)
 Must be called before execute() More...
 
virtual uiRetVal errorWithDetails () const
 
virtual Control getState () const
 
virtual std::int64_t nrDone () const
 
virtual std::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...
 
bool workControlEnabled () const
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
const name_typename () const override
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Static Public Member Functions

static CCcreateDefault ()
 
static float getDf (float samplespacing, int nrsamples)
 
static void getFrequencies (float samplespacing, int nrsamples, TypeSet< float > &)
 
static float getNyqvist (float samplespacing)
 
static void initClass ()
 
static int npfao (int nmin, int nmax)
 
static int npfaro (int nmin, int nmax)
 
static void pfacr (int isign, int n, const float_complex *, float *rz)
 
static void pfarc (int isign, int n, const float *rz, float_complex *cz)
 
- 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 ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Public Attributes

 mDefaultStaticFactoryStringDeclaration
 
- Public Attributes inherited from ReportingTask
Notifier< ReportingTaskprogressUpdated
 

Protected Member Functions

Transform1DcreateTransform () const override
 
bool setup () override
 
- Protected Member Functions inherited from GenericTransformND
int nextStep () override
 
- Protected Member Functions inherited from ReportingTask
 ReportingTask (const char *nm=nullptr)
 
void incrementProgress ()
 
ProgressMeterprogressMeter () const
 
void reportProgressFinished ()
 
void reportProgressStarted ()
 
void resetProgress ()
 
void setProgressMeter (ProgressMeter *) override
 Must be called before execute() More...
 
void updateProgressMeter (bool forced=false, std::int64_t *totalnr=0)
 
void updateReportedName ()
 
- Protected Member Functions inherited from Task
 Task (const char *nm=nullptr)
 
virtual bool shouldContinue ()
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Static Protected Member Functions

static uiStringlegalInfo ()
 
static void pfacc (char dir, int sz, float_complex *)
 
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)
 

Protected Attributes

bool normalize_ = false
 
- Protected Attributes inherited from GenericTransformND
int batchsampling_
 
const int * batchstarts_
 
const float_complex * cinput_
 
float_complex * coutput_
 
int curdim_
 
bool forward_
 
ArrayNDInfoinfo_
 
TypeSet< int > nr1dtransforms_
 
int nr_
 
bool parallel_
 
const float * rinput_
 
float * routput_
 
int sampling_
 
ObjectSet< int > transforms1dstarts_
 
ObjectSet< Transform1Dtransforms_
 
- Protected Attributes inherited from Task
Control control_
 
Threads::ConditionVarworkcontrolcondvar_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from Task
enum  Control { Run , Pause , Stop }
 
- Public Types inherited from ObjectWithName
typedef OD::String name_type
 

Detailed Description

Does Fourier Transforms of any size.

<>

Constructor & Destructor Documentation

◆ CC()

Fourier::CC::CC ( )

Member Function Documentation

◆ createDefault()

static CC* Fourier::CC::createDefault ( )
static

◆ createTransform()

Transform1D* Fourier::CC::createTransform ( ) const
overrideprotectedvirtual

Implements GenericTransformND.

◆ factory()

static ::Factory<CC>& Fourier::CC::factory ( )

◆ factoryDisplayName()

virtual uiString Fourier::CC::factoryDisplayName ( ) const
virtual

◆ factoryKeyword()

virtual const char* Fourier::CC::factoryKeyword ( ) const
virtual

◆ getDf()

static float Fourier::CC::getDf ( float  samplespacing,
int  nrsamples 
)
static

◆ getFastSize()

virtual int Fourier::CC::getFastSize ( int  sz) const
virtual

Returns a size that is equal or larger than sz

◆ getFrequencies()

static void Fourier::CC::getFrequencies ( float  samplespacing,
int  nrsamples,
TypeSet< float > &   
)
static

◆ getNyqvist()

static float Fourier::CC::getNyqvist ( float  samplespacing)
static

◆ initClass()

static void Fourier::CC::initClass ( )
static

◆ isFast()

bool Fourier::CC::isFast ( int  sz) const

◆ legalInfo()

static uiString* Fourier::CC::legalInfo ( )
staticprotected

◆ mDefaultFactoryCreatorImpl()

Fourier::CC::mDefaultFactoryCreatorImpl ( CC  ,
CC   
)

◆ npfao()

static int Fourier::CC::npfao ( int  nmin,
int  nmax 
)
static

◆ npfaro()

static int Fourier::CC::npfaro ( int  nmin,
int  nmax 
)
static

◆ pfacc() [1/4]

static void Fourier::CC::pfacc ( char  dir,
int  sz,
float_complex *   
)
staticprotected

◆ pfacc() [2/4]

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.

◆ pfacc() [3/4]

static void Fourier::CC::pfacc ( char  dir,
int  sz,
int  step,
int  nr,
const int *  starts,
float_complex *  signal 
)
staticprotected

◆ pfacc() [4/4]

static void Fourier::CC::pfacc ( char  dir,
int  sz,
int  step,
int  nr,
int  batchstep,
float_complex *  signal 
)
staticprotected

◆ pfacr()

static void Fourier::CC::pfacr ( int  isign,
int  n,
const float_complex *  ,
float *  rz 
)
static

◆ pfarc()

static void Fourier::CC::pfarc ( int  isign,
int  n,
const float *  rz,
float_complex *  cz 
)
static

◆ setNormalization()

void Fourier::CC::setNormalization ( bool  yn)

◆ setup()

bool Fourier::CC::setup ( )
overrideprotectedvirtual

Reimplemented from GenericTransformND.

Member Data Documentation

◆ mDefaultStaticFactoryStringDeclaration

Fourier::CC::mDefaultStaticFactoryStringDeclaration

◆ normalize_

bool Fourier::CC::normalize_ = false
protected

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