Hi Stam, Thanks David On Wednesday, 15 January 2014, 13:23, Stamatios Sotiropoulos <[log in to unmask]> wrote: Hi David Could you please upload the data with the mask, bvecs and ovals, so that I can have a look? You should receive an email shortly with the instructions. Cheers Stam On 15 Jan 2014, at 13:04, David Price <[log in to unmask]> wrote: > Dear List, > > I am having a problem running DTIFIT on some 30 (+bo) direction Varian data. > > I have set up my eddy corrected data file, mask file, bvecs and bvals all correctly as far as can see. > > I have tried running from the GUI and the command line with same error > > dtifit -k data -o dti -m nodif_brain_mask -r bvecs -b bvals-V > terminate called after throwing an instance of 'NEWMAT::IndexException' > Aborted > > > This is the datacheck result > > [fsl@localhost Make_FA_Varian_nominal]$ bedpostx_datacheck LWP > LWP/data > data_type FLOAT32 > dim1 128 > dim2 128 > dim3 15 > dim4 31 > datatype 16 > pixdim1 0.6250000000 > pixdim2 0.6250000000 > pixdim3 3.0999999046 > pixdim4 1.0000000000 > cal_max 0.0000 > cal_min 0.0000 > file_type NIFTI-1+ > > LWP/nodif_brain_mask > data_type FLOAT32 > dim1 128 > dim2 128 > dim3 15 > dim4 1 > datatype 16 > pixdim1 0.6250000000 > pixdim2 0.6250000000 > pixdim3 3.0999999046 > pixdim4 1.0000000000 > cal_max 0.0000 > cal_min 0.0000 > file_type NIFTI-1+ > > num lines in LWP/bvals > 1 > num words in LWP/bvals > 31 > num lines in LWP/bvecs > 3 > num words in LWP/bvecs > 93 > > DTIFIT works fine for other data on this machine BTW. > > I would be grateful for any help on this > > Thanks > > David