Skip to content

Commit

Permalink
feat: use python function
Browse files Browse the repository at this point in the history
  • Loading branch information
paquiteau committed Dec 6, 2024
1 parent d6a6dad commit a2cb35b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snake/core/engine/nufft.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a2cb35b

Please sign in to comment.