I am running into a new issue with batch_fitting. I am using matlab 2015a and have the parallel computing toolbox installed. My binary masks are created using BET in FSL. I have attached my mask and bvec/bval files here as a reference if needed. Would this error have anything to do with my data type? I can convert with fslmaths if needed. Currently, the NODDI is FLOAT32.
loading the DWI volume : sub-imove1011_ses-1_acq-apNoddi_run-1_dwi.nii
loading the brain mask : noddi_bet_mask_final.nii
creating the output ROI ...
saving the output ROI as noddi_roi.mat
>> batch_fitting('noddi_roi.mat', protocol, noddi, 'FittedParams_imove1011.mat', 8);
143759 of voxels to fit
Error using GridSearchRician (line 60)
Input to EIG must not contain NaN or Inf.
Error in ThreeStageFittingVoxel (line 66)
[x0 liks] = GridSearchRician(Epn, modelname, grid, protocol, constantsGD, sig);
Error in batch_fitting>(parfor body) (line 96)
[gsps(i,:), fobj_gs(i), mlps(i,:), fobj_ml(i), error_code(i)] = ThreeStageFittingVoxel(voxel, protocol,
Error in batch_fitting (line 89)