-
sdr.design_multirate_fir(up: int, down: int =
1
, half_length: int =12
, A_stop: float =80
) NDArray[float_] Designs a multirate FIR filter impulse response \(h[n]\) using the Kaiser window method.
References¶
fred harris, Multirate Signal Processing for Communication Systems, Chapter 7: Resampling Filters
https://www.mathworks.com/help/dsp/ref/designmultiratefir.html
Examples¶
Design a multirate FIR filter for rational resampling by 11/3.
In [1]: h = sdr.design_multirate_fir(11, 3) In [2]: plt.figure(figsize=(8, 4)); \ ...: sdr.plot.impulse_response(h); ...: In [3]: plt.figure(figsize=(8, 4)); \ ...: sdr.plot.magnitude_response(h); ...: