2 simple questions

Almudena Capilla a.capilla at PSY.GLA.AC.UK
Wed Apr 2 20:42:45 CEST 2008


Hi Kianoush,

I think this kind of error occurs when the name of your output volume
already exists in your working directory. Maybe it will work if you rename
the "cfg.name"

Hope it helps,

Almu

-----Original Message-----
From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf
Of Kianoush Nazarpour
Sent: 02 April 2008 19:35
To: FIELDTRIP at NIC.SURFNET.NL
Subject: Re: [FIELDTRIP] 2 simple questions

Hi Jan-Mathijs,

Thank you for your reply.

I simply use Subject01 mri data in the tutorial.

Kia


jan-mathijs schoffelen wrote:
> Hi Kianoush,
>
> As you probably have seen, the error occurs in an spm-function. From
> this point it is hard to tell, whether the error is a consequence of
> something going on in your spm-version,
> or whether it is due to a fieldtrip-related issue. Could you provide
> some info with respect to the MRI you use as an input to volumesegment?
>
> Yours,
>
> Jan-Mathijs
>
>
> On Apr 2, 2008, at 8:13 PM, Kianoush Nazarpour wrote:
>
>> Hi All,
>>
>> The error reported for volume segmentation actually is:
>>
>> ??? Error using ==> spm_slice_vol
>> Cant open image file.
>>
>> Error in ==> spm_smoothto8bit>smoothto8bit at 51
>>         img      = spm_slice_vol(V,spm_matrix([0 0 i]),V.dim(1:2),0);
>>
>> Error in ==> spm_smoothto8bit at 14
>>     VO = smoothto8bit(V,fwhm);
>>
>> Error in ==> spm_segment>get_affine_mapping at 233
>>     VFS = spm_smoothto8bit(VF(1),aflags.smosrc);
>>
>> Error in ==> spm_segment>init_sp at 567
>> MM          = get_affine_mapping(VF,PG,flags.affreg);
>>
>> Error in ==> spm_segment at 91
>> SP         = init_sp(flags.estimate,VF,PG);
>>
>> Error in ==> volumesegment at 250
>>   spm_segment(Va,cfg.template,flags);
>>
>>
>> Regards,
>> Kianoush
>>
>> ----------------------------------
>> The aim of this list is to facilitate the discussion between users of
>> the FieldTrip  toolbox, to share experiences and to discuss new ideas
>> for MEG and EEG analysis. See also
>> http://listserv.surfnet.nl/archives/fieldtrip.html and
>> http://www.ru.nl/fcdonders/fieldtrip.
>
> ----------------------------------
> The aim of this list is to facilitate the discussion between users of
> the FieldTrip  toolbox, to share experiences and to discuss new ideas
> for MEG and EEG analysis. See also
> http://listserv.surfnet.nl/archives/fieldtrip.html and
> http://www.ru.nl/fcdonders/fieldtrip.
>

----------------------------------
The aim of this list is to facilitate the discussion between users of the
FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG
and EEG analysis. See also
http://listserv.surfnet.nl/archives/fieldtrip.html and
http://www.ru.nl/fcdonders/fieldtrip.

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/fcdonders/fieldtrip.



More information about the fieldtrip mailing list