Filtering Fundamentals
Est. read time: 1 minute | Last updated: November 07, 2024 by John Gentile
Contents
from rfproto import filter
FIR Filters
The discrete-time convolution of filter coefficients with input samples can be seen as:
test_filt = filter.fir_filter([0, 0, 1, 0, 0])
for i in range(10):
print(test_filt.step(i+1))
0.0 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0
Filter Design
Complex-Valued Filters
Rarely you’ll need to use a complex-valued filter- often you’re looking to apply a filter on complex-valued input signals. In this case, the same real filter tap values and convolution process can happen in parallel on both real and imaginary parts of the signal.