I am new to MNE python, and wanted to convert the raw file provided to me in edf format to .fif format. However, I came across this problem. I was wondering if anyone could help me with resolving the issue. I am sharing the code below:
import pathlib
import mne
import mne_bids
matplotlib.use('Qt5Agg')
import numpy as py
import pyedflib
cd C:\Users\sxb2391\Downloads\Files
mne_edf2fiff --edf Try.edf --fif Recording_9_fil.fif ```
And this was the error I obtained:
File "C:\Users\sxb2391\AppData\Local\Temp/ipykernel_12080>>/372198582.py", line 1
mne_edf2fiff --edf Try.edf --fif Recording_9_fil.fif
^
SyntaxError: invalid syntax
Could someone help me with solving this error. That would be of great help.
Hello, oils you possibly share the problematic file with us so we can have a closer look?
btw it is recommended to paste code and error messages as text (and mark it at “preformatted” using the respective toolbar button) to make it easier to read and allow others to find it using our search function.
Hi @richard, here I am sharing a link to that file.
I was wondering if you could tell me if there is a way I can work on processed raw data imported from brainstorm(combined HD-EEG and MEG) to work on it in MNE? In other words, I want to export file from brainstorm in.bst format and open it on MNE. How can I do that?