You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create the B and Ct matrices needed for time-segmented off-resonance compensation---specifically for 3-dimensional B0 arrays and 3D coordinates (shape: N_excitations, N_samples, N_dimensions).
I can get the function: sigpy.mri.util.tseg_off_res_b_ct() to work for a 2-dimensional B0 array, but I cannot use the current code for a 3-dimensional B0 array. My guess is that the np.concatenate commands are causing the problem.
To fix this, I created my own function and replaced the np.concatenate() commands to np.ravel().
Please feel free to comment if you have also seen this issue before.