use-signal-window 0.0.1

Primitive window helpers for signal slices
Documentation
  • Coverage
  • 10%
    1 out of 10 items documented1 out of 5 items with examples
  • Size
  • Source code size: 5.3 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 375.75 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 17s Average build duration of successful builds.
  • all releases: 17s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-signal
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

Primitive windowing helpers.

The crate intentionally limits itself to a few deterministic windows without introducing FFT or DSP dependencies.

Examples

use use_signal_window::{WindowKind, apply_window, window_coefficients};

let coefficients = window_coefficients(WindowKind::Hann, 4).unwrap();
let windowed = apply_window(&[1.0, 1.0, 1.0, 1.0], WindowKind::Hann).unwrap();

assert_eq!(coefficients, windowed);