42 #ifndef TF_FFTWAFFAR_H_VERSION 44 #define TF_FFTWAFFAR_H_VERSION \ 50 #include<aff/series.h> 90 typedef std::complex<Tsample>
Tcoeff;
127 static unsigned int nsamples(
const unsigned int& n)
145 #endif // TF_FFTWAFFAR_H_VERSION (includeguard) unsigned int nsamples() const
return the number of samples in time series
Tsample scale_spectrum(const Tsample &dt) const
Return appropriate scaling factor for sampling interval dt.
aff::Array< Tsample > TAseries
aff::Array< Tcoeff > TAspectrum
~DRFFTWAFFArrayEngine()
delete plan.
TAseries series() const
return a reference to the time series arrays
void r2c()
execute r2c plan
unsigned int nfrequencies() const
return the number of positive frequencies used
static unsigned int nsamples(const unsigned int &n)
return number of samples for given number of coefficients
Tsample scale_series(const Tsample &dt) const
Return appropriate scaling factor for sampling interval dt.
std::complex< Tsample > Tcoeff
DRFFTWAFFArrayEngine & operator=(const DRFFTWAFFArrayEngine &e)
TAspectrum Mspectrumarray
unsigned int nseries() const
return the number of series in the arrays
TAspectrum spectrum() const
return a reference to the Fourier coefficient arrays
static unsigned int ncoeff(const unsigned int &nsamples)
return number of coefficients for given number of samples
Engine to transform several signals at once. References to workspace are passed to the contstructor...
void c2r()
execute c2r plan
void delete_plans()
delete plans.