window

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package window provides various windowing functions for use in designing FIR filters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bartlett

func Bartlett(x float64, n int) float64

Bartlett is a Bartlett windowing function.

Reference: https://en.wikipedia.org/wiki/Window_function#Triangular_window

func Blackman

func Blackman(x float64, n int) float64

Blackman is a Blackman windowing function.

Reference: https://en.wikipedia.org/wiki/Window_function#Blackman_window

func Hamming

func Hamming(x float64, n int) float64

Hamming is a Hamming windowing function.

Reference: https://en.wikipedia.org/wiki/Window_function#Hann_and_Hamming_windows

func Hann

func Hann(x float64, n int) float64

Hann is a Hann windowing function.

Reference: https://en.wikipedia.org/wiki/Window_function#Hann_and_Hamming_windows

func Lanczos

func Lanczos(x float64, n int) float64

Lanczos is a Lanczos windowing function.

Reference: https://en.wikipedia.org/wiki/Window_function#Lanczos_window

func Sinc

func Sinc(x float64) float64

Sinc is the cardinal sinc function. Use it to create other window functions.

Reference: https://en.wikipedia.org/wiki/Sinc_function

Types

type Func

type Func func(x float64, n int) float64

Func is a windowing function.

Jump to

Keyboard shortcuts

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