mr2.algorithms.csm.espirit
- mr2.algorithms.csm.espirit(coil_k_space: Tensor, img_shape: SpatialDimension[int], singular_value_threshold: float = 0.02, kernel_width: int = 6, crop_threshold: float = 0.8, n_iterations: int = 10) Tensor[source]
Calculate a coil sensitivity map (csm) using the ESPIRIT method.
This is for a single set of Cartesian coil k-space data. The input should be a tensor with dimensions
(coils, kz, ky, kx). The output has shape(coils, *img_shape.zyx). Either apply this function individually to each set of coil k-space data, or seefrom_kdata_espiritwhich performs this operation on a whole dataset [UEC2013].This function is inspired by sigpy.mri.app.EspiritCalib.
Covariance and power iterations are evaluated in spatial slabs to limit working memory.
- Parameters:
coil_k_space (
Tensor) – Cartesian k-space for each coil element.img_shape (
SpatialDimension[int]) – Shape of the reconstructed image.singular_value_threshold (
float, default:0.02) – Relative singular-value cutoff for calibration kernels, matching SigPy: retains_i / s_max > singular_value_threshold. For BARTecalib -t t, usesqrt(t); BART thresholds relative calibration-Gram eigenvalues. For example, BART-t 0.02corresponds to approximately0.141421. The Gram eigendecomposition loses precision for very small cutoffs.kernel_width (
int, default:6) – edge size of the scanning windowcrop_threshold (
float, default:0.8) – Eigenvalue cutoff for map support, independent of the kernel cutoff. Maps with eigenvalues at or below this value are set to zero.n_iterations (
int, default:10) – number of iterations in the power method
- Returns:
csm of the shape (coils, z, y, x)
References
[UEC2013]Uecker M, Lai P, Murphy MJ, Virtue P, Elad M, Pauly JM, Vasanawala SS, Lustig M (2013) ESPIRiT
an eigenvalue approach to autocalibrating parallel MRI: Where SENSE meets GRAPPA. MRM