Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 1.88 KB

README.md

File metadata and controls

66 lines (44 loc) · 1.88 KB

Digital Signal Processing

Build Status Crates.io Crates.io docs.rs

dsp is an early-stage open-source project. It means that API can change at any time. If you think that this library can help you, then let me know. We can discuss future direction and try to stabilize the API.

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

Features

Time domain

  • Shift (Delay)
  • Scale
  • Add signals
  • Multiply signals (modulation)
  • Integration
  • Differentiation
  • Signal Energy
  • Signal Power
  • Modulation
  • Convolution
  • Moving Average
  • Leaky integration
  • Windowing (Hamming)
  • Envelope detection (via squaring), i.e. y[n]=|x[n]|2∗h[n]

Frequency domain

  • FFT forward and inverse using RustFFT crate.
  • Convolution
  • Filters

Signal generators

Signals are continuous functions f: ℝ -> ℂ

  • Impulse
  • Step
  • Sinusoid
  • Triangle
  • Square
  • Chirp
  • Arbitrary (defined by custom function)

License

Licensed under either of

at your option.

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.