-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
MRG Butterfly epoch #2206
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
MRG Butterfly epoch #2206
Conversation
|
@jaeilepp can we have a help pop-up when you press |
|
can you share screenshots to it's easy to have a feeling of what you're working on? |
|
you're going to make 3 butterflies? one per channel type?
|
|
There's a button for changing which channel type to view. Default view is the one with all channels. |
|
hmm ... do we really need a button? can't we just have it all there as three subplots? |
Good point. What about the other types (EOG etc.). Should they be shown too? |
|
EOG should be displayed separately
|
|
I was thinking more along the lines of |
|
So what's the verdict? Three axes with mag, grad and eeg, fourth with eog or one for all existing types? |
|
I'll let @agramfort decide |
Yes, this should be it! |
|
I don't quite like the toggle key to be 'b' because it doesn't make sense when you want to go back from the butterfly plot. How about something like |
|
+1 to a pop up infobox with possible key presses. Personally I think 'b' would be fine if the option were given as "turn butterfly plot on/off". Then it's just a toggle and semantically makes sense to be 'b' for me. |
|
Ready for review, I guess. Unless we want the infobox for this PR. |
infobox later. |
|
@jaeilepp trying to run the example on your branch, it seems there are regressions, Also the figure looks weird now: |
|
Butterfly view looks awesome! I really much more liked the event ids on the top x axis, it was much cleaner. |
Yeah, especially when there are a lot of epochs/view. I should probably change it back and deal with the layout problem of the title on another PR. |
|
it'll be nice to have the infobox, I honestly have no clue what key does what other than the '-', '=', and '+'. |
|
yeah +100 on infobox |
|
screenshot? :)
|
|
The channel bar shouldn't be there any more no? |
|
how do I know which is grad, mag or EEG? |
|
no units on y axis? |
|
can we have it interactive so that you can click and know the channel name, just like in |
|
for the title, does that require a separate pr to fix? it's reverted to the clustering in the top. @dengemann my two concerns about the event id at the top is that it is clutters the title area at the moment, and it's not labeled. i know that @jaeilepp mentioned that to get the layout right with the title and the event ids at the top, he would need to rework the shared layout for both raw.plot and epochs.plot |
What would be the button? Left click selects a bad epoch and right click draws a line. |
|
We are running out of buttons. Left click is for bad epochs and right click for vertical lines. |
|
Can't we use left click on channel name? |
|
Yeah, that's possible. |
|
ok let's do it then :) |
|
Ready for review. |
|
clicking to select bad channels is great! we will need that feature in |
|
just noticed this: dropping bads in the epochs viewer should update the |
|
sorry, my last comment was mistaken. the channel amplitudes changed from butterfly to channel view which made the view look different. I think we would want to keep the scaling of the two plots independent. |
|
+1 for merge when Teon is happy
|
|
@agramfort what are your thoughts on the butterfly plot just being the envelope of the signal. it might be time for me to upgrade my hardware but the browsing very sluggish b/c I think it's plotting all the lines in this view but that doesn't really give more information. |
|
I agree that it's dense but it's a quick way to see if one channels goes
wrong compared to others.
|
|
@teonlamont I'd rather suggest to collect and implement a low performance config profile that can be selected optionally, e.g. for SSH or old computers. |
with mne.viz.low_performance(**kwargs):
epochs.plot() |
|
ok cool. i will look into doing so. will be switching back to my desktop soon so this should become less of a problem. |
|
oh, maybe a command line message to remind/notify the user of the drop channel similar to the drop epochs message. would be very useful. |
What do you mean? |
|
Just fixed it. |
scaling butterfly plot doesn't affect channel view and vice versa |
|
for plotting the bad channels, can you make it so that it is in the background for all the channels. in the channel view, it is currently overlapping the previous channel. |
|
Let's merge then
|
|
Yeah, ready from my part. |
|
Thanks @jaeilepp !!! |


Butterfly plot can be toggled with a 'b' key.
closes #2205