Source: GitHub
Signature¶
def sdynpy.signal_processing.sdynpy_srs.nuttall_window(n: int, window_type: int = 12) -> numpy.ndarrayGenerate a Nuttall-family window.
Parameters¶
n : int Number of samples in the window.
window_type : int, default=12 Window type identifier. Only the subset required by the compensation algorithm is supported here.
Returns¶
ndarray
Window values with shape
(n,).
Raises¶
ValueError
If
nis not positive or ifwindow_typeis unsupported.
Notes¶
This is a minimal implementation derived from the MATLAB nuttall
routine and is included only to support waveform compensation.