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]), withi = (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 beNone. The default isNone.device (str, optional) – Computational device (
cpuorcuda:n, withn=0, 1,...nGPUs). The default iscpu.
- Returns:
toeplitz_kernel – Structure containing Toeplitz kernel (i.e., Fourier transform of system tPSF).
- Return type:
GramMatrix