https://123dok.net/document/y4wkpj70-rényi-entropy-optimal-window-computation-short-fourier-transform.html