pysptk.sptk.bartlett

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

Bartlett 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,)

bartlett window