bartorch.maps_to_kernels

bartorch.maps_to_kernels#

bartorch.maps_to_kernels(maps, size)#

Coil sensitivities as k-space kernels: the centre of each map’s unitary spectrum.

What bartorch.linop.NoncartesianSense takes with kernels=True. Content outside the kernel’s band is lost; kernels_to_maps() gives the maps the kernels stand for, to measure that loss.

Parameters:
  • maps (torch.Tensor) – Sensitivities of shape (coils, *spatial).

  • size (int or tuple of int) – Kernel size per spatial axis, or one size for all.

Returns:

Kernels of shape (coils, *size).

Return type:

torch.Tensor