11 #ifndef __QREALCOMPLFFTGSL_
12 #define __QREALCOMPLFFTGSL_
15 #include <gsl/gsl_fft_real.h>
16 #include <gsl/gsl_fft_halfcomplex.h>
77 virtual bool Resize(
size_t s);
#define Q_BEGIN_NAMESPACE
Interface for ffts in Diana analysis.
perform FFT of real vectors using GSL FFT
QRealComplexFFTGSL()
empty constructor
virtual int TransformFromFreq(const QVectorC &FT, QVector &spectrum, bool compress=false)
transform from the frequencies to the times
gsl_fft_halfcomplex_wavetable * fHCWaveTable
virtual int TransformToFreq(const QVector &data, QVectorC &FFT, bool compress=false)
transform from the times to the frequencies
virtual int Transform(const QVector &data, QVector &result)
virtual method. Must be implemented by daughter classes.
virtual ~QRealComplexFFTGSL()
destructor
virtual void SetWindowType(WindowType wt, int coherent=0)
resize working table and space
virtual bool Resize(size_t s)
virtual method. Must be implemented by daughter classes
gsl_fft_real_workspace * fWork
ClassDef(QRealComplexFFTGSL, 0)
gsl_fft_real_wavetable * fWaveTable
set the window type.
Interface for complex vectors in Diana analysis.
Interface for vectors in Diana analysis.