1 unstable release

Uses old Rust 2015

0.1.1 Aug 30, 2019

#73 in #digital

MIT license

6KB
70 lines

Digital Filter

This crate will provide an interface to a digital FIR filter implementation for no-std environments that cannot depend on a heap being present. By passing in the filter weights and a matching empty buffer, this crate will instantiate a digital filter that will accept a stream of inputs and produce a stream of filtered outputs.

This crate is effectively an implementation of the lfilter function in SciPy. The goal of this crate is to be a self-contained way to apply a digital filter in an embedded system. It doesn't perform filter design, so you'll need an external tool to design the filter weights for input. SciPy and Matlab both have excellent tools for this (scipy.signal.firwin for SciPy).


lib.rs:

Digital Filter

This crate will provide an interface to a digital FIR filter implementation for no-std environments that cannot depend on a heap being present. By passing in the filter weights and a matching empty buffer, this crate will instantiate a digital filter that will accept a stream of inputs and produce a stream of filtered outputs.

This crate is effectively an implementation of the lfilter function in SciPy. The goal of this crate is to be a self-contained way to apply a digital filter in an embedded system. It doesn't perform filter design, so you'll need an external tool to design the filter weights for input. SciPy and Matlab both have excellent tools for this (scipy.signal.firwin for SciPy).

Dependencies

~750KB
~16K SLoC