Print

Print


Dear Christian,

I've replaced the cg_spmT2x.m by the one you sent on your previous email.

However, i still get the following error:

Running 'Threshold and transform spmT-maps'
Use local RPV values to correct for non-stationary of smoothness.
Failed  'Threshold and transform spmT-maps'
Subscript indices must either be real positive integers or logicals.
In file "C:\Program Files\spm8\
spm8\toolbox\vbm8\cg_spmT2x.m" (v412), function "cg_spmT2x" at line 335.

Any ideas why this might be happening?

Many thanks!

Joana



2011/5/3 Christian Gaser <[log in to unmask]>
Dear Aleksander,

Raphael found the bug. I have attached the corrected version. However, it is a little bit odd that this failure will occur, because that means that your RPV image (Resels per volume) was not correct.

Regards,

Christian

On Tue, 3 May 2011 17:16:48 +0200, [log in to unmask] <[log in to unmask]> wrote:

>Dear Christian,
>
>we tried the newest VBM 8 Version r414. We still get following Error
>
>Running 'Threshold and transform spmT-maps'
>Use local RPV values to correct for non-stationary of smoothness.
>Failed  'Threshold and transform spmT-maps'
>Undefined function or variable 'V2R'.
>In file "C:\Program Files\spm8\toolbox\vbm8\cg_spmT2x.m" (v412), function "cg_spmT2x" at line 312.
>
>The following modules did not run:
>Failed: Threshold and transform spmT-maps.
>
>We do not know if it is a result of an operation error or an error in the tool itself?
>
>With kind regards
>
>Aleksander
>
>
>
>
>
>Dnia 2 maja 2011 22:37 Christian Gaser <[log in to unmask]> napisał(a):
>
>> Dear Aleksander,
>>
>> as Darren assumed there was some debugging code in the function, which I forgot to remove. With the newest update r413 this problem should be now solved.
>>
>> Regards,
>>
>> Christian
>>
>> ____________________________________________________________________________
>>
>> Christian Gaser, Ph.D.
>> Departments of Psychiatry and Neurology
>> Friedrich-Schiller-University of Jena
>> Jahnstrasse 3, D-07743 Jena, Germany
>> Tel: ++49-3641-934752        Fax:   ++49-3641-934755
>> e-mail: [log in to unmask]
>> http://dbm.neuro.uni-jena.de
>>
>>
>> On Wed, 27 Apr 2011 11:13:34 +0200, [log in to unmask] <[log in to unmask]> wrote:
>>
>> >Hallo,
>> >
>> >we are trying to correct for non-stationary of smoothness
>> >and we get following error report
>> >
>> >Use local RPV values to correct for non-stationary of smoothness.
>> >Failed  'Threshold and transform spmT-maps'
>> >Undefined function or variable 'K'.
>> >In file "C:\Program Files\spm8\toolbox\vbm8\cg_spmT2x.m" (v404), function
>> >"cg_spmT2x" at line 321.
>> >
>> >The following modules did not run:
>> >Failed: Threshold and transform spmT-maps
>> >
>> >
>> >We found this :
>> >"Hi, I have removed the interface to the non-stationarity correction in
>> >VBM8 because
>> >of the interferences with the SPM8 GUI. However, there is still a hidden
>> >option if
>> >you use the conversion tools for transforming and thresholding T-or
>> >F-maps:
>> >VBM8|Data presentation|Threshodl and transform T-maps"
>> >
>> >And we followed this sequence
>> >
>> >The non-stationary cluster correction in VBM8 can be
>> >implemented
>> >by the following sequence of menu steps:
>> >Toolbox > VBM8 > Data presentation > Threshold and transform spmT-maps >
>> >.Cluster
>> >extent threshold > ..k-value > ...Correct for non-isotropic smoothness
>> >yes.
>> >
>> >but without success.
>> >
>> >Do you have some experience with this part of the Vbm8 tool?
>> >
>> >We would be thankful for any help.
>> >
>> >With kind regards
>> >
>> >Aleksander
>>