Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beginner in eeg-erp repository #9

Open
jsuria22 opened this issue May 18, 2023 · 1 comment
Open

Beginner in eeg-erp repository #9

jsuria22 opened this issue May 18, 2023 · 1 comment

Comments

@jsuria22
Copy link

jsuria22 commented May 18, 2023

Hi, I am stuck with the answer in the eeg-erp repository of beginner.ipynb, and I am trying to figure out what is the solution to that question. I am using Windows and Anaconda 3.

From your questions, it is stated that

  1. The function you want to call is named: read_raw_bdf. It has already been imported.
  2. Call it with a single argument: the name of the file to load. Remember the example sin(2)
  3. The name of the file to load is data/magic-trick-raw.bdf
  4. The name of the file is text. Remember what you know about text and quotation ' marks!
  5. Assign the result to a variable with the name raw using the = symbol.

Here is my answer fortis that question.
from mne.io import read_raw_bdf
raw = read_raw_bdf('data/magic-trick-raw.bdf')

But the result displayed FileNotFoundError.

@wmvanvliet
Copy link
Owner

When you're running the notebook on your local machine, you'll also need the EEG data files. You can find them in the "Releases" section of the Github page. For this tutorial you need this file: eeg-erp-data.zip. Unzip it into the folder that also contains the notebooks you are running. It contains the data/magic-trick-raw.bdf file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants