tools.slice_grappa#
- bartorch.tools.slice_grappa()#
Return each band’s k-space separated from collapsed multiband k-space by split-slice GRAPPA.
- Parameters:
collapsed (torch.Tensor) –
(coils, lines, *rest)k-space on the lattice of the acquired lines.kernels (torch.Tensor) –
(bands, coils, coils * prod(size))fromslice_grappa_kernel().size (int or tuple of int, default=(3, 5)) – The kernels’ extent.
- Returns:
(bands, coils, lines, *rest), each band carrying the weight per line it was encoded with; zero-padded at the edges.- Return type:
torch.Tensor