|
EchoMap 2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
|
The Welch parabolic window. More...
#include <WindowFunctions.hpp>
Static Public Member Functions | |
| static float | operator() (std::size_t index, std::size_t size) noexcept |
| Maps the index into the Welch function. | |
The Welch parabolic window.
Definition at line 255 of file WindowFunctions.hpp.
|
staticnoexcept |
Maps the index into the Welch function.
For a window of size \( M \), let \( N = M - 1 \).
\[ w[n] = 1 - \left( \frac{n - \frac{N}{2}}{\frac{N}{2}} \right)^2 \]
for index \( n \).
The Welch window is a single parabolic section with zero-valued endpoints and a maximum at the centre.
| index | The index within the window. |
| size | The size of the window. |
Definition at line 96 of file WindowFunctions.cpp.