mne-tools / mne-tools/mne-python

improve plot_alignment to show 'dig' points from device coord frames

Open
#6,947 6 comments 0 reactions 1 assignee View on GitHub

@neurogima is already working on this.

Since Mar 19, 2021.

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

Description

I'm routinely in the situation were I need to evaluate either the quality of the MEG HPI localizations and/or our external headshape measurements (Polhemus fastscan and fasttrack).

There currently isn't a way to visualize the MEG HPI locations since they are not in head coordinates or if you transform them to head coordinates, they typically end up labelled the same as the points coming from polhemus and you can't tell them apart.

My proposal would be to

  1. keep the points in the info['dig'] in the coord_frame they are measured in.
  2. have plot_alignment move points from MEG coord frame to the display frame (HEAD or MRI) and plot them using a different glyphs (sphere:head_frame, ??:MEG FRAME)

I'm curious what others think of this or what problems it will cause :)

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.