#iterator #window #hamming #hanning #blackman

apodize

simple iterators that yield generalized cosine, hanning, hamming, blackman, nuttall and triangular windows

7 releases (1 stable)

1.0.0 Apr 29, 2019
0.3.1 Aug 14, 2018
0.2.0 Feb 25, 2016
0.1.2 Feb 1, 2016
0.1.1 Dec 20, 2015

#444 in Rust patterns

Download history 189/week @ 2022-06-08 145/week @ 2022-06-15 179/week @ 2022-06-22 154/week @ 2022-06-29 148/week @ 2022-07-06 174/week @ 2022-07-13 124/week @ 2022-07-20 150/week @ 2022-07-27 390/week @ 2022-08-03 359/week @ 2022-08-10 176/week @ 2022-08-17 250/week @ 2022-08-24 185/week @ 2022-08-31 318/week @ 2022-09-07 149/week @ 2022-09-14 201/week @ 2022-09-21

892 downloads per month
Used in 10 crates (9 directly)

MIT/Apache

11KB
105 lines

apodize

Build Status Crate Docs License

Very simple rust iterators that yield generalized cosine, hanning, hamming, blackman, nuttall and triangular windows

Useful for smoothing the sharp discontinuities at the beginning and end of a slice of samples when doing a short time fourier transform. windowing also improves temporal resolution by making the signal near the time being analyzed have higher weight than the signal further away from the time being analyzed.

Documentation and Example

Read before contributing

Licensed under either apache-2.0 (tl;dr) or MIT (tl;dr) at your option

No runtime deps