One TFR plot averaged over picked channels

Hello :slight_smile:

I dont know if this is because of an update, but shortly ago when I run the following code, I would get one plot averaged over Oz, O1 and O2, and not three plots. How can I get my averaged plot back? :face_with_peeking_eye:

grandAvg.plot(['Oz', 'O1', 'O2'],title='Occipital cluster',
              tmin=-1, tmax=3, show=True, vmin=-0.04, vmax=0.04, cmap='viridis')

Thank you :slight_smile:

The plot method of an AverageTFR object has a combine argument which controls how channels are combined. By default, you get one plot for each channel. You need to set combine="mean" to get an average.


1 Like

Thank you for your help :blush:

how did you even know it was a TFR? :mage:

Ahah, I’ve been digging a bit too much into TFR representations during the past 2 days :sweat_smile: I need to see something else before I dream of one.



It’s literally in the title :sweat_smile:

1 Like