bartorch.nufft

bartorch.nufft#

bartorch.nufft()#

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 (..., samples, 3) in grid units, kx, ky, kz, as bartorch.tools.traj() produces.

  • weights (torch.Tensor, default=None) – Diagonal in k-space applied to the samples.

  • basis (torch.Tensor, default=None) – Temporal subspace basis, coefficients then frames, in BART’s axis order: (coeffs, frames, 1, 1, 1, 1, 1).

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

Examples using nufft#

Trajectories and transforms

Trajectories and transforms

Off-resonance correction of spiral imaging

Off-resonance correction of spiral imaging

Rigid head motion from navigators

Rigid head motion from navigators