Skip to content

Commit

Permalink
A major bug in NSP read trajectory implementation (#85)
Browse files Browse the repository at this point in the history
* Fix Nsp reading module

* Fixes

* Fix black

---------

Co-authored-by: chaithyagr <chaithyagr@gitlab.com>
Co-authored-by: GILIYAR RADHAKRISHNA Chaithya <cg260486@is247382.intra.cea.fr>
  • Loading branch information
3 people authored Jul 1, 2024
1 parent c61f716 commit d2e9e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mrinufft/io/nsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def read_trajectory(
else:
if q == 0:
kspace_loc[:, i + 1, :] = (
(initial_positions + gradients[:, q, :] * r) * gamma * 1e-6
initial_positions + gradients[:, q, :] * r * gamma * 1e-6
)
else:
kspace_loc[:, i + 1, :] = (
Expand Down

0 comments on commit d2e9e53

Please sign in to comment.