-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sigpy.mri.util.tseg_off_res_b_ct() for a 3D image and 3D coordinates #139
Labels
bug
Something isn't working
Comments
If interested, this was my updated function. Note, I have also added T2star maps as an input, as they can be treated using similar methods.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 thenp.concatenate
commands are causing the problem.To fix this, I created my own function and replaced the
np.concatenate()
commands tonp.ravel().
Please feel free to comment if you have also seen this issue before.
The text was updated successfully, but these errors were encountered: