Base class for FFT for time domain voltage input data from an ADC (wrapped FFTW)
More...
#include <fftw_base.h>
|
void | real_fft_linear_power (double data_in[], double data_out_mag[]) |
| performs FFT on real input values, including windowing, no CPG correction More...
|
|
void | complex_fft_linear_power (double data_in_real[], double data_in_imag[], double data_out_mag[]) |
| performs FFT on complex input values, including windowing, no CPG correction More...
|
|
void | linear2dbm_real (double data_out_mag[]) |
| converts a linear scaled power spectrum of real input values into a power spectrum in dBm (same as "linear2dbm_complex" but with n/2 values) More...
|
|
void | linear2dbm_complex (double data_out_mag[]) |
| converts a linear scaled power spectrum of complex input values into a power spectrum in dBm (same as "linear2dbm_real" but with n values) More...
|
|
void | correct_coherent_gain_real (double data_out_mag[]) |
| corrects the coherent power gain (caused by windowing) of a power spectrum in dBm of real input values (n/2 samples) More...
|
|
void | correct_coherent_gain_complex (double data_out_mag[]) |
| corrects the coherent power gain (caused by windowing) of a power spectrum in dBm of complex input values (n samples) More...
|
|
Base class for FFT for time domain voltage input data from an ADC (wrapped FFTW)
constructor, allocates memory, sets parameter for magnitude calculation and windowing coefficients
- Parameters
-
n | FFT size an length of input data |
fft_window | FFT window to use |
void fftw_base::complex_fft_linear_power |
( |
double |
data_in_real[], |
|
|
double |
data_in_imag[], |
|
|
double |
data_out_mag[] |
|
) |
| |
|
protected |
performs FFT on complex input values, including windowing, no CPG correction
- Parameters
-
data_in_real[] | array containing n input time domain samples, real part |
data_in_imag[] | array containing n input time domain samples, imaginary part |
data_out_mag[] | array for the n FFT bins of the linear scaled power spectrum |
void fftw_base::correct_coherent_gain_complex |
( |
double |
data_out_mag[] | ) |
|
|
protected |
corrects the coherent power gain (caused by windowing) of a power spectrum in dBm of complex input values (n samples)
- Parameters
-
data_out_mag[] | array containing n bins of a power spectrum in dBm, that will be corrected in situ |
void fftw_base::correct_coherent_gain_real |
( |
double |
data_out_mag[] | ) |
|
|
protected |
corrects the coherent power gain (caused by windowing) of a power spectrum in dBm of real input values (n/2 samples)
- Parameters
-
data_out_mag[] | array containing n/2 bins of a power spectrum in dBm, that will be corrected in situ |
void fftw_base::linear2dbm_complex |
( |
double |
data_out_mag[] | ) |
|
|
protected |
converts a linear scaled power spectrum of complex input values into a power spectrum in dBm (same as "linear2dbm_real" but with n values)
- Parameters
-
data_out_mag[] | array containing n bins of a linear power spectrum, that will be converted to dBm in situ |
void fftw_base::linear2dbm_real |
( |
double |
data_out_mag[] | ) |
|
|
protected |
converts a linear scaled power spectrum of real input values into a power spectrum in dBm (same as "linear2dbm_complex" but with n/2 values)
- Parameters
-
data_out_mag[] | array containing n/2 bins of a linear power spectrum, that will be converted to dBm in situ |
void fftw_base::real_fft_linear_power |
( |
double |
data_in[], |
|
|
double |
data_out_mag[] |
|
) |
| |
|
protected |
performs FFT on real input values, including windowing, no CPG correction
- Parameters
-
data_in[] | array containing n real input time domain samples |
data_out_mag[] | array for the n/2 FFT bins of the linear scaled power spectrum |
The documentation for this class was generated from the following files:
- radio_control/fft/fftw_base.h
- radio_control/fft/fftw_base.cpp