go-dsp: github.com/mjibson/go-dsp/window Index | Files

package window

import "github.com/mjibson/go-dsp/window"

Package window provides window functions for digital signal processing.


Package Files


func Apply Uses

func Apply(x []float64, windowFunction func(int) []float64)

Apply applies the window windowFunction to x.

func Bartlett Uses

func Bartlett(L int) []float64

Bartlett returns an L-point Bartlett window. Reference: http://www.mathworks.com/help/signal/ref/bartlett.html

func Blackman Uses

func Blackman(L int) []float64

Blackman returns an L-point Blackman window Reference: http://www.mathworks.com/help/signal/ref/blackman.html

func FlatTop Uses

func FlatTop(L int) []float64

FlatTop returns an L-point flat top window. Reference: http://www.mathworks.com/help/signal/ref/flattopwin.html

func Hamming Uses

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 Uses

func Hann(L int) []float64

Hann returns an L-point Hann window. Reference: http://www.mathworks.com/help/signal/ref/hann.html

func Rectangular Uses

func Rectangular(L int) []float64

Rectangular returns an L-point rectangular window (all values are 1).

Package window imports 1 packages (graph) and is imported by 18 packages. Updated 2019-04-20. Refresh now. Tools for package owners.