filter

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: 2 Imported by: 0

Documentation

Overview

Package filter provides builders for designing kernels for common filter types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeBandPass

func MakeBandPass(h []float64, wf window.Func, stop1, stop2 float64)

MakeBandPass creates a band-pass filter impulse response. It allows frequences between the two stop frequencies.

func MakeBandReject

func MakeBandReject(h []float64, wf window.Func, stop1, stop2 float64)

MakeBandReject creates a band-reject filter impulse response. It filters out frequencies between the two stop frequencies.

func MakeHighPass

func MakeHighPass(h []float64, wf window.Func, cutoff float64)

MakeHighPass creates a high-pass filter impulse response. It filters frequencies lower than the cutoff frequency.

func MakeLowPass

func MakeLowPass(h []float64, wf window.Func, cutoff float64)

MakeLowPass creates a low-pass filter impulse response. It filters frequencies higher than the cutoff frequency.

Types

This section is empty.

Jump to

Keyboard shortcuts

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