Evaluate a continuous Hann window with unit gain at the origin.
Parameters:
coordinate (Tensor) – Real floating-point coordinates, centered at zero.
width (float) – Finite positive full support width in coordinate units. Weights are
(1+cos(2*pi*coordinate/width))/2 inside the support and zero outside.
Returns:
Real weights with the coordinate shape, dtype and device, without energy normalization.