OpenBCI to MNE. Displaying raw data

IgorIgor California

Hi everyone!
I'm experiencing strange data display when I trying to print a raw data from a .bdf file using MNE raw.plot() function in python:

And the following is how it looks (.bdf) in EDF browser:

This is probably related to the issue described here: https://openbci.com/forum/index.php?p=/discussion/2338/openbci-to-mne-python
But I'm using the latest OpenBCI GUI v5.0.3.
Also I tried using the code from the "BrainFlow to MNE Python" section from here: https://brainflow.readthedocs.io/en/stable/notebooks/brainflow_mne.html
And the plotted time series is very similar to the one I have from the .bdf file:

This signal is more like Morlet wavelets..
I haven't tried creating an MNE object from a .txt file yet (because I don't know how yet :smile: ) But I guess it might look the same.
Any help would be appreciated.

Comments

  • wjcroftwjcroft Mount Shasta, CA

    Igor, hi.

    Just at first glance, this looks like your valid signals are being overwhelmed with mains noise. The raw data recordings from the GUI (CSV or BDF), are not filtered like the time series / FFT, etc. you see on the GUI screen.

    Generally most EEG applications apply at least a bandpass filter, for example from .5 Hz to 45 Hz. You may also benefit by applying a notch filter at your mains frequency. The mains 50 or 60 Hz are so strong, it tends to get into all biosignals.

    William

Sign In or Register to comment.