dsp-0.2.1: Haskell Digital Signal ProcessingSource codeContentsIndex
DSP.Filter.FIR.Sharpen
Portabilityportable
Stabilityexperimental
Maintainerm.p.donadio@ieee.org
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
sharpen :: Num a => Array Int a -> [a] -> [a]
Documentation
sharpenSource
:: Num a
=> Array Int ah[n]
-> [a] -> [a]function that implements the sharpened filter
Filter shaprening routine
Produced by Haddock version 2.1.0