[Mne_analysis] raw.plot() not working for EGI data file

Le Wang lwang at bu.edu
Mon Apr 24 10:45:34 EDT 2017
Search archives:

Hi, MNE-users,

I use mne.io.read_raw_egi to load the simple binary files from EGI into a
raw object. Then when I use raw.plot(), it complains that "ValueError: Must
supply either Raw or Epochs" (Line 1492 in utils.py in the function
"_compute_scalings"). The error is raised because mne doesn't consider the
raw object created from EGI as an instance of the BaseRaw class.
"type(raw)" returns mne.io.egi.egi.RawEGI.

I only started to see this error after a recent update of the mne from 0.10
to 0.15.dev0, and raw.plot() worked fine for EGI files in my previous
version of mne.

I wonder if anyone knows a solution to this problem. Thank you!

Best

Le
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170424/ec6d5177/attachment.html 


More information about the Mne_analysis mailing list