67 return fft.size() > 0 && samplingRate > 0;
bool isValid()
Function to validate the fft data.
virtual void calculateFFT(const FFTRealVector &in, FFTComplexVector &out)=0
std::vector< FFTComplexType > FFTComplexVector
std::map< double, double > FFTPolygon
Type for a frequency-to-intensity map for graphics.
int samplingRate
The sampling rate of the fft.
virtual void optimize(FFTRealVector &in)=0
Abstract base class for handling fast Fourier transforms.
std::complex< double > FFTComplexType
double getTime()
Function to get the time of the signal in seconds.
FFTRealType FFTWType
data type
std::vector< FFTRealType > FFTRealVector
FFTWVector fft
The actual fft.
std::shared_ptr< FFTData > FFTDataPointer
Shared pointer of FFTData.
std::vector< FFTWType > FFTWVector
fftw array