linop.spirit_consistency#
- bartorch.linop.spirit_consistency()#
Return
G - Ion(coils, *grid)centred, unitary k-space: the SPIRiT inconsistency.Gapplies a calibrated SPIRiT kernel, cyclically, to every sample.|(G - I) k|^2is small for k-space that agrees with the calibration, so it serves as a quadratic penalty in any solver that takes one: aTikhonovterm of conjugate gradients on a SENSE encoding (composed with the encoding’s coil model and Fourier transform), or the data-consistency subproblem of ADMM or a plug-and-play scheme.Gis applied in the image domain, as a coil mixing per voxel.- Parameters:
kernel (torch.Tensor) –
(coils, coils, *size), frombartorch.tools.spirit_kernel().grid (tuple of int) – The k-space grid.
- Returns:
From and to
(coils, *grid).- Return type: