#include <FFT.h>
Public Member Functions | |
FFT (ApplicationWindow *parent, Graph *g, const QString &curveTitle) | |
FFT (ApplicationWindow *parent, Table *t, const QString &realColName, const QString &imagColName=QString()) | |
void | normalizeAmplitudes (bool norm=true) |
void | setInverseFFT (bool inverse=true) |
void | setSampling (double sampling) |
void | shiftFrequencies (bool shift=true) |
Private Member Functions | |
QString | fftCurve () |
QString | fftTable () |
void | init () |
void | output (const QString &text) |
void | output () |
Performs the data analysis and takes care of the output. | |
void | setDataFromTable (Table *t, const QString &realColName, const QString &imagColName=QString()) |
Private Attributes | |
int | d_imag_col |
bool | d_inverse |
Flag telling if an inverse FFT must be performed. | |
bool | d_normalize |
Flag telling if the amplitudes in the output spectrum must be normalized. | |
int | d_real_col |
double | d_sampling |
bool | d_shift_order |
Flag telling if the output frequencies must be shifted in order to have a zero-centered spectrum. |
FFT::FFT | ( | ApplicationWindow * | parent, | |
Table * | t, | |||
const QString & | realColName, | |||
const QString & | imagColName = QString() | |||
) |
FFT::FFT | ( | ApplicationWindow * | parent, | |
Graph * | g, | |||
const QString & | curveTitle | |||
) |
QString FFT::fftCurve | ( | ) | [private] |
QString FFT::fftTable | ( | ) | [private] |
void FFT::init | ( | ) | [private] |
Reimplemented from Filter.
void FFT::normalizeAmplitudes | ( | bool | norm = true |
) | [inline] |
void FFT::output | ( | const QString & | text | ) | [private] |
void FFT::output | ( | ) | [private, virtual] |
void FFT::setDataFromTable | ( | Table * | t, | |
const QString & | realColName, | |||
const QString & | imagColName = QString() | |||
) | [private] |
void FFT::setInverseFFT | ( | bool | inverse = true |
) | [inline] |
void FFT::setSampling | ( | double | sampling | ) | [inline] |
void FFT::shiftFrequencies | ( | bool | shift = true |
) | [inline] |
int FFT::d_imag_col [private] |
bool FFT::d_inverse [private] |
Flag telling if an inverse FFT must be performed.
bool FFT::d_normalize [private] |
Flag telling if the amplitudes in the output spectrum must be normalized.
int FFT::d_real_col [private] |
double FFT::d_sampling [private] |
bool FFT::d_shift_order [private] |
Flag telling if the output frequencies must be shifted in order to have a zero-centered spectrum.