Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot topomap #144

Open
vferat opened this issue Sep 20, 2022 · 1 comment
Open

Plot topomap #144

vferat opened this issue Sep 20, 2022 · 1 comment

Comments

@vferat
Copy link

vferat commented Sep 20, 2022

Is your feature request related to a problem? Please describe.
When annotating bad segments and bad electrodes, it is often useful to have a look at the topography at a given timepoint (or the mean topography over several timepoints). It is not currently available in MNE, but we could take advantage of mne-qt-browser to implement it.

Describe the solution you'd like
Implement of new tool "plot topomap" which plots the topomap (mne.viz.plot_topomap) at the current timepoint (green line), for a selected time period , or the selected annotation in annotation mode. The general behavior would be similar to the interactive part of raw.plot_psd which allow to plot topomap of a selected frequency range.

The plot could be on an new window ( similar to the one used to plot channel locations) and update data automatically when the selected data changes.

Describe alternatives you've considered
Just a button to create a new figure which plots topomap at current location (no automatic updating).

Additional context
The feature is currently available in Cartool:
image

@larsoner
Copy link
Member

Agreed we should have something like this. I think we should reuse the evoked.plot(...) code for this -- there is time-span-selection-to-topomap-plotting code that lives there already -- and it should work for mne-qt-browser and the matplotlib backends. I thought we discussed this already somewhere but I can't find it offhand...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants