cutcutcodec.core.signal.window.kaiser

cutcutcodec.core.signal.window.kaiser(nb_samples: Integral, alpha: Real, dtype=torch.float64) Tensor[source]

Compute the Kaiser–Bessel window.

It is an approximation of cutcutcodec.core.signal.window.dpss().

Kaiser windows

Parameters

nb_samplesint

The window size, it has to be >= 3.

alphafloat

Standardized half bandwidth.

dtypetorch.dtype, default=float64

The data type of the window samples: torch.float64 or torch.float32.

Returns

windowtorch.Tensor

The 1d symetric window, normalized with the maximum value at 1.