make_t2smap

Contents

make_t2smap#

mrinufft.extras.data.make_t2smap(shape, t2svalue=15.0, mask=None)[source]#

Make homogeneous T2* map.

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

  • t2svalue (float, optional) – Object T2* in [ms]. The default is 15.0.

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

Returns:

  • np.ndarray – T2* map of shape (*shape) in [ms].

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