You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pyvista, stc plotting is great and already really useful for reviewing data.
here are a few thoughts (in no particular order) I've had using it as part of an analysis pipeline for the last week.
there is no brain.remove_labels() which is mentioned in the add_label docs.
It would be useful to return vertices that are interactively added using timeviewer. This would let you save these points and later use them for analysis.
is it possible to link two timeviewers so they share the same point picking and optionally the same camera/view. I wouldn't want them time synced (at least not by default) so you can look at different types of stcs.
I wonder what the opportunities are for adding labels and having time_viewer display their wave forms. Exposing the parameters for extract_label_time_course via the gui might be a pain though.
The pyvista, stc plotting is great and already really useful for reviewing data.
Thanks for the nice feedback!
This feature was not on the top of the list but this issue can definitely increase the priority
Good idea! We could create a function get_picked_points() or get_picked_vertices(), what do you say?
Only the time controllers can be linked at the moment (colorbar in the todo list). I can see the camera controls being shared easily and picking could be tricky (but possible!).
I wanted to work on 4) but I realized that extract_label_time_course() needs the src parameter (source spaces for left and right hemisphere) which is not available with _Brain. How can I fix this?
you should be able to extend extract_label_time_course allowing to
pass white surfaces instead of src.
for extract_label_time_course you need the locations and normals of
the vertices present in the stc.
you should be able to extend extract_label_time_course allowing to
pass white surfaces instead of src.
for extract_label_time_course you need the locations and normals of
the vertices present in the stc.
Unfortunately this will be quite slow since you should compute the normal directions using patch info. Better I think to allow people to pass src to stc.plot. It's not much to ask, you need it for plot_volume_source_estimates anyway.
Activity
GuillaumeFavelier commentedon Jul 6, 2020
Thanks for the nice feedback!
get_picked_points()orget_picked_vertices(), what do you say?I'll update #7162 with your comments and link the PRs to this issue too if you want 👍
agramfort commentedon Jul 6, 2020
GuillaumeFavelier commentedon Sep 9, 2020
I wanted to work on 4) but I realized that
extract_label_time_course()needs thesrcparameter (source spaces for left and right hemisphere) which is not available with_Brain. How can I fix this?I had this example in mind.
agramfort commentedon Sep 9, 2020
larsoner commentedon Sep 9, 2020
Unfortunately this will be quite slow since you should compute the normal directions using patch info. Better I think to allow people to pass
srctostc.plot. It's not much to ask, you need it forplot_volume_source_estimatesanyway.agramfort commentedon Sep 9, 2020