bartorch.nufft

Contents

bartorch.nufft#

bartorch.nufft(input, traj, *, weights=None, basis=None, **extra)#

Non-uniform Fourier transform of an image to samples along traj.

Computed by FINUFFT, with a negative exponent and scaled by one over the square root of the image’s voxel count.

Parameters:
  • input (torch.Tensor) – Image, C order (..., z, y, x); z is one for a two-dimensional trajectory.

  • traj (torch.Tensor) – Trajectory of shape (..., samples, 3) in grid units, as bartorch.tools.traj() produces.

  • weights (torch.Tensor, optional) – Diagonal applied to the samples (-p).

  • basis (torch.Tensor, optional) – Subspace basis over frames and coefficients (-B).

  • **extra – Further bart nufft options, by name.