window

package
v0.0.0-...-11479a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2018 License: ISC Imports: 1 Imported by: 38

Documentation

Overview

Package window provides window functions for digital signal processing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

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

Apply applies the window windowFunction to x.

func Bartlett

func Bartlett(L int) []float64

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

func Blackman

func Blackman(L int) []float64

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

func FlatTop

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

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

func Hann(L int) []float64

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

func Rectangular

func Rectangular(L int) []float64

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL