Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MNE Sample Data
#3
import os
import numpy as np
import mne
import matplotlib.pyplot as plt

mne.datasets.sample.data_path(path=None, force_update=False, update_path=True, download=True, verbose=None)

sample_data_folder = mne.datasets.sample.data_path()
sample_data_raw_file = os.path.join(sample_data_folder, 'MEG', 'sample',
                                    'sample_audvis_filt-0-40_raw.fif')
raw = mne.io.read_raw_fif(sample_data_raw_file)
Reply


Messages In This Thread
MNE Sample Data - by Chriso99 - Sep-05-2020, 02:07 PM
RE: MNE Sample Data - by Larz60+ - Sep-05-2020, 03:35 PM
RE: MNE Sample Data - by Chriso99 - Sep-06-2020, 02:51 AM
RE: MNE Sample Data - by Larz60+ - Sep-06-2020, 03:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Sample based on the distribution of a feature to create more balanced data set dervast 1 1,852 Nov-15-2019, 12:25 AM
Last Post: schuler

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020