make_b0map

Contents

make_b0map#

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

Make radial B0 map.

Parameters:
  • shape (tuple[int]) – Matrix size.

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

  • mask (np.ndarray) – Spatial support of the object. 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.