Skip to content

Instantly share code, notes, and snippets.

@rtheze
Created December 12, 2019 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtheze/31bef97aa0f4fff1b1506e1611746012 to your computer and use it in GitHub Desktop.
Save rtheze/31bef97aa0f4fff1b1506e1611746012 to your computer and use it in GitHub Desktop.
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
import mne
mne.set_log_level('warning')
import os
data_path = os.path.expanduser("~/Desktop/PRACTICALMEEG/")
raw_fname = os.path.join(data_path, 'S1_20190808_023602.mff')
raw = mne.io.read_raw_egi(raw_fname, preload = False)
events = mne.find_events(raw, stim_channel=['D206'], verbose=True)
print(events)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment