blackman_window(window_length: _int, periodic: _bool = ..., dtype: DTypeLike = ..., device: DeviceLike = ..., requires_grad: _bool = ...)Blackman window, in the periodic form stft expects by default.
Parameters
window_lengthintNumber of samples;
>= 0.periodicboolTrue (default) for the form that tiles under stft, False
for the symmetric one.dtypeDTypeLike, DeviceLike, boolThe factory options
hann_window documents.deviceDTypeLike, DeviceLike, boolThe factory options
hann_window documents.requires_gradDTypeLike, DeviceLike, boolThe factory options
hann_window documents.Returns
TensorThe window, shape (window_length,). What it refuses is what
hann_window refuses.
Notes
as lucid.signal.windows.blackman with sym=not periodic.
Examples
>>> import lucid
>>> w = lucid.blackman_window(5, periodic=False)
>>> lucid.allclose(w, lucid.tensor([0.0, 0.34, 1.0, 0.34, 0.0]), atol=1e-6)
True