hanning python

pdpi pdpinheiro at gmail.com
Tue Sep 8 08:13:36 EDT 2009


On Sep 8, 12:36 pm, Pierre <pierre.gaill... at gmail.com> wrote:
> Hello,
>> anyone knows what is the python equivalent of the matlab's hanning
> function.
>> Note that in matlab hann and hanning are different.
>> Thanks !

I assume you mean the tapering function mentioned here:
http://mathworld.wolfram.com/HanningFunction.html
Python is a general purpose language, unlike the maths-specialized
MATLAB. I suggest you look into numpy, in which, a quick googling
suggests, an implementation of a the Hanning function is provided. In
fact, if you're using python to replace matlab in any meaningful way,
you'll probably want to use numpy anyway.


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /