Haskell DSP LibrarySource codeParentContentsIndex
DSP.Filter.FIR.Window
Portability portable
Stability experimental
Maintainer m.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 Double w[n]
-> Array Int Double x[n]
-> Array Int Double w[n] * x[n]
Applys a window, w, to a sequence x
rectangular
:: Int M
-> Array Int Double w[n]
rectangular window
bartlett
:: Int M
-> Array Int Double w[n]
Bartlett window
hanning
:: Int M
-> Array Int Double w[n]
Hanning window
hamming
:: Int M
-> Array Int Double w[n]
Hamming window
blackman
:: Int M
-> Array Int Double w[n]
Blackman window
kaiser
:: Double beta
-> Int M
-> Array Int Double w[n]
rectangular window
gen_hamming
:: Double alpha
-> Int M
-> Array Int Double w[n]
Generalized Hamming window
parzen
:: Int M
-> Array Int Double w[n]
rectangular window
Produced by Haddock version 0.4