[FieldTrip] 26ad

Dr. Stephan Frisch stephan.frisch at uni-ulm.de
Sun Feb 12 08:31:42 CET 2023

Guten Tag, 

Ich bin vom 05.02.2023 bis 10.02.2023 nicht im Büro und kann die Emails nur sehr unregelmäßig lesen und beantworten. Die Emails werden auch nicht weitergeleitet.  

I am out of the office from 05.02.2023 to 10.02.2023 and can only read and answer emails very sporadically. The emails are also not being forwarded.  

Viele Grüße / Best regards
Stephan Frisch

Am 06.02.2023 um 09:12 schrieb Lei, A. (Anqi) via fieldtrip <fieldtrip at science.ru.nl>:

> Dear FieldTrip list,
> I have a quick question about using “ft_freqgrandaverage” to calculate a group average of powerspectrum while ignoring missing channels across subjects. 
> Some subjects in my dataset have bad channels so I dropped these channels and replaced their values with NaNs instead of doing interpolation. However, “ft_freqgrandaverage” doesn’t seem to ignore these NaNs while calculating the grand mean so I ended up with a lot of missing channels in my group average – is there a way for the function to ignore channels with NaNs? (I tried to use cfg.nanmean = 'yes' but it didn’t work).
> Thank you!
> Best,
> Anqi 
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!_7WkKsJHnQt0DJo7UigjI1yWjXkibsm_lcM02gOOMNJ_U5jqpsBA2Yo9xoOKi8_fzXuZCzyTHUBhOdhZCgWxSO1k4om_khVJww$ 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2704 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20230212/439e7130/attachment.bin>

More information about the fieldtrip mailing list