Expand description
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);