#iterator #hamming #window #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

#709 in Algorithms

Download history 330/week @ 2023-11-20 355/week @ 2023-11-27 301/week @ 2023-12-04 328/week @ 2023-12-11 286/week @ 2023-12-18 148/week @ 2023-12-25 134/week @ 2024-01-01 227/week @ 2024-01-08 271/week @ 2024-01-15 260/week @ 2024-01-22 262/week @ 2024-01-29 205/week @ 2024-02-05 232/week @ 2024-02-12 535/week @ 2024-02-19 389/week @ 2024-02-26 477/week @ 2024-03-04

1,649 downloads per month
Used in 12 crates (11 directly)

MIT/Apache

12KB
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