tools.slice_grappa_kernel#
- bartorch.tools.slice_grappa_kernel()#
Return split-slice GRAPPA kernels that separate the bands of collapsed multiband k-space.
Each band is encoded into the collapsed k-space by a weight per line (the blipped-CAIPI phase). The kernels are fitted on one training set per band, that band’s calibration alone, collapsed: band
b’s kernel reproduces it from its own set and nothing from the others’ sets (the split-slice leak block), so it rejects the other bands’ signal rather than only fitting the sum.- Parameters:
bands (torch.Tensor) –
(bands, coils, lines, *rest)single-band calibration k-space, on the lattice of the acquired lines.encoding (torch.Tensor) –
(bands, lines): the weight bandbtakes on each line of the collapsed k-space.size (int or tuple of int, default=(3, 5)) – Kernel extent along lines and the remaining axes, odd.
lambda (float, default=1e-3) – Tikhonov weight, relative to the mean squared source.
- Returns:
(bands, coils, coils * prod(size)): the weights of each band’s centre sample on a block of collapsed k-space.- Return type:
torch.Tensor