mrinufft.io#

Input/Output module for trajectories and data.

Functions

add_phase_to_kspace_with_shifts

Add phase shifts to k-space data.

cfl2traj

Convert a trajectory BART file to a numpy array compatible with MRI-nufft.

pulseq_gre

Create a Pulseq 3D-GRE sequence for arbitrary trajectories.

read_arbgrad_rawdat

Read raw data from a Siemens MRI file.

read_pulseq_traj

Extract k-space trajectory from a Pulseq sequence file.

read_siemens_rawdat

Read raw data from a Siemens MRI file.

read_trajectory

Get k-space locations from gradient file.

remove_extra_kspace_samples

Remove extra samples from k-space data.

siemens_quat_to_rot_mat

Calculate the rotation matrix from Siemens Twix quaternion.

traj2cfl

Export a trajectory defined in MRI-nufft to a BART compatible format.

write_gradients

Create gradient file from gradients and initial positions.

write_trajectory

Calculate gradients from k-space points and write to file.