Hi, eyeryone!
I just know that dipy has this funtion, but only focus the multi-shell dwi imaging. So, is there any methods can achieve this?
Thanks!
zhiyuan
There is code that we adapted from Marc Golub’s previous work here: GitHub - nrdg/fwe. This should also find its way into DIPY before too long.
Dear Ariel:
When i use this git code, an unexpected bug was appeared. With this information:" D:\tool\anaconda3\Lib\site-packages\fwe\fwe.py:27: UserWarning: Pass [‘bvecs’] as keyword args. From version 2.0.0 passing these as positional arguments will result in an error.
gtab = gradient_table(bval_fname, bvec_fname)". How can this problem be solved? Thank you very much.
Zhiyuan
Hi @zychen,
The error is telling you to name the bvec argument in the gradient_table function. So you’d have to change the fwe source code to be gtab = gradient_table(bval_fname, bvecs=bvec_fname)
Best,
Steven
Furthermore, this warning is harmless until DIPY 2.0 is out and you use that version, so you can ignore it for now. I’ve already fixed this in the code that will be integrated into DIPY before too long.