Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TVec *FlatTop(TVec *Src, TSignalWindowMode WindowMode); | Flat-top window. |
| 2 | TVec *FlatTop(TVec *Src, TSignalWindowMode WindowMode, int Index, int Len); | Flat top window. |
Overload 1: TVec *FlatTop(TVec *Src, TSignalWindowMode WindowMode);
Flat-top window.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec * | |
| 2 | WindowMode | TSignalWindowMode |
Remarks:
Applies Flat top window to Src. Window functions are applied to the signal prior to conversion to frequency domain with the FFT algorithm, to reduce the spectral leakage. Their side-effect is a lower frequency resolution. Flat top window was used to get more accurate amplitude information when frequency interpolation routines where not yet common.
w[i] = 0.2810639 - 0.5208972*cos(2*Pi*i/(n-1)) + 0.1980399*cos(4*Pi*i/(n-1)))
0 < i < n-1
See Also: SignalUtils::Kaiser, SignalUtils::SignalWindow
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler
Overload 2: TVec *FlatTop(TVec *Src, TSignalWindowMode WindowMode, int Index, int Len);
Flat top window.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec * | |
| 2 | WindowMode | TSignalWindowMode | |
| 3 | Index | int | |
| 4 | Len | int |
Remarks:
Applies Flat top window to Src vector from element at Index to element at Index + Len - 1.
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler