Windows¶
- pyvoimooo.compute_bandwidth_6dB_below_max(win)¶
- Parameters
win – An array containing the samples of a window function.
- Returns
The bandwidth [0.,0.5] of the window, 6dB below its max value. (not the half bandwith !) [the unit is normalized with respect to the sampling rate, i.e. You can multiply by f_s to get the bandwith in Hz].
New in version 0.8.9.
- pyvoimooo.compute_sidelobes_level(win)¶
- Parameters
win – An array containing the samples of a window function.
- Returns
The level of the side-lobes from the max value.
New in version 0.8.9.
- pyvoimooo.compute_parabolic_logfit_a(win)¶
- Parameters
win – An array containing the samples of a window function.
- Returns
The A quadratic coefficent of the parabolic fitting of the summit of the window [unitless].
New in version 0.8.9.
- pyvoimooo.rectangular(n)¶
Generate a rectangular window.
- Parameters
n – The length of the window.
New in version 0.8.9.
- pyvoimooo.gencoswindow(n, c)¶
Generate a cosine window given coefficients.
- Parameters
n – The length of the window.
c – The coefficients parametrizing the cosine window.
New in version 0.8.9.
- pyvoimooo.hann(n)¶
Generate a Hann window.
- Parameters
n – The length of the window.
New in version 0.8.9.
- pyvoimooo.hamming(n)¶
Generate a Hamming window.
- Parameters
n – The length of the window.
New in version 0.8.9.
- pyvoimooo.blackman(n)¶
Generate a Blackman window.
- Parameters
n – The length of the window.
New in version 0.8.9.
- pyvoimooo.nutall(n)¶
Generate a Nutall window.
- Parameters
n – The length of the window.
New in version 0.8.9.
- pyvoimooo.blackmannutall(n)¶
Generate a Blackman-Nutall window.
- Parameters
n – The length of the window.
New in version 0.8.9.
- pyvoimooo.blackmanharris(n)¶
Generate a Blackman-Harris window.
- Parameters
n – The length of the window.
New in version 0.8.9.
- pyvoimooo.flattop(n)¶
Generate a Flattop window.
- Parameters
n – The length of the window.
New in version 0.8.9.
- pyvoimooo.genexpwindow(n, sigma, p)¶
Generate an generalized exponential window.
- Parameters
n – The length of the window.
sigma – The standard-deviation coefficient.
p – The power coefficient.
New in version 0.8.9.
- pyvoimooo.normwindow(n, std)¶
Generate a Normal (Gaussian) window.
- Parameters
n – The length of the window.
std – The standard-deviation coefficient.
New in version 0.8.9.
- pyvoimooo.expwindow(n, D)¶
Generate an exponential window.
- Parameters
n – The length of the window.
D – The D coefficient.
New in version 0.8.9.
- pyvoimooo.kaiser(n, D)¶
Generate a Kaiser window.
- Parameters
n – The length of the window.
D – The D coefficient.
New in version 0.8.9.