[FieldTrip] question about ft_sourceinterpolate
Magyari, Lilla
Lilla.Magyari at mpi.nl
Mon Feb 20 14:44:57 CET 2012
Hi,
ft_sourceinterpolate is probably requires the specific field of your
functional data that should be interpolated. I do not know what kind of
source-reconstruction you did on your data, and what kind of fields your
data has (sourcePost), but it will be probably the "avg.pow" field. So,
I suggest to try this:
cfg.parameter = 'avg.pow';
Best,
Lilla
zhaoyizhe wrote:
> Dear all,
>
> I have a problem in function of 'ft_sourceinterpolate'.
>
> I run the scrips below, and data from the ftp sever as the test data.
>
> the result is below:
> ??? Error using ==> ft_checkconfig at 162
> The field cfg.parameter is required
>
>
> cfg.parameter='all' has been tried.
> the result is below:
> ??? Reference to non-existent field 'all'.
>
> Would you mind tell me how to deal with it? Thanks a lot in advance.
>
>
> --------------------------------------
> close
> clc
> clear
>
>
> load source
> mri = ft_read_mri('Subject01.mri');
>
> cfg = [];
> cfg.downsample = 2;
> sourcePostInt = ft_sourceinterpolate(cfg, sourcePost , mri);
>
> --------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
--
PhD student
Language and Cognition Group
research assistant
Neurobiology of Language Group
Max Planck Institute for Psycholinguistics
Nijmegen, P.O. Box 310, 6500AH, the Netherlands
Phone: 0031 24 3521561
More information about the fieldtrip
mailing list