pysptk.sptk.hamming

pysptk.sptk.hamming(n, normalize=1)

Hamming window

Parameters:

n : int

Window length

normalize : int, optional

Normalization flag
  1. don’t normalize
  2. normalize by power
  3. normalize by magnitude

Default is 1.

Returns:

w : array, shape (n,)

hamming window