Return a window with a generalized Gaussian shape.
Parameters : | M : int
p : float
sig : float
sym : bool, optional
|
---|---|
Returns : | w : ndarray
|
Notes
The generalized Gaussian window is defined as
w(n) = e^{ -\frac{1}{2}\left|\frac{n}{\sigma}\right|^{2p} }
the half-power point is at
(2 \log(2))^{1/(2 p)} \sigma
Examples