Dear community:
I am trying to use read_bvec_file and I am getting this error:
bvecs_file = ‘grad.bvecs’
bvals_file = ‘grad.bvals’
bvecs = in_file_fmricorr + ‘/’ + bvecs_file
import os
from dipy.io.dpy import Dpy
bvec_data = dipy.io.read_bvec_file(bvecs)
===========================================
NameError: name ‘dipy’ is not defined