deepmr.fft.plan_toeplitz_fft

deepmr.fft.plan_toeplitz_fft#

deepmr.fft.plan_toeplitz_fft(coord, shape, basis=None, device='cpu')[source]#

Compute spatio-temporal kernel for fast self-adjoint operation.

Parameters:
  • coord (torch.Tensor) – Sampled k-space locations of shape (ncontrasts, nviews, nsamples, ndims). Indexes must be between (0, shape[i]), with i = (z, y, x).

  • shape (int | Iterable[int]) – Oversampled grid size of shape (ndim,). If scalar, isotropic matrix is assumed.

  • basis (torch.Tensor, optional) – Low rank subspace projection operator of shape (ncontrasts, ncoeffs); can be None. The default is None.

  • device (str, optional) – Computational device (cpu or cuda:n, with n=0, 1,...nGPUs). The default is cpu.

Returns:

toeplitz_kernel – Structure containing Toeplitz kernel (i.e., Fourier transform of system tPSF).

Return type:

GramMatrix