import "github.com/mjibson/go-dsp/window"
Package window provides window functions for digital signal processing.
func Apply(x []float64, windowFunction func(int) []float64)
Apply applies the window windowFunction to x.
func Bartlett(L int) []float64
Bartlett returns an L-point Bartlett window. Reference: http://www.mathworks.com/help/signal/ref/bartlett.html
func Hamming(L int) []float64
Hamming returns an L-point symmetric Hamming window. Reference: http://www.mathworks.com/help/signal/ref/hamming.html
func Hann(L int) []float64
Hann returns an L-point Hann window. Reference: http://www.mathworks.com/help/signal/ref/hann.html
func Rectangular(L int) []float64
Rectangular returns an L-point rectangular window (all values are 1).