Skip to content

sigpy.mri.util.tseg_off_res_b_ct() for a 3D image and 3D coordinates #139

@joeyplum

Description

@joeyplum

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions