using ft_sourcegrandaverage with spatio-temporal source reconstructions

Andreas Wollbrink a.wollbrink at UNI-MUENSTER.DE
Thu Apr 1 16:50:25 CEST 2010


Hi,

I have a question concerning the usage of ft_sourcegrandaverage:

Feeding the sourcegrandaverage function with spatio-temporal source
reconstructions (MNE) resulted in the following error message:

??? Subscripted assignment dimension mismatch.

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

Error in ==> sourcegrandaverage at 17
[varargout{1:nargout}] = funhandle(varargin{:});


I used the following settings:

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

and called

sourcegrandaverage(cfg, src1, src2)

The two source reconstructions I generated using ft_sourceanalysis. The
matrix src1.avg.pow is two dimensional [Nsources x Nsamples].

Looking into the code (ft_sourcegrandaverage at 126) this seems to be
the problem.

By diminishing the source power matrix (avg.pow) to one dimension
(Nsources) I succedded using sourcegrandaverage.
To perform a source statistic 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 sourcegrandaverage (and 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