numpy.bartlett()

numpy.bartlett

numpy.bartlett(M) [source]

Return the Bartlett window.

The Bartlett window is very similar to a triangular window, except that the end points are at zero. It is often used in signal processing for tapering a signal, without generating too much ripple in the frequency domain.

Parameters:

M : int

Number of points in the output window. If zero or less, an empty array is returned.

登录查看完整内容