SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <fftwindow.h>
Public Types | |
enum | Function { Bartlett, BlackmanHarris, Flattop, Hamming, Hanning, Rectangle } |
Public Member Functions | |
void | create (Function function, int n) |
void | apply (const std::vector< Real > &in, std::vector< Real > *out) |
void | apply (const std::vector< Complex > &in, std::vector< Complex > *out) |
void | apply (const Complex *in, Complex *out) |
Static Private Member Functions | |
static Real | flatTop (Real n, Real i) |
static Real | bartlett (Real n, Real i) |
static Real | blackmanHarris (Real n, Real i) |
static Real | hamming (Real n, Real i) |
static Real | hanning (Real n, Real i) |
static Real | rectangle (Real, Real) |
Private Attributes | |
std::vector< float > | m_window |
Definition at line 31 of file fftwindow.h.
enum FFTWindow::Function |
Enumerator | |
---|---|
Bartlett | |
BlackmanHarris | |
Flattop | |
Hamming | |
Hanning | |
Rectangle |
Definition at line 33 of file fftwindow.h.
Definition at line 58 of file fftwindow.cpp.
Referenced by SpectrumVis::feed().
Definition at line 64 of file fftwindow.cpp.
Definition at line 70 of file fftwindow.cpp.
Definition at line 56 of file fftwindow.h.
Referenced by create().
void FFTWindow::create | ( | Function | function, |
int | n | ||
) |
Definition at line 21 of file fftwindow.cpp.
References Bartlett, bartlett(), BlackmanHarris, blackmanHarris(), Flattop, flatTop(), Hamming, hamming(), Hanning, hanning(), i, m_window, Rectangle, and rectangle().
Referenced by SpectrumVis::handleConfigure().
Definition at line 50 of file fftwindow.h.
Referenced by create().
Definition at line 68 of file fftwindow.h.
Referenced by create().
Definition at line 74 of file fftwindow.h.
Referenced by create().
Definition at line 80 of file fftwindow.h.
Referenced by create().
|
private |
Definition at line 48 of file fftwindow.h.