snd / apodize

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement the numpy window functions?

dam5h opened this issue · comments

commented

I recently needed rust code for the window functions that numpy offers. I couldn't find them in a crate so I ported them over. Any interest in a PR? The numpy windows are:

Kaiser
Blackman-Harris
Bartlett
Hamming
Hanning

It looks like you already have 3 of these as iterators, maybe just not Kaiser and Bartlett. May be nice to offer everything numpy has for others that are curious about porting python code to rust. Just let me know if of interest.