Help importing .eeg data

External Email - Use Caution

Hi,

I first posted this on github, but I was instructed that this mailing list
would be a better place for these kinds of questions.

I'm trying to import a '.eeg' file, I tried to use the BrainVision methods
find here: https://mne.tools/stable/python_reference.html, however I had no
success, getting the following error:
OSError: The header file must be given to read the data, not a file with
extension '.EEG'.

I used the method "mne.io.read_raw_brainvision", but it's not working. Does
anyone has experience importing data with the extension ".eeg"? It would be
great if someone could send an example.

I attached the error message we received.

[image: mne_error_importing_eeg.jpeg]

Best regards,

External Email - Use Caution

Hi Vitor,

If it?s a BrainVision file then it should also have an associated .vhdr file with it. If you send that file name to mne.io.read_raw_brainvision instead of the .eeg filename then it should work?

Best,

Damian.

External Email - Use Caution

Hi there, Damian,

Thank you for the quickly reply. :slight_smile:

We're using the software WinEEG from Mitsar Co, but as far as we know it
only delivers the ".eeg" extension. Do we know how to generate (or where it
is) the extension ".vhdr"?

Thank you again!!

Vitor.

External Email - Use Caution

If it's Mitsar WinEEG data, then it's probably not BrainVision-formatted
data. Based on the Mitsar WinEEG wiki, it seems like their software can
export to EDF. MNE-Python can already read EDF files (mne.io.read_raw_edf)
so maybe you should try that first.
-- dan

Daniel McCloy
http://dan.mccloy.info/
Research Engineer
Institute for Learning and Brain Sciences
University of Washington