Skip to content

Commit

Permalink
just render! the thing
Browse files Browse the repository at this point in the history
  • Loading branch information
massich committed Sep 12, 2019
1 parent 31405e8 commit c71ebf3
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions examples/visualization/plot_montage.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
from mne.datasets import fetch_fsaverage
from mne.viz import plot_alignment, set_3d_view, set_3d_title

import warnings


warnings.simplefilter("ignore")

subjects_dir = op.dirname(fetch_fsaverage())

sphere = mne.make_sphere_model(r0=(0., 0., 0.), head_radius=0.085)
Expand Down Expand Up @@ -57,7 +62,7 @@
# Plot options
show_axes=True, dig=True, surfaces='inner_skull', bem=sphere,

# Create dummy info
# Create dummy info
info=mne.create_info(
ch_names=montage.ch_names,
sfreq=1,
Expand All @@ -81,7 +86,7 @@
# Plot options
show_axes=True, dig=True, surfaces='inner_skull', bem=sphere,

# Create dummy info
# Create dummy info
info=mne.create_info(
ch_names=montage.ch_names,
sfreq=1,
Expand All @@ -103,7 +108,7 @@
show_axes=True, dig=True, surfaces='inner_skull', trans=None,
subject='fsaverage', subjects_dir=subjects_dir,

# Create dummy info
# Create dummy info
info=mne.create_info(
ch_names=montage.ch_names,
sfreq=1,
Expand All @@ -128,7 +133,7 @@
show_axes=True, dig=True, surfaces='inner_skull', trans=None,
subject='fsaverage', subjects_dir=subjects_dir,

# Create dummy info
# Create dummy info
info=mne.create_info(
ch_names=montage.ch_names,
sfreq=1,
Expand Down

0 comments on commit c71ebf3

Please sign in to comment.