torch.signal.windows.gaussian
torch.signal.windows.gaussian(M, *, std=1.0, sym=True, dtype=None, layout=torch.strided, device=None, requires_grad=False)
Computes a window with a gaussian waveform.
The gaussian window is defined as follows:
  w_n = \exp{\left(-\left(\frac{n}{2\sigma}\right)^2\right)}

The window is normalized to 1 (maximum value is 1). However, the 1
   doesn't appear if "M" is even and "sym" is True.
Parameters:
      M (int) -- the length of the window. In other words, the
      number of points of the returned window.
Keyword Arguments:
      * std (float, optional) -- the standard deviation of
        the gaussian. It controls how narrow or wide the window is.
        Default: 1.0.
  * **sym** (*bool**, **optional*) -- If *False*, returns a
    periodic window suitable for use in spectral analysis. If
    *True*, returns a symmetric window suitable for use in filter
    design. Default: *True*.
