Not sure how the strange characters got there, but I see them on my Linux
machine too. I have removed them. Also you need to add another 800 to your
bvals file, as it only has 26 elements in it and you have 27 volumes.
Peace,
Matt.
-----Original Message-----
From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On Behalf
Of Michael Scheel
Sent: Wednesday, April 16, 2008 11:48 AM
To: [log in to unmask]
Subject: Re: [FSL] dtifit error message: terminate called after throwing an
instance of 'NEWMAT::ProgramException'
Hi Matt,
thanks for the file for some reason it still does not work. When I look
in your bvecs file some numbers cannot be displayed with my text editor
and appear as blank squares. When I use cat everything is fine, although
I don't understand "ÿþ" at the beginning.
powerbuch-2:~/Desktop/ALL-MRI/DTI/DTI-FirstSteps/ForFSL michael$ cat
DtiFit-Folder/bvecs
ÿþ0 1 5.3221297e-01 2.5013984e-01 -6.3350669e-01 -2.1892246e-01
-4.1314981e-01 7.3423603e-01 9.3646994e-01 -3.3311241e-01
1.0331549e-01 -9.2653966e-01 8.0148897e-01 -9.1683677e-01
-5.3775580e-01 -2.1355906e-01 -1.2413861e-01 2.7397994e-01
-4.4331549e-01 2.4170842e-02 5.6836516e-01 9.3093039e-01
-8.2545884e-01 4.7259788e-01 5.0426336e-01 1.4933556e-01
-6.9471741e-01
0 0 1.0401254e-01 -7.2183406e-01 -7.5313563e-01 8.5039252e-01
-7.8029423e-01 -6.6180369e-01 5.4189066e-02 -2.4285900e-01
-9.9167701e-01 3.7298307e-01 5.4314331e-01 -2.6194769e-01
4.3802793e-01 -6.6468448e-01 -5.1815651e-02 9.6027311e-01
8.7804833e-01 3.6877153e-01 6.3709831e-01 -1.6815773e-01
-1.8217847e-01 -6.2955748e-01 -1.2926453e-01 6.8874259e-01
3.4441193e-01
0 0 -8.4019685e-01 6.4527951e-01 -1.7735838e-01 4.7844072e-01
4.6951907e-01 1.5137146e-01 3.4653657e-01 9.1107389e-01
-7.6828462e-02 -4.9070314e-02 -2.5022146e-01 3.0132001e-01
-7.2038201e-01 -7.1595186e-01 -9.9091107e-01 -5.3014550e-02
-1.8028449e-01 9.2920575e-01 5.2064075e-01 -3.2417833e-01
-5.3425529e-01 -6.1669167e-01 8.5382032e-01 -7.0945933e-01
6.3146507e-01ÿþ
This is what I get on datacheck:
powerbuch-2:~/Desktop/ALL-MRI/DTI/DTI-FirstSteps/ForFSL michael$
bedpostx_datacheck DtiFit-Folder/
DtiFit-Folder//data
data_type INT16
dim1 256
dim2 256
dim3 27
dim4 26
datatype 4
pixdim1 1.0156199932
pixdim2 1.0156199932
pixdim3 4.0000000000
pixdim4 1.0000000000
cal_max 0.0000
cal_min 0.0000
file_type NIFTI-1+
DtiFit-Folder//nodif_brain_mask
data_type INT16
dim1 256
dim2 256
dim3 27
dim4 1
datatype 4
pixdim1 1.0156199932
pixdim2 1.0156199932
pixdim3 4.0000000000
pixdim4 1.0000000000
cal_max 1.0000
cal_min 0.0000
file_type NIFTI-1+
num lines in DtiFit-Folder//bvals
1
num words in DtiFit-Folder//bvals
26
num lines in DtiFit-Folder//bvecs
1
num words in DtiFit-Folder//bvecs
199
bvecs and bvals are incompatible
number of elements in bvals is not equal to number of vols in data
number of elements per line in bvecs is not equal to number of vols in data
Matt Glasser schrieb:
> Use this.
>
> Peace,
>
> Matt.
>
> -----Original Message-----
> From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On Behalf
> Of Michael Scheel
> Sent: Sunday, April 13, 2008 4:28 PM
> To: [log in to unmask]
> Subject: Re: [FSL] dtifit error message: terminate called after throwing
an
> instance of 'NEWMAT::ProgramException'
>
> Hi Matt,
>
> i attached both files. Can you have a look?
>
> Michael
>
>
>
> Matt Glasser schrieb:
>
>> Did you include the b0 in the bvecs?
>>
>> Peace,
>>
>> Matt.
>>
>> -----Original Message-----
>> From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On
Behalf
>> Of Michael Scheel
>> Sent: Sunday, April 13, 2008 10:12 AM
>> To: [log in to unmask]
>> Subject: Re: [FSL] dtifit error message: terminate called after throwing
>>
> an
>
>> instance of 'NEWMAT::ProgramException'
>>
>> Hi Matt,
>>
>> datacheck says that my bvecs and bvals are incompatible. For some reason
>> it says
>>
>> num lines in DtiFit-Folder//bvals
>> 1
>> num words in DtiFit-Folder//bvals
>> 26
>> num lines in DtiFit-Folder//bvecs
>> 1
>> num words in DtiFit-Folder//bvecs
>> 189
>> bvecs and bvals are incompatible
>>
>> But i checked it - I have 3 lines with 25 values each in bvecs. Does
>> this have to do with file format?
>>
>> Cheers, Michael
>>
>>
>> Matt Glasser schrieb:
>>
>>
>>> Try running bedpostx_datacheck on the folder you are trying to run
>>>
>>>
>> bedpostx
>>
>>
>>> on.
>>>
>>> Peace,
>>>
>>> Matt.
>>>
>>> -----Original Message-----
>>> From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On
>>>
> Behalf
>
>>> Of Michael Scheel
>>> Sent: Saturday, April 12, 2008 2:06 PM
>>> To: [log in to unmask]
>>> Subject: [FSL] dtifit error message: terminate called after throwing an
>>> instance of 'NEWMAT::ProgramException'
>>>
>>> Hi fsl-experts,
>>>
>>> i get the following error message when I try to run a dtifit on my
>>>
>>>
>> dataset:
>>
>>
>>> terminate called after throwing an instance of
'NEWMAT::ProgramException'
>>>
>>> Any idea? Thanks Michael
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
--
Michael Scheel
AG PD Dr. Stroehle
Klinik fuer Psychiatrie und Psychotheraphie
Charite - Campus Charite Mitte
[log in to unmask]
0176 - 20801852
ÿþ0
|