Skip to content

ENH: New interface for Brain #7162

Closed
Closed

Description

@GuillaumeFavelier

⚠️ Requires pyvista>=0.24 ⚠️

This PR summarizes the ideas to implement in Brain, previously called _TimeViewer (suggested in #7153 (comment)):

Milestone 0.20
Milestone 0.21
Milestone 0.22
Milestone 0.23
Milestone 1.0
Milestone 1.1
Done
Bug
HARD
Mockup

From #7153 (comment):

image

Progress

From plot_visualize_stc.py:

2020-01-16_1920x1080

output

output

output

73956703-9e6f9b80-4905-11ea-854d-39d02fec4da9

output

output

output

output.mp4

image

Current status
output.mp4

Activity

  1. hoechenberger commented on Feb 13, 2020

    @hoechenberger
    Member

    @GuillaumeFavelier
    regarding this bug report:

    • The help window opens in the background in jupyter qtconsole (reported in #7305 (comment))

    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!

  2. GuillaumeFavelier commented on Feb 14, 2020

    @GuillaumeFavelier
    ContributorAuthor

    The recommended version of pyvista to use is now 0.23.1. The master branch is not supported at the moment so it will break with an error related to interactor. This change is made to improve stability.

  3. larsoner commented on Feb 14, 2020

    @larsoner
    Member

    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 plot_volume_source_estimates, which is a reasonable stopping point.

  4. larsoner commented on Feb 14, 2020

    @larsoner
    Member

    Argh sorry I thought this was #7247. My comment pertains to that PR :)

  5. GuillaumeFavelier commented on Feb 14, 2020

    @GuillaumeFavelier
    ContributorAuthor

    So we hold off on merging this until PyVista cuts a new version?

    I think it can be merged after some tests are added. I updated it and it works out of the box with pyvista 0.23.1 The important blockers are #7228

  6. SophieHerbst commented on Mar 4, 2020

    @SophieHerbst
    Contributor

    Another small thing I realized: stc.plot allows to set a title (title = my_title), which I don't see anywhere on the figure.

  7. GuillaumeFavelier commented on Mar 4, 2020

    @GuillaumeFavelier
    ContributorAuthor

    Oh my! You're totally right, I'm on it. This is easy to fix.

  8. larsoner commented on Mar 11, 2020

    @larsoner
    Member

    @GuillaumeFavelier I tried changing plot_parcellation.py to use label-by-label adding but it was terribly slow (like half a second per label and there are 400+ labels in one of the three parcellations that gets plottted):

    https://gist.github.com/larsoner/67c09029f47cd496a8414b0a98de857f

    So it's probably better to actually implement plot_parcellation by doing whatever PySurfer does.

  9. GuillaumeFavelier commented on Mar 11, 2020

    @GuillaumeFavelier
    ContributorAuthor

    These are valuable infos. Thanks for looking into this, I'll follow your advice.

  10. GuillaumeFavelier commented on Mar 19, 2020

    @GuillaumeFavelier
    ContributorAuthor

    The recommended version of pyvista to use is now 0.24. The previous version 0.23.1 is not supported anymore because of an API change related to interactor. This change is made to improve stability.

  11. added this to the 0.20 milestone on Mar 23, 2020
  12. modified the milestones: 0.20, 0.21 on Mar 25, 2020
  13. 23 remaining items

  14. larsoner commented on Oct 29, 2021

    @larsoner
    Member

    @GuillaumeFavelier I don't see any of the 0.24 items as blockers, okay to push all of those to the next release?

  15. GuillaumeFavelier commented on Oct 29, 2021

    @GuillaumeFavelier
    ContributorAuthor

    okay to push all of those to the next release?

    It's okay for me 👍

  16. modified the milestones: 0.24, 1.0 on Oct 29, 2021
  17. larsoner commented on Feb 11, 2022

    @larsoner
    Member

    @GuillaumeFavelier can you bump all the 1.0 stuff to 1.1 after making sure none of it is critical?

  18. GuillaumeFavelier commented on Feb 11, 2022

    @GuillaumeFavelier
    ContributorAuthor

    Sure, will do

  19. modified the milestones: 1.0, 1.1 on Feb 11, 2022
  20. modified the milestones: 1.1, 1.2 on Jun 4, 2022
  21. modified the milestones: 1.2, 1.3 on Sep 13, 2022
  22. removed this from the 1.3 milestone on Dec 8, 2022
  23. larsoner commented on Sep 25, 2023

    @larsoner
    Member

    I think we can close this and follow with targeted issues/PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions