Skip to content

Instantly share code, notes, and snippets.

@cbrnr
Created September 29, 2021 13:25
Show Gist options
  • Save cbrnr/c695546f91e28c32698fe6e29c22884a to your computer and use it in GitHub Desktop.
Save cbrnr/c695546f91e28c32698fe6e29c22884a to your computer and use it in GitHub Desktop.
MNE sample data using pathlib
from pathlib import Path
import mne
fpath = Path(mne.datasets.sample.data_path()) / "MEG" / "sample"
raw = mne.io.read_raw_fif(fpath / "sample_audvis_filt-0-40_raw.fif")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment