freqgrandaverage-no averaging performed

Hsu, Shen-Mou shehsu at INDIANA.EDU
Mon Dec 1 11:29:09 CET 2008


Dear users,

The following message was returned when I executed the freqgrandaverage: "not computing grand average, but keeping individual power for 15 subjects
Warning: discarding electrode information because it cannot be averaged".

I was wondering if someone may shed some light on this issue.

Big thanks in advance.

Shen-Mou Hsu

MY SCRIPT:

j = 1;

for sub = [1 2 3 6 7 8 9 10 12 13 14 16 17 18 19]
    load (['Sub',num2str(sub),'_ERSP_N_fieldtrip_',num2str(i)]);
    
    ERSPall(j) = TFRwave;
    j= j+1;
end



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

ERSP_N_LV = freqgrandaverage(cfg, ERSPall(1), ERSPall(2),ERSPall(3),...
    ERSPall(4), ERSPall(5), ERSPall(6),ERSPall(7),ERSPall(8),...
    ERSPall(9),ERSPall(10),ERSPall(11),ERSPall(12),ERSPall(13),...
    ERSPall(14),ERSPall(15));


save('ERSP_N_LV','ERSP_N_LV');

----------------------------------
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