Skip to content

Conversation

@larsoner
Copy link
Member

@larsoner larsoner commented Apr 5, 2021

@christianbrodbeck see #9250, this PR fixes the behavior in main:

>>> mne.viz.plot_alignment(mne.io.read_raw_egi(mne.datasets.testing.data_path() + '/EGI/test_egi.mff').info, show_axes=True, dig=True, eeg=True, coord_frame='head')

Screenshot from 2021-04-05 14-48-36

To properly transform to the head coordinate frame (this PR):

Screenshot from 2021-04-05 15-20-57

No need for latest.inc update because this was added within-cycle in #8789

Closes #9250

Copy link
Member

@agramfort agramfort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for MRG provided @christianbrodbeck confirms it fixes the pb and we have a what's new entry.

thx heaps @larsoner !

@larsoner
Copy link
Member Author

larsoner commented Apr 5, 2021

+1 for MRG provided @christianbrodbeck confirms it fixes the pb and we have a what's new entry.

Quoting above:

No need for latest.inc update because this was added within-cycle in #8789

@agramfort
Copy link
Member

ok then. Let's just make CIs green :)

@larsoner
Copy link
Member Author

larsoner commented Apr 6, 2021

Failure was just a timeout but it actually passed:

= 2908 passed, 53 skipped, 220 deselected, 3 xfailed, 2 xpassed, 2 warnings in 2721.60s (0:45:21) =

so I'll go ahead and merge

@larsoner larsoner merged commit f6b4dd8 into mne-tools:main Apr 6, 2021
@larsoner larsoner deleted the mff branch April 6, 2021 18:45
vagechirkov pushed a commit to vagechirkov/mne-python that referenced this pull request Apr 6, 2021
* BUG: Fix coordinate frame

* FIX: Better test

* FIX: Test
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.

BUG: EGI coords read but not transformed

3 participants