#include <TDSPfft.h>
Inheritance diagram for TDSPfft:

Definition at line 33 of file TDSPfft.h.
Public Member Functions | |
| void | do_fft (TComplex *, TComplex *, Int_t ndat, Int_t stepin=1, Int_t stepout=1, Int_t cp=0, Double_t oversampling=1.0) |
| void | do_ifft (TComplex *, TComplex *, Int_t ndat, Int_t stepin=1, Int_t stepout=1, Int_t cp=0, Double_t oversampling=1.0) |
| TDSPfft (char *name=NULL) | |
| ~TDSPfft () | |
| void | SetDim (Int_t d) |
| Int_t | GetDim () const |
| TDSPSignal * | GetFFTSignal () const |
| TDSPSignal * | GetIFFTSignal () const |
| void | RegisterSignalsAndSlots () |
| void | fft (TComplex *in, TComplex *out, Int_t l, Int_t stepin=1, Int_t stepout=1) |
| void | ifft (TComplex *in, TComplex *out, Int_t l, Int_t stepin=1, Int_t stepout=1) |
| TDSPVector * | fft (TDSPVector *in, TDSPVector *out=NULL) |
| the fft of "in" | |
| TDSPMatrix * | fft (TDSPMatrix *in, Int_t dim, TDSPMatrix *out=NULL) |
| the fft of the rows(dim=1,'R') or cols(dim=2,'C') of "in" | |
| TDSPVector * | ifft (TDSPVector *in, TDSPVector *out=NULL) |
| the ifft of "in" | |
| TDSPMatrix * | ifft (TDSPMatrix *in, Int_t dim, TDSPMatrix *out=NULL) |
| the ifft of the rows(dim=1,'R') or cols(dim=2,'C') of "in" | |
| TDSPSignal * | FFT (TDSPSignal *input) |
| TDSPSignal * | IFFT (TDSPSignal *input) |
| Int_t | GetIFFTLen (Int_t len) |
| Int_t | GetFFTLen (Int_t len) |
| void | SetOverSampling (Double_t o) |
| Double_t | GetOverSampling () const |
| void | SetCyclicPrefix (UInt_t c) |
| UInt_t | GetCyclicPrefix () const |
Static Public Member Functions | |
| Bool_t | LoadFFTW () |
| loads the atlas library | |
| void | EnableFFTW () |
| void | DisableFFTW () |
| Bool_t | UsingFFTW () |
Static Public Attributes | |
| Bool_t | _fftw_destroy_plans |
Protected Attributes | |
| Int_t | fDim |
| The Dimension ('r','R',1 or 'c','C',2) for the fft of incoming signals. | |
| Double_t | fOverSampling |
| Oversampling factor (zeropadding in ifft for >1). | |
| UInt_t | fCyclicPrefix |
| The Cyclic Prefix = number of element from end inserted at the beginning. | |
| TDSPSignal * | fFFT_Signal |
| the fft signal-vector | |
| TDSPSignal * | fIFFT_Signal |
| the ifft signal-vector | |
| void * | fftw_vec |
| void * | fftw_plan_forward |
| void * | fftw_plan_backward |
| TString | Slot_FFT |
| TString | Slot_IFFT |
| TString | Signal_FFT |
| TString | Signal_IFFT |
Static Protected Attributes | |
| Bool_t | fFFTW |
| do we have the fftw-library ? | |
Friends | |
| istream & | operator>> (istream &, TDSPfft &) |
| ostream & | operator<< (ostream &, TDSPfft &) |
| istream & | operator>> (istream &, TDSPfft *) |
| ostream & | operator<< (ostream &, TDSPfft *) |
|
|
|
|
|
|
|
|
Definition at line 72 of file TDSPfft.h. References fFFTW.
00072 { fFFTW=kFALSE;};
|
|
||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||
|
|
|
|
Definition at line 71 of file TDSPfft.h. References fFFTW.
00071 { fFFTW=kTRUE;};
|
|
|
Reimplemented in TDSPBlockfft. |
|
||||||||||||||||
|
the fft of the rows(dim=1,'R') or cols(dim=2,'C') of "in"
|
|
||||||||||||
|
the fft of "in"
Reimplemented in TDSPBlockfft. |
|
||||||||||||||||||||||||
|
|
|
|
Definition at line 151 of file TDSPfft.h. References fCyclicPrefix.
00151 { return fCyclicPrefix;};
|
|
|
Definition at line 100 of file TDSPfft.h. References fDim.
00100 { return fDim;};
|
|
|
Definition at line 141 of file TDSPfft.h. References fCyclicPrefix, and fOverSampling.
00141 {return (Int_t)((len/fOverSampling)-fCyclicPrefix);}; // FFT-outputlen translation
|
|
|
Definition at line 102 of file TDSPfft.h. References fFFT_Signal. Referenced by TDSPOfdm::GetReceivedSignal().
00102 { return fFFT_Signal;};
|
|
|
Definition at line 140 of file TDSPfft.h. References fCyclicPrefix, and fOverSampling.
00140 {return (Int_t)((len+fCyclicPrefix)*fOverSampling);}; // IFFT-outputlen translation
|
|
|
Definition at line 103 of file TDSPfft.h. References fIFFT_Signal. Referenced by TDSPOfdm::GetTransmitSignal().
00103 { return fIFFT_Signal;};
|
|
|
Definition at line 146 of file TDSPfft.h. References fOverSampling.
00146 { return fOverSampling;};
|
|
|
Reimplemented in TDSPBlockfft. |
|
||||||||||||||||
|
the ifft of the rows(dim=1,'R') or cols(dim=2,'C') of "in"
|
|
||||||||||||
|
the ifft of "in"
Reimplemented in TDSPBlockfft. |
|
||||||||||||||||||||||||
|
|
|
|
loads the atlas library
|
|
|
Reimplemented from TQQObject. Definition at line 108 of file TDSPfft.h. References TQQObject::AddSignal(), TQQObject::AddSlot(), Signal_FFT, Signal_IFFT, Slot_FFT, and Slot_IFFT.
00108 {
00109
00110 // Add the Signals
00111
00112 Signal_FFT = AddSignal("FFT(TDSPSignal*)");
00113 Signal_IFFT = AddSignal("IFFT(TDSPSignal*)");
00114
00115 // Add the Slots
00116
00117 Slot_FFT = AddSlot("FFT(TDSPSignal*)");
00118 Slot_IFFT = AddSlot("IFFT(TDSPSignal*)");
00119
00120 }
|
|
|
Definition at line 150 of file TDSPfft.h. References fCyclicPrefix.
00150 { fCyclicPrefix = c; };
|
|
|
Definition at line 99 of file TDSPfft.h. References fDim.
00099 { fDim=d;};
|
|
|
Definition at line 145 of file TDSPfft.h. References fOverSampling.
00145 { fOverSampling = o; };
|
|
|
Definition at line 73 of file TDSPfft.h. References fFFTW.
00073 { return fFFTW;};
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
The Cyclic Prefix = number of element from end inserted at the beginning.
Definition at line 46 of file TDSPfft.h. Referenced by TDSPOfdm::GetBandWidthEfficiency(), GetCyclicPrefix(), GetFFTLen(), GetIFFTLen(), and SetCyclicPrefix(). |
|
|
The Dimension ('r','R',1 or 'c','C',2) for the fft of incoming signals.
|
|
|
the fft signal-vector
Definition at line 49 of file TDSPfft.h. Referenced by GetFFTSignal(). |
|
|
do we have the fftw-library ?
Definition at line 43 of file TDSPfft.h. Referenced by DisableFFTW(), EnableFFTW(), and UsingFFTW(). |
|
|
|
|
|
|
|
|
|
|
|
the ifft signal-vector
Definition at line 50 of file TDSPfft.h. Referenced by GetIFFTSignal(). |
|
|
Oversampling factor (zeropadding in ifft for >1).
Definition at line 45 of file TDSPfft.h. Referenced by GetFFTLen(), GetIFFTLen(), GetOverSampling(), and SetOverSampling(). |
|
|
Definition at line 64 of file TDSPfft.h. Referenced by RegisterSignalsAndSlots(). |
|
|
Definition at line 65 of file TDSPfft.h. Referenced by RegisterSignalsAndSlots(). |
|
|
Definition at line 60 of file TDSPfft.h. Referenced by RegisterSignalsAndSlots(). |
|
|
Definition at line 61 of file TDSPfft.h. Referenced by RegisterSignalsAndSlots(). |
1.3.2