librosa.filters.window_bandwidth

librosa.filters.window_bandwidth(window, n=1000)[source]

Get the equivalent noise bandwidth of a window function.

Parameters:
window : callable or string

A window function, or the name of a window function. Examples: - scipy.signal.hann - ‘boxcar’

n : int > 0

The number of coefficients to use in estimating the window bandwidth

Returns:
bandwidth : float

The equivalent noise bandwidth (in FFT bins) of the given window function

See also

get_window

Notes

This function caches at level 10.