Thank you Jesper, I just found this post, after trying to figure out the
bvector rotation, which I might then do via matlab, if what I did below
is correct. Would you mind checking this short example for me please?
I used the approach listed on the FSL site.
http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/eddy/Faq#Will_eddy_rotate_my_bevcs_for_me.3F
All the best wishes and thank you,
Barbara
extracted from eddyparams
Rx Ry Rz
0.01139839832 -0.001556542935 0.002328578383
x=bvector [-.109; -.92; -0.376]
Rx=[cos(0.01139839832) sin(0.01139839832) 0
-sin(0.01139839832) cos(0.01139839832) 0
0 0 1]
Ry=[cos(-0.001556542935) sin(-0.001556542935) 0
-sin(-0.001556542935) cos(-0.001556542935) 0
0 0 1]
Rz=[cos(0.002328578383) sin(0.002328578383) 0
-sin(0.002328578383) cos(0.002328578383) 0
0 0 1]
x’=rotatedbvector [-0.0978 -0.9213 -0.3760]