MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / hamming_function

Function hamming_function

src/data_handler/inc/window_functions.h:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26inline void hamming_function (int window_len, double *wind)
27{
28 for (int i = 0; i < window_len; i++)
29 {
30 wind[i] = 0.54 - 0.46 * cos (2.0 * M_PI * i / window_len);
31 }
32}
33
34inline void blackman_harris_function (int window_len, double *wind)
35{

Callers 1

get_windowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected