Skip to content

Instantly share code, notes, and snippets.

View vferat's full-sized avatar
🚲

Victor Férat vferat

🚲
  • department of basic neurosciences, University of Geneva
  • Genève (CH)
  • X @FERAT_VICTOR
View GitHub Profile
from mne.io import read_raw_eeglab
import sklearn.datasets
import numpy as np
import mne
from pycrostates.cluster import ModKMeans
from pycrostates.datasets import lemon
raw_fname = lemon.load_data(subject_id='010017', condition='EC')
raw = read_raw_eeglab(raw_fname, preload=True)
raw.crop(0, 30)