3D connectivity plots

Open
#6,279 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start by reviewing the issue's proposed scripts and the existing plot_alignment function; the issue does not name repository files, tests, or an entry point. Compare the Mayavi and bezier-based approaches, clarify the desired sensor-space and ROI-to-ROI behavior, and establish a concrete API and acceptance criteria before implementation.

Written by the indexing model from the issue text.

Description

Describe the problem

After I started working in a lab where @kingjr was, it became more and more often the request to plot his "flaming heads". I was fine, until two days ago.

Just to clarify, the flaming heads are the sensor space connectivity 3d plots (from JR's wSMI paper):
Screenshot 2019-05-07 at 13 51 03

Describe your solution

So I wrote a couple of scripts (horrible for now) that are able to do something like the image below, using Mayavi, some parts of the plot_alignment function, and the bezier package.

Screenshot 2019-05-07 at 13 47 22

If you feel like having something like this in MNE-Python, I'm more than happy to work on a PR.

I have a couple of features that I would like to add, including the possibility to do ROI to ROI connectivity (a and b from JR's paper).

This issue was just to open the discussion. I have to ways of plotting, but they depend on my limited knowledge on Mayavi. I have the impression that with some help we can make something better that can be also used to create faster figures.

Dominant language
Python
Stars
3.5k
Forks
1.6k
Avg merge
1d 6h
Merged PRs (30d)
100

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mne-tools/mne-python

All issues in mne-tools/mne-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.