-
Notifications
You must be signed in to change notification settings - Fork 29
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
output diffusion gradients #8
Comments
@lconcha from version 0.3.3rc8, the gradient direction files will be generated as default. Not sure the generated file is the correct form that you can employ the analysis directly, Thank you! |
You are fast! Thanks for the patch. It seems to be working properly, even for multi-shell acquisitions. I have compared the gradient directions that are obtained through So, in general, your implementation seems to do the job, and I thank you for it! |
@lconcha Thank you for your feedback and providing useful information. If the normalization function would be preferred, I could also integrate it so please let me know. Regarding the Z direction, since the data from BrkRaw just extract raw value from raw data without conversion, there would be some facter that MRtrix conver it intentionally. so hope to ask if you could share raw data (at least method and visu_pars without 2dseq) of the data you present. That would be great help to figure out to resolve this issue! Thank you! |
@lconcha Thank you for sharing the data, but I couldn't found any clue from here what can cause the inverse-sign at the Z axis. The only difference with my usual setting will be the animal position is Head_Prone instead of Head_Supine. but according to this document. It seems the And also there was some discussion on here regarding the invert sign issue you shown. But ended up with no answer. Since I'm not familiar with DTI image, could you provide later which signed direction gives correct DTI measurement ( BTW, I found that there is some bug on the conversion of reconstructed DTI, I will figure out the solution and patch it once I figure out. Again, Thank you for sharing the data! |
@dvm-shlee Does bids_convert have an option to write out the bvec and bval files? |
@eugenegkim there is no option, it just outputs bvec and bval files always if the data is DTI. Thanks! |
@dvm-shlee I've found that bvec and bval files are written if the modality for the DTI scan is set to 'dwi' in the BIDS datasheet. But the modality was initially blank after running bids_helper. So maybe bids_helper can be updated to set the modality of all DTI scans to 'dwi'? And I would say that it's fine to always output the bvec and bval files. Oh and BIDS wants the bvecs in 3 rows. They are currently written out in 3 columns. |
@eugenegkim The BIDS helper documents are not related to the bvec and bval conversion, its internally check the parameter file. but I can make default value for DTI to have dwi. Also, I will correct output of bvec to have 3 rows instead of 3 columns, |
…heet. Correct bvec to have 3 rows instead of 3 columns
@eugenegkim The bvec now has 3 rows and DTI will have default modality as dwi on BIDS excel sheet @lconcha Thanks! |
@dvm-shlee Thanks for your quick responses! |
Thanks for the patches. Seems to be working now. Just a note on the new patch: the converted .nii.gz gets placed in the specified output folder, but the .bvec .bvec and .bmat files are written to the current working directory. Thanks again for all your help. |
@lconcha Thank you for report additional bug. I will check and make a patch for it! |
Thanks for such an amazing tool.
Can brkraw output diffusion gradient directions and b values (bvals, bvecs)? I cannot find any information on the documentation.
The text was updated successfully, but these errors were encountered: