[FieldTrip] ft_freqgrandaverage

Hannah Anderson handerson at usc.edu.au
Wed Jul 8 01:17:28 CEST 2020


Hello,

I am calculating the freq grand average for all baseline data which has been through preprocessing and FFT, with some channels being interpolated during the cleaning of the data.
However, I keep getting the error;
Warning: discarding electrode information because it cannot be averaged
My data are stored in individual structs [label, freq, dimord, powspctrm, cfg] in the cell array BGA
I have included the cfg I have used.

cfg                = [];
cfg.parameter      = 'powspctrm';
cfg.keepindividual = 'no';

grandavg_Baseline  = ft_freqgrandaverage(cfg, BGA{1, 1}, BGA{2, 1}, BGA{3, 1}, BGA{4, 1}, BGA{5, 1}, BGA{6, 1}, BGA{7, 1}, BGA{8, 1}, BGA{9, 1}, BGA{10, 1}, BGA{11, 1}, BGA{12, 1},...
    BGA{13, 1}, BGA{14, 1}, BGA{15, 1}, BGA{16, 1}, BGA{17, 1}, BGA{18, 1}, BGA{19, 1}, BGA{20, 1}, BGA{21, 1}, BGA{22, 1}, BGA{23, 1}, BGA{24, 1}, BGA{25, 1},...
    BGA{26, 1}, BGA{27, 1}, BGA{28, 1}, BGA{29, 1}, BGA{30, 1}, BGA{31, 1}, BGA{32, 1}, BGA{33, 1});

If I could have some assistance as to why I am getting this error it would be much appreciated!
Kind Regards,
Hannah



Hannah Anderson

Research Assistant - Healthy Brain Ageing

Sunshine Coast Mind and Neuroscience - Thompson Institute, USC

handerson at usc.edu.au<mailto:mparker4 at usc.edu.au> | [usc.edu.au/thompson-institute]usc.edu.au/thompson-institute

[cid:8e9775ca-8831-4854-9ce8-02c9d84548d0]

I acknowledge the Traditional Custodians of the lands and waters upon which the University's campuses are located.

I acknowledge their continuing connections to country and pay my respects to Elders past, present and emerging.



University of the Sunshine Coast  l  CRICOS 01595D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200707/b591dea8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-0pbf1m50.png
Type: image/png
Size: 39927 bytes
Desc: Outlook-0pbf1m50.png
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200707/b591dea8/attachment.png>


More information about the fieldtrip mailing list