diff --git a/src/snake/core/engine/nufft.py b/src/snake/core/engine/nufft.py index f80dee2..9971f92 100644 --- a/src/snake/core/engine/nufft.py +++ b/src/snake/core/engine/nufft.py @@ -119,7 +119,7 @@ def _job_model_T2s( for i, traj in enumerate(trajectories): phantom_state = get_phantom_state(phantom, dyn_datas, i, sim_conf) if slice_2d: - slice_loc = np.rint((traj[0, -1] + 0.5) * sim_conf.shape[-1]) + slice_loc = round((traj[0, -1] + 0.5) * sim_conf.shape[-1]) nufft.samples = traj[:, :2] if smaps is not None: nufft.smaps = smaps[..., slice_loc]