Skip to content

[ENH] Add vector time-frequency visualization to mne.gui.view_vol_stc#11524

Closed
alexrockhill wants to merge 138 commits intomne-tools:mainfrom
alexrockhill:stc3
Closed

[ENH] Add vector time-frequency visualization to mne.gui.view_vol_stc#11524
alexrockhill wants to merge 138 commits intomne-tools:mainfrom
alexrockhill:stc3

Conversation

@alexrockhill
Copy link
Copy Markdown
Contributor

This is a follow-up PR to #11352 (not yet merged) that adds vector time-frequency visualizations. The referenced PR will have to be merged first.

The proof of concept and explanation of how the vectors are visualized is here: https://gist.github.com/alexrockhill/58c4316415c54fcc24f85a617862e2bf. In summary, the three independently estimated orientations are scaled by their phase (0 degrees full magnitude, 180 degrees full negative magnitude) and summed. This makes it so that an oscillation at a vertex appears as a vector oscillating between forward and backward with zero magnitude in the middle. This method does not introduce any rotating vectors as far as I can tell (see gist), any rotations are likely due to the changing orientation of the oscillation.

@larsoner
Copy link
Copy Markdown
Member

larsoner commented Apr 3, 2023

Closing in favor of mne-tools/mne-gui-addons#5, @alexrockhill feel free to port these changes if you haven't already!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants