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

Allow lasso selection sensors in a plot_evoked_topo #12071

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

wmvanvliet
Copy link
Contributor

This allows you to select sensors with a lasso tool in the same manner as plot_sensors("select"). Upon selecting sensors, an SelectChannels UI-Event is published. This is a part of the planner XFit-like GUI, but has other uses as well. For example, we could by default make plot_evoked_topo open up a figure with the average of the selected sensors when you select them, similar to what happens when you click on a sensor.

At the moment, this doesn't work yet when unified=False. If there is a pressing need for it, I can add it, but perhaps this can also be left to a later PR.

@wmvanvliet wmvanvliet force-pushed the sensorselect branch 2 times, most recently from 084bd38 to 4fe2135 Compare October 4, 2023 17:12
@wmvanvliet wmvanvliet added the ENH label Oct 4, 2023
@wmvanvliet wmvanvliet marked this pull request as draft October 4, 2023 17:21
@wmvanvliet wmvanvliet marked this pull request as ready for review October 24, 2024 08:13
@wmvanvliet wmvanvliet requested a review from larsoner as a code owner October 24, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant