kaiser_window(window_length: _int, periodic: _bool = ..., beta: _float = ..., dtype: DTypeLike = ..., device: DeviceLike = ..., requires_grad: _bool = ...)Kaiser window with shape parameter beta, periodic by default.
Parameters
window_lengthint, boolNumber of samples and the form (periodic by default); see
hann_window.periodicint, boolNumber of samples and the form (periodic by default); see
hann_window.betafloatShape parameter;
12.0 by default. Larger values widen the main
lobe and lower the side lobes.dtypeDTypeLike, DeviceLike, boolSee
hann_window.deviceDTypeLike, DeviceLike, boolSee
hann_window.requires_gradDTypeLike, DeviceLike, boolSee
hann_window.Returns
TensorThe window_length samples, 1-D; the refusals are
hann_window's.
Notes
as lucid.signal.windows.kaiser with sym=not periodic.
Examples
>>> import lucid
>>> lucid.kaiser_window(3, periodic=False, beta=0.0)
tensor([1., 1., 1.])