dsp-0.2.5: Haskell Digital Signal Processing

Copyright(c) Matthew Donadio 2003
LicenseGPL
Maintainerm.p.donadio@ieee.org
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

DSP.Filter.FIR.Sharpen

Description

Module to sharpen FIR filters

Reference: Hamming, Sect 6.6

H'(z) = 3 * H(z)^2 - s * H(z)^3 = H(z)^2 * (3 - 2 * H(z))

Procedure:

  1. Filter the signal once with H(z)
  2. Double this
  3. Subtract this from 3x
  4. Filter this twice by H(z) or once by H(z)^2
Synopsis

Documentation

sharpen Source #

Arguments

:: (Num a, Eq a) 
=> Array Int a

h[n]

-> [a] -> [a]

function that implements the sharpened filter

Filter shaprening routine