sigpy.mri.rf.shim.calc_shims¶
-
sigpy.mri.rf.shim.
calc_shims
(shim_roi, sens, x0, dt, lamb=0, max_iter=50)[source]¶ RF shim designer. Uses the Gerchberg Saxton algorithm.
Parameters: - shim_roi (array) – region within volume to be shimmed. Mask of 1’s and 0’s. [dim_x dim_y dim_z]
- sens (array) – sensitivity maps. [Nc dim_x dim_y dim_z]
- x0 (array) –
- dt (float) – hardware sampling dwell time.
- lamb (float) – regularization term.
- max_iter (int) – max number of iterations.
Returns: Vector of complex shim weights.