pyACA: Documentation 0.3.1
Source Code for Audio Content Analysis
Loading...
Searching...
No Matches
Functions
pyACA.ToolComputeHann Namespace Reference

helper function: compute periodic von-Hann window More...

Functions

 ToolComputeHann (iWindowLength)
 

Detailed Description

helper function: compute periodic von-Hann window

from https://www.programcreek.com/python/example/15589/numpy.hanning

Args: window_length: The number of points in the returned window.

Returns: A 1D np.array containing the periodic hann window.

Function Documentation

◆ ToolComputeHann()

ToolComputeHann ( iWindowLength)

Definition at line 17 of file ToolComputeHann.py.

17def ToolComputeHann(iWindowLength):
18 return 0.5 - (0.5 * np.cos(2 * np.pi / iWindowLength * np.arange(iWindowLength)))