dsp-0.1: Haskell Digital Signal ProcessingContentsIndex
DSP.Filter.FIR.Window
Portabilityportable
Stabilityexperimental
Maintainerm.p.donadio@ieee.org
Description

Commonly used window functions. Except for the Parzen window, the results of all of these look right, but I have to check them against either Matlab or my C code.

More windowing functions exist, but I have to dig through my papers to find the equations.

Synopsis
window :: Array Int Double -> Array Int Double -> Array Int Double
rectangular :: Int -> Array Int Double
bartlett :: Int -> Array Int Double
hanning :: Int -> Array Int Double
hamming :: Int -> Array Int Double
blackman :: Int -> Array Int Double
kaiser :: Double -> Int -> Array Int Double
gen_hamming :: Double -> Int -> Array Int Double
parzen :: Int -> Array Int Double
Documentation
window
:: Array Int Doublew[n]
-> Array Int Doublex[n]
-> Array Int Doublew[n] * x[n]
Applys a window, w, to a sequence x
rectangular
:: IntM
-> Array Int Doublew[n]
rectangular window
bartlett
:: IntM
-> Array Int Doublew[n]
Bartlett window
hanning
:: IntM
-> Array Int Doublew[n]
Hanning window
hamming
:: IntM
-> Array Int Doublew[n]
Hamming window
blackman
:: IntM
-> Array Int Doublew[n]
Blackman window
kaiser
:: Doublebeta
-> IntM
-> Array Int Doublew[n]
rectangular window
gen_hamming
:: Doublealpha
-> IntM
-> Array Int Doublew[n]
Generalized Hamming window
parzen
:: IntM
-> Array Int Doublew[n]
rectangular window
Produced by Haddock version 0.8