-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ENH: New interface for Brain #7162
Comments
@GuillaumeFavelier
for me it's the PyVista window that opens in the background. once activated, pressing ? opens the help window in the foreground. I was not very clear when I first brought this up in the linked comment, sorry about that! |
The recommended version of |
So we hold off on merging this until PyVista cuts a new version? In that case you might as well add some more stuff here, such as the time vertical bar plus clicking. That would at least bring this to feature parity with |
Argh sorry I thought this was #7247. My comment pertains to that PR :) |
I think it can be merged after some tests are added. I updated it and it works out of the box with |
Maybe after this it might not be too difficult to add support for shadows: Feel free to add to the list above or give it a shot if you agree @GuillaumeFavelier . At some point we will want to check that shadows + EDL + SSAO all get along, too. |
I'm going to work on getting the PR working, but after that I'll work on getting multi-pass working according to MultiPass Rendering. |
@GuillaumeFavelier can you update the top comment with what you want to do for 0.24 and then for 1.0 based on your conversations with @agramfort ? Let's leave this as milestoned for 0.24 until all 0.24 boxes are ticked (or bumped to 1.0) so we don't forget anything |
@GuillaumeFavelier I don't see any of the 0.24 items as blockers, okay to push all of those to the next release? |
It's okay for me 👍 |
@GuillaumeFavelier can you bump all the 1.0 stuff to 1.1 after making sure none of it is critical? |
Sure, will do |
I think we can close this and follow with targeted issues/PRs |
pyvista>=0.24
This PR summarizes the ideas to implement in
Brain
, previously called_TimeViewer
(suggested in #7153 (comment)):Milestone 0.20
time_viewer='auto'
andshow_traces='auto'
as the default forstc.plot
/plot_source_estimates
(added in WIP: Set time_viewer and show_traces to auto #7380)nearest
as the default (suggested in MRG: Enable point picking in _TimeViewer #7247 (comment), added in MRG: Add toggle to save_movie in _TimeViewer #7257, reverted in 95ad0ee, added in MRG, FIX: Fix for singleton and efficiency #7469)MplCanvas
(suggested in MRG: Enable point picking in _TimeViewer #7247 (comment), added in MRG: Link _TimeViewer time slider with vertical time line #7423)MplCanvas
with the time slider (suggested in MRG: Enable point picking in _TimeViewer #7247 (comment), added in MRG: Link _TimeViewer time slider with vertical time line #7423)show_traces=True
mode (added in Add clear_points in _TimeViewer #7386)Milestone 0.21
_MNE_BRAIN_TRACES_AUTO=false
and build the frontpage after MRG, ENH: Scrape traces when available #7927 and MRG: Prepare migration to PyVista 0.25 #7791 (suggested in MRG: TimeViewer matplotlib figure color #7925 (comment); in progress in MRG, ENH: Scrape traces when available #7927)get_picked_points()
(suggested in Feat Requests: pyvista - Brain/timeviewer #7959, done in MRG: Add get_picked_points() to _Brain #7963)remove_labels
(suggested in Feat Requests: pyvista - Brain/timeviewer #7959, done in MRG: Add remove_labels to _Brain #7964)mne.surface
in thepublic_modules
(suggested in FIX,VIZ: Update read_curvature #7289 (comment), added in MAINT: Add mne.surface to docstring tests #7930)foreground/background
colors with the render view (suggested in MRG: Add support for foreground in _Brain #7843 (comment); done in MRG: TimeViewer matplotlib figure color #7925)plot_parcellation.py
to just iterate over labels, see MRG, MAINT: Remove PySurfer from CircleCI #7275, added in MRG: _Brain add_annotation #7659, MRG: Refactor _get_ps_kwarg #7695, WIP: Pip uninstall mayavi and pysurfer from CircleCI #7702)vtkPlaybackWidget
for Play/Pause control of the playback, added in WIP: Time viewer tool bar with SVG icons #7589)latest.inc
andplot_visualize_stc
to mentionsave_movie()
(suggested in MRG: Add toggle to save_movie in _TimeViewer #7257 (review), added in MRG: Add toggle to save_movie in _TimeViewer #7257, reverted in 95ad0ee, added in in MRG: Brain save movie #7574)pass_widget
option to widget callback (added in MRG: Link brains with _LinkViewer and plot_linked_brains #7227)Milestone 0.22
transparent=True
, should alpha blend fmin->fmid withbrain_color
(added in FIX: scalar_bar #8643)_Brain
(added in WIP: Merge time viewer code into Brain #8352)Milestone 0.23
Report
(added in MRG: support plot_stc in report #8730)Milestone 1.0
Milestone 1.1
color
parameter toadd_sensors()
to set channels color (suggested in mne.discourse.group)QEvent.PaletteChange
(suggested in Automatic light/dark mode switching of open STC plot windows #9182)Done
_TimeViewer
(suggested in MRG: Enable point picking in _TimeViewer #7247 (comment))_TimeViewer
(added in Use latest version 0.23.1 of pyvista instead of master #7318))time_actor
totime_slider_title
to allow scaling with the window (added in MRG: Update time slider label #7263)contextmanager
for tests using widgets (suggested in MRG: Refactor OFF_SCREEN variable #7276 (comment), added in MRG, MAINT: Use context manager for tests #7280)hemi
(suggested in stc.plot with pyvista: error with hemi='both' #7250 (comment), added in MRG: Update stc.plot documentation about hemi #7256)fscale
slider (suggested in MRG: Use _TimeViewer in plot_source_estimates #7153 (comment), added in 068654f)smoothing=nearest
(suggested in MRG: Use _TimeViewer in plot_source_estimates #7153 (comment), added in MRG: Add support for smoothing_steps=0 #7191)hemi=split
(suggested in MRG: Use _TimeViewer in plot_source_estimates #7153 (comment), added in MRG: Add support for hemi=split in time_viewer #7219)Bug
jupyter qtconsole
(reported in WIP: Add help window to the _TimeViewer #7305 (comment), ENH: New interface for Brain #7162 (comment))screenshot(time_viewer=True)
(reported in brain.screenshot(time_viewer=True) crash #9336, BUG: Fix concat on Windows #9351)hemi=both
(reported in BUG: flat map with "both" on top of one another #9306, MRG, BUG: Fix positioning of flatmaps #9315)add_label
(reported in color argument is not respected in brain.add_label #8815 (comment), fixed in MRG, FIX: Brain add/remove labels #8820)foreground
is not supported in_Brain
(reported in Pyvista foreground bug #7842; done in MRG: Add support for foreground in _Brain #7843)focalpoint
whenhemi=both
should be between the hemispheres (suggested in MRG: Enable point picking in _TimeViewer #7247 (comment), added in MRG: Add reset_camera() primitive in _Renderer #7390)title
parameter is not taken into account (reported in ENH: New interface for Brain #7162 (comment), fixed in Fix window name in _TimeViewer #7382 and MRG: Set _Brain window title #7396)hemi=both
overlap (reported in MRG: Enable point picking in _TimeViewer #7247 (comment), fixed in Fix orientation slider when hemi=both #7383)initial_time
is not taken into account (reported in stc.plot setting initial_time not working with time_viewer=True (PyVista) #7379 added in Fix initial_time in _TimeViewer #7381)dorsal
view causes the_Brain
object to disappear (reported in MRG: Use _TimeViewer in plot_source_estimates #7153 (comment), fixed in MRG: Correct camera view_up when necessary #7187)HARD
Mockup
From #7153 (comment):
Progress
From
plot_visualize_stc.py
:output.mp4
Current status
output.mp4
The text was updated successfully, but these errors were encountered: