MRsources / MRzero-Core

GNU Affero General Public License v3.0
23 stars 5 forks source link

import_file should produce exact k-space trajectories inbetweeen ADC blocks #35

Open magdamd opened 7 months ago

magdamd commented 7 months ago

Using import_file instead of from_seq and, then, using get_full_kspace results in the function returning the kspace trajectory only at the adc points + 4 initial points which do not corresponds to adc points.

Script displaying the problem: https://colab.research.google.com/drive/1c9-uwGnfPModAK0S6QAwVOZ6y2eSniWo?usp=sharing

J-Endres commented 7 months ago

The new import_file function will put all gradients between two ADC samples in a single mr0 event, which is why they are not visible in the trajectory. This means that (only) calculation of diffusion can be wrong, but all ADC kspace locations and their timing should still be correct.

Can fix this in the next update to get exact k-space trajectories even between ADC samples 👍