Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TVec *Blackman(TVec *Src, double alfa, TSignalWindowMode WindowMode); | Blackman window. |
| 2 | TVec *Blackman(TVec *Src, double alfa, TSignalWindowMode WindowMode, int Index, int Len); | Blackman window. |
Overload 1: TVec *Blackman(TVec *Src, double alfa, TSignalWindowMode WindowMode);
Blackman window.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec * | |
| 2 | alfa | double | |
| 3 | WindowMode | TSignalWindowMode |
Remarks:
Applies Blackman window with alfa parameter 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. The window is defined as [1]:
w[n] = (1 - alpha)/2 - 0.5cos((2pi n)/(N-1)) + alpha/2cos((4pi n)/(N-1))
alfa = 0.16 (standard window) alfa = 0.25 (asymptotic optimal window for large N)
w[n] = 0.42 - 0.5*cos(2*Pi*n/(N-1)) + 0.08*cos(4*Pi*n/(N-1)) (alfa = 0.16)
0 <= n <= N - 1
References:
[1] F. J. Harris, "On the use of windows for harmonic analysis with the discrete Fourier transform", Proceedings of the IEEE 66(1), 1978.
See Also: SignalUtils::Kaiser, SignalUtils::SignalWindow
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler
Overload 2: TVec *Blackman(TVec *Src, double alfa, TSignalWindowMode WindowMode, int Index, int Len);
Blackman window.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec * | |
| 2 | alfa | double | |
| 3 | WindowMode | TSignalWindowMode | |
| 4 | Index | int | |
| 5 | Len | int |
Remarks:
Applies Blackman 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