Skip to content

Commit

Permalink
revert unedited files mne-tools#4
Browse files Browse the repository at this point in the history
Try be deleting and replacing the from master

Signed-off-by: Dirk Gütlin <dirk.guetlin@stud.sbg.ac.at>
  • Loading branch information
DiGyt committed Aug 6, 2019
1 parent cf2cfd7 commit 00dcc73
Show file tree
Hide file tree
Showing 6 changed files with 7,304 additions and 0 deletions.
553 changes: 553 additions & 0 deletions mne/viz/_brain/_brain.py

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions mne/viz/_brain/view.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Authors: Alexandre Gramfort <alexandre.gramfort@telecom-paristech.fr>
# Eric Larson <larson.eric.d@gmail.com>
# Oleh Kozynets <ok7mailbox@gmail.com>
# Guillaume Favelier <guillaume.favelier@gmail.com>
# jona-sassenhagen <jona.sassenhagen@gmail.com>
#
# License: Simplified BSD

from collections import namedtuple

View = namedtuple('View', 'elev azim')

views_dict = {'lateral': View(elev=5, azim=0),
'medial': View(elev=5, azim=180),
'rostral': View(elev=5, azim=90),
'caudal': View(elev=5, azim=-90),
'dorsal': View(elev=90, azim=0),
'ventral': View(elev=-90, azim=0),
'frontal': View(elev=5, azim=110),
'parietal': View(elev=5, azim=-110)}
# add short-size version entries into the dict
_views_dict = dict()
for k, v in views_dict.items():
_views_dict[k[:3]] = v
views_dict.update(_views_dict)
Loading

0 comments on commit 00dcc73

Please sign in to comment.