This repository contains a Python library which implements real time FIR filters. The library was optimized in C++. A demo and a howto are also provided Elements of the repository: 'FIR.py': PYTHON ...
def generate_fir_header( numtaps, pass_zero, sample_rate, cutoff, taps ): t = arange(nsamples) / sample_rate x = cos(2*pi*0.5*t) + 0.2*sin(2*pi*2.5*t+0.1) + \ 0.2*sin ...