Pass 'method' parameter to plot_topomap

  • MNE-Python version: 0.23.0
  • macOS

Hi,

The default method of combining gradiometers when using the plot_topomap function is to take the root mean square. When looking at the _merge_grad_data() function in the mne code (mne-python/layout.py at b22031065418396b131676e7ef472acfcb123002 · mne-tools/mne-python · GitHub), it appears that you can pass in ‘mean’ instead of ‘rms’ to change the combination method. However, the documentation of plot_topomap (mne.viz.plot_topomap — MNE 1.0.dev0 documentation) does not allow you to specify a method parameter. Is there some way to change the combination method from rms to mean when using the mne.viz.plot_topomap function?

Thank you

Hello @user23, no, this is currently not possible.

If you believe you have a valid use case, please open a feature request on our GitHub issue tracker.

Best wishes,
Richard

1 Like