imr-framework / pypulseq

Pulseq in Python
https://pypulseq.readthedocs.io
GNU Affero General Public License v3.0
117 stars 63 forks source link

Fix rounding bug in indexing. #99

Closed btasdelen closed 1 year ago

btasdelen commented 1 year ago

Fix for #98.

schuenke commented 1 year ago

I would prefer round(x) over int(np.rint(x)) but it works fine like this 👍

Nikbert commented 1 year ago

the proposed solution works for me!