digital-filter 0.1.1

A simple digital filter library
Documentation
  • Coverage
  • 25%
    1 out of 4 items documented0 out of 3 items with examples
  • Size
  • Source code size: 7.08 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 863.15 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ReeceStevens

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).