Created
March 4, 2019 15:27
-
-
Save alexrockhill/9a0e85a38956740ff63d70677d2ca6ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import inspect | |
import os.path as op | |
import shutil | |
import numpy as np | |
from numpy.testing import (assert_array_almost_equal, assert_array_equal, | |
assert_allclose, assert_equal) | |
import pytest | |
from mne.utils import _TempDir, run_tests_if_main | |
from mne import pick_types, read_annotations | |
from mne.io.constants import FIFF | |
from mne.io import read_raw_fif, read_raw_brainvision | |
from mne.io.tests.test_raw import _test_raw_reader | |
from mne.datasets import testing | |
FILE = inspect.getfile(inspect.currentframe()) | |
data_dir = op.join(op.dirname(op.abspath(FILE)), 'data') | |
vhdr_path = op.join(data_dir, 'test.vhdr') | |
vmrk_path = op.join(data_dir, 'test.vmrk') | |
eeg_path = op.join(data_dir, 'test.eeg') | |
raw = read_raw_brainvision(vhdr_path,preload=True,event_id={'Sync On':1}) | |
raw.annotations # None when this should have triggers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment