com.oregondsp.signalProcessing.filter.iir
Class ThiranAllpass

java.lang.Object
  extended by com.oregondsp.signalProcessing.filter.iir.Allpass
      extended by com.oregondsp.signalProcessing.filter.iir.ThiranAllpass

public class ThiranAllpass
extends Allpass

Designs and implements Thiran allpass filters. Thiran allpass filters are used to interpolate signals by a fractional sample. They have unit amplitude response, thus have no amplitude distortion, and approximate a flat group delay equal to the indicated delay D. The group delay function is maximally flat at 0 Hz.

Author:
David B. Harris Deschutes Signal Processing LLC

Constructor Summary
ThiranAllpass(int N, double D)
          constructs a Thiran allpass filter.
 
Method Summary
 
Methods inherited from class com.oregondsp.signalProcessing.filter.iir.Allpass
evaluate, filter, filter, groupDelay, initialize, print, rationalRepresentation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThiranAllpass

public ThiranAllpass(int N,
                     double D)
constructs a Thiran allpass filter.

Parameters:
N - the order of the allpass filter, typically 3 or 4
D - the delay, in samples, best between N-1 and N