Skip to content

Commit

Permalink
wip: just to see what crashes.
Browse files Browse the repository at this point in the history
  • Loading branch information
massich committed Sep 13, 2019
1 parent 783c21b commit d0c3c8e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions mne/datasets/limo/limo.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import numpy as np

from ...channels import read_montage
from ...channels import make_standard_montage
from ...epochs import EpochsArray
from ...io.meas_info import create_info
from ...utils import _fetch_file, _check_pandas_installed, verbose
Expand Down Expand Up @@ -202,7 +202,7 @@ def load_data(subject, path=None, force_update=False, update_path=None,
labels = data_info['chanlocs']['labels']
labels = [label for label, *_ in labels[0]]
# get montage
montage = read_montage('biosemi128')
montage = make_standard_montage('biosemi128')
# add external electrodes (e.g., eogs)
ch_names = montage.ch_names[:-3] + ['EXG1', 'EXG2', 'EXG3', 'EXG4']
# match individual labels to labels in montage
Expand Down
4 changes: 2 additions & 2 deletions mne/io/brainvision/brainvision.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,8 @@ def _get_vhdr_info(vhdr_fname, eog, misc, scale, montage):
montage : str | None | instance of Montage
Path or instance of montage containing electrode positions. If None,
read sensor locations from header file if present, otherwise (0, 0, 0).
See the documentation of :func:`mne.channels.read_montage` for more
information.
See the documentation of :func:`mne.channels.read_dig_captrack` for
more information.
Returns
-------
Expand Down
6 changes: 3 additions & 3 deletions mne/io/cnt/cnt.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def read_raw_cnt(input_fname, montage='deprecated', eog=(), misc=(), ecg=(),
sphere), all the channel locations will be distorted. If you are not
sure that the channel locations in the header are correct, it is
probably safer to use a (standard) montage. See
:func:`mne.channels.read_montage`
:func:`mne.channels.make_standard_montage`
Parameters
----------
Expand Down Expand Up @@ -359,7 +359,7 @@ class RawCNT(BaseRaw):
sphere), all the channel locations will be distorted. If you are not
sure that the channel locations in the header are correct, it is
probably safer to use a (standard) montage. See
:func:`mne.channels.read_montage`
:func:`mne.channels.make_standard_montage`
Parameters
----------
Expand All @@ -369,7 +369,7 @@ class RawCNT(BaseRaw):
Path or instance of montage containing electrode positions. If None,
xy sensor locations are read from the header (``x_coord`` and
``y_coord`` in ``ELECTLOC``) and fit to a sphere. See the documentation
of :func:`mne.channels.read_montage` for more information.
of :func:`mne.channels.make_standard_montage` for more information.
eog : list | tuple
Names of channels or list of indices that should be designated
EOG channels. If 'auto', the channel names beginning with
Expand Down

0 comments on commit d0c3c8e

Please sign in to comment.