-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Hi, I’m @StefaniaOliviero and I'm a new user of DMIPY
I’m interested in fitting some simulated signals created in Camino (generated in .Bfloat and converted in .nii).
I'm loading the acq_scheme from Camino and I'm trying to fit by executing the commands above, using data in .Bfloat or in .nii,
but, in both the way, It does not work:
data = 'N_B_p00_g70.nii'
dataCam = 'N_B_p00_g70.Bfloat'
NODDI_fit = NODDI_mod.fit(acq_scheme_mipy, data)
Traceback (most recent call last):
File "", line 1, in
File "/home/soliviero/anaconda3/envs/env/lib/python3.8/site-packages/dmipy/core/modeling_framework.py", line 1157, in fit
S0 = np.mean(data_[..., self.scheme.b0_mask], axis=-1)
IndexError: boolean index did not match indexed array along dimension 1; dimension is 1 but corresponding boolean dimension is 273
NOTE: acquisition scheme has 273 directions
Do you have any suggestions to help me?
Best
Stefania