Dear all,
This is the error which showed up in MATLAB command window when I set the scale
grand mean to 0.
Mapping files : Error
using spm_vol_spm_vol_hdr (line 80)
File "G:\Florence\TR_Pilot_Florence\GUTR\fMRI
analysis\MRI_processed\GUTR_run1\sw0001.img" does not exist.
Error in spm_vol (line 61)
v = spm_vol_hdr(deblank(P(i,:)));
Error in mars_image_scaling (line 120)
VY = spm_vol(VY);
Error in marsbar (line 980)
[VY row] = mars_image_scaling(marsD);
Error in spm (line 1054)
evalin('base',CB)
Error while evaluating UIControl Callback
==> Anyone has any suggestions?
Best,
Fiona
Quoting Matthew Brett <[log in to unmask]>:
> Hi,
>
> On Mon, Oct 24, 2016 at 5:35 AM, Jacek Matuszewski
> <[log in to unmask]> wrote:
> > Dear Fiona,
> >
> > If I'm not mistaken this is the moment where you have to select your ROI
> > files - .mat files with spheres / anatomical masks that you want the data
> > extracted for. Have you specified those in your steps?
>
> Many thanks for the reply - but I think that Fiona will have selected
> the ROIs at her third step - there may be something confusing going on
> with the grand mean set to zero - see below.
>
> > W dniu 2016-10-21 20:51, FAN Sin Ying napisaĆ(a):
> >>
> >> Dear all,
> >>
> >> I was trying to use marsbar to work out the percent signal change for
> ROIs
> >> drawn
> >> in our lab. The following were my steps involved:
> >>
> >> Design -> Set design from file --> SPM.mat was selected
> >> Data -> Extract ROI (full options)
> >> ROIs selected from files
> >> Yes to 'Use SPM design'
> >> 'Images from' -> 'SPM design' was chosen
> >> 'Scaling from' -> 'Raw data' was chosen
> >> 'Scale grant mean to' -> was set to 0
> >> Results --> 'Estimate results'
> >>
> >> Then a window popped up and asked me to 'select ROI data' again. I don't
> >> know
> >> what files I am supposed to choose. Anyone has any ideas?
>
> That is strange. I wonder whether marsbar is getting confused with
> the grand mean set to 0. I bet that causes some divide by 0 error or
> simlar, which makes the data all be zero. Try setting the mean to be
> 100 - does it fix the problem?
>
> Cheers,
>
> Matthew
>
>
-------------------------------------------------
This e-mail is sent by CUHK WebMail http://webmail.cuhk.edu.hk
|