make_b0map

Contents

make_b0map#

mrinufft.extras.data.make_b0map(shape, b0range=(-300, 300), mask=None)[source]#

Make radial B0 map.

Parameters:
  • shape (tuple[int]) – Matrix size. Only supports isotropic matrices.

  • b0range (tuple[float], optional) – Frequency shift range in [Hz]. The default is (-300, 300).

  • mask (np.ndarray) – Spatial support of the objec. If not provided, build a radial mask with radius = 0.3 * shape

Returns:

  • np.ndarray – B0 map of shape (*shape) in [Hz], with values included in (*b0range).

  • mask (np.ndarray, optional) – Spatial support binary mask.