-
Notifications
You must be signed in to change notification settings - Fork 27
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
DTI conversion #75
Comments
@araikes Sorry for the delayed response, So is it helpful that I swap the axis based on the order of vector presented in phase encoding direction? |
Unfortunately, I don't have any experience in DTI/DWI, so I can't offer help here. |
Hi @dvm-shlee, I definitely think that using the SPackArrGradOrient likely makes sense. Read direction is usually in the head-foot direction. Using the gradient table as it is currently written automatically writes it in read-phase-slice irrespective of which axes are which. I'll gather up a clear example on Monday and get back you. |
Following up here on if you managed to construct an example? |
Sorry... This dropped off my radar.. I'll try and get one put together. |
Describe the bug
Using the current github version of
brkraw
, I'm able to convert all of my PV360.2 data (after a bit of manipulation to some files to fix the acquisition name for the DTI sequence). However, my diffusion data do not have the correct b-vector ordering. Currently, the b-vectors are being obtained from themethod
file and the$PVDwGradVec
key. This orders the vectors in read/phase/slice order. However, we are applying left-to-right gradients, so my data are actually ordered phase/read/slice. The JSON confirms that the phase encoding direction isi-
and slice isk-
It would be beneficial to determine the read/phase/slice ordering of the data and then use the individual
PVDwGrad<Read/Phase/Slice>
keys to correctly build the b-vectors.Can happily supply a dataset if needed.
The text was updated successfully, but these errors were encountered: