15 releases (breaking)

0.11.0 Jan 30, 2024
0.10.2 Mar 8, 2022
0.10.1 Oct 25, 2021
0.8.1 May 29, 2020
0.3.0 Mar 18, 2017

#416 in Algorithms

48 downloads per month
Used in biosignals

Apache-2.0

480KB
798 lines

Digital Signal Processing

Rust Crates.io Crates.io docs.rs

This library is focused in working with block of data not on real time processing.

If you are looking for a realtime processing library then there is already great library for it https://github.com/FutureSDR/FutureSDR

The folder examples contains demo programs which shows how to use this library.

Features

Signal generators

Signals generators are nodes with the state. This allows to generate continuos signal across multiple buffers. Implemented generators:

  • Impulse
  • Step
  • Sinusoid
  • Triangle
  • Square
  • Chirp
  • Noise

Filters

  • Biquad
  • Leaky Integrator (Exponential Smoothing)

Window functions

  • Rectangular
  • Triangular
  • Welch
  • Sine
  • Hann
  • Hamming
  • Blackman

Frequency domain

  • FFT forward and inverse using RustFFT crate.
  • Find peak frequency

License

Licensed under Apache License, Version 2.0

Contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~4–39MB
~533K SLoC