pythonmne-pythoneeglab

Reading of EEG file by mne shows - Channels contain different lowpass filters


I have eeg files from BrainVision and would like to open it to dataset by mne (or any other pip lib) and I'm getting the error:

RuntimeWarning: Channels contain different lowpass filters. Highest (weakest) filter setting (131.00 Hz) will be stored.
  raw = mne.io.read_raw_brainvision('S01_base.vhdr', preload=True)

which is produced by code:

import mne

raw = mne.io.read_raw_brainvision('base.vhdr', preload=True)

events, event_ids = mne.events_from_annotations(raw)

I also tried to use for that task MathLab with EEGLab, but it is not installable in mathlab as I see :( I don't have any .edf file for example. So, how to get some dataset from .eeg file for example which will be like timestamp -> signal ?


Solution

  • MNE-Python usage questions should be asked in the specific usage forum: https://mne.discourse.group/

    For your question, the RuntimeWarning you get is simply telling you something about your raw data. If you inspect your .vhdr file (open it in a text editor), you can scroll down to a section called "channels", and there you will probably see, that some of your channels have different filter settings.

    See for example: https://github.com/mne-tools/mne-python/blob/24c2e8f809eaae87c8e4c8d574fcf867b742f755/mne/io/brainvision/tests/data/test.vhdr#L64-L67

    That is not a problem. You should just be aware of it (hence the warning), and handle your data appropriately.