package
1.8.5
Repository: https://github.com/noriah/catnip.git
Documentation: pkg.go.dev

# Functions

Bartlett modifies the buffer to a Bartlett window.
Blackman modifies the buffer to a Blackman window N = size n = element a = 0.16 a_0 = (1 - a) / 2 a_1 = 1 / 2 a_2 = a / 2 w[n] = a_0 - a_1 * cos((2 * pi * n) / N) + a_2 * cos((4 * pi * n) / N).
CosSum modifies the buffer to conform to a cosine sum window following a0.
Hamming modifies the buffer to a Hamming window.
Hann modifies the buffer to a Hann window.
Lanczos modifies the buffer to a Lanczos window w[n] = sinc((2n / N) - 1) N = size n = element k = 2 / N buf[n] = sinc(kn - 1) https://www.wikiwand.com/en/Window_function#/Other_windows.
PlanckTaper modifies the buffer to a Planck-taper window not sure how i got this.
Rectangle is just do nothing.

# Constants

HammingConst is the hamming window constant.

# Type aliases

Function is a function that will do window things for you on a slice.