mr2.utils.filters.gaussian_window

mr2.utils.filters.gaussian_window(coordinate: Tensor, width: float) → Tensor[source]

Evaluate a continuous Gaussian window with unit gain at the origin.

Parameters:
  • coordinate (Tensor) – Real floating-point coordinates, centered at zero.

  • width (float) – Finite positive full width at half maximum in coordinate units. Weights are exp(-4*log(2)*(coordinate/width)**2) without a hard cutoff.

Returns:

Real weights with the coordinate shape, dtype and device, without energy normalization.