Public Member Functions | |
QOBAmplitude (const QVector &, const QVector &) | |
Constructor. | |
virtual | ~QOBAmplitude () |
Destructor. | |
double | GetAmplitude () |
get amplitude | |
double | GetContributionFromFrequency (const unsigned int k) |
contribution to the amplitude from a given frequency | |
const QVector & | GetContributionsVector () |
get vector of contributions from each frequency | |
double | GetIdealPulseAmplitude () |
get amplitude of ideal pulse | |
void | SetWeights (const QVector &weights) |
set the weights to use for computing amplitude | |
Private Member Functions | |
void | TransformToFreq (const QVector &, QVectorC &) |
discrete Fourier transform -- just for testing; use FFT instead | |
Private Attributes | |
QVector | fContributions |
vector of contributions from each frequency | |
QVectorC | fIdealPulseFFT |
FFT of ideal pulse. | |
QVectorC | fPulseFFT |
FFT of pulse. | |
QVector | fWeights |
weights |