Plotting Group Average TF Spectra

Hi There,

I’m conducting a time-frequency analysis of some EEG data from a relatively simple priming task. I’ve ran TF decomposition on epochs cut around the target stimulus presentation and generated an AverageTFR object for each condition, for each participant. I’m happy with how to move on from here for stats analysis, but I’m curious what the best way to create a ‘grandmean’ TF for each condition/participant group is - like you would typically would for reporting ERPs. I’ve been doing this using the mne.combine_evoked function for ERP analysis but can’t find a similar function for TF plots/ the AverageTFR object.

I’m using:

  • MNE version: 1.1.1
  • Operating system: Windows 10
  • Python: 3.9.12

Thanks in advance,
Steve

Hello @sb_mnml and welcome to the forum!

For calculating grand means of AverageTFR and also Evoked data, you should use mne.grand_average().

Best wishes,
Richard

Ah, it’s as simple as that! Sorry not sure how I missed that in the documentation - thanks.

And thanks for the welcome! You’ll likely hear from me a fair bit as I’ve just made the MATLAB to Python jump and have a lot of EEG analysis to get through.

1 Like