using ft_sourcegrandaverage with spatio-temporal source reconstructions

Andreas Wollbrink a.wollbrink at UNI-MUENSTER.DE
Fri Sep 24 14:38:54 CEST 2010


Hi,

I have a question concerning the usage of ft_sourcegrandaverage:

Feeding the ft_sourcegrandaverage function with spatio-temporal source
reconstruction data (MNE) resulted in the following error message:


??? Subscripted assignment dimension mismatch.

Error in ==> ft_sourcegrandaverage at 159
   dat(:,i) = tmp(:);


I used the following settings:

cfg = [];
cfg.parameter = 'pow';
cfg.keepindividual = 'yes';

and called

ft_sourcegrandaverage(cfg, src1, src2)

The two source reconstructions (MNE) I generated using ft_sourceanalysis.

Looking into the matlab code (ft_sourcegrandaverage at 159) I realized
that the problem seems to be that the matrices src1.avg.pow and
src2.avg.pow are two dimensional [Nsources x Nsamples].

By diminishing the source power matrix (avg.pow) to one dimension
(Nsources) I succedded using ft_sourcegrandaverage.
To perform a source statistic (ft_ft_sourcestatistics) later on it would
be nice to have the option to include time information as well (e.g.
like in timelockstatistics).

Please let me know whether generally it is impossible to use
spatio-temporal solutions in ft_sourcegrandaverage (and
ft_sourcestatistics).

Thanks,
Andreas
--


======================================================================

   Andreas Wollbrink, Biomedical Engineer

   Institute for Biomagnetism and Biosignalanalysis       	
   Muenster University Hospital

   Malmedyweg 15        phone:   +49-(0)251-83-52546
   D-48149 Muenster     fax:     +49-(0)251-83-56874	
   Germany
                        e-Mail: a.wollbrink at uni-muenster.de

======================================================================

----------------------------------
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/neuroimaging/fieldtrip.



More information about the fieldtrip mailing list