Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MFF bug with old EGI files #263

Closed
arild-lab opened this issue Mar 3, 2021 · 9 comments
Closed

MFF bug with old EGI files #263

arild-lab opened this issue Mar 3, 2021 · 9 comments

Comments

@arild-lab
Copy link

When I try to import some EGI data recorded over 10 years ago (recorded with EGI System 200, 64 channels), I get this error:
"Block sample size problem, (Error occurred in function mff_import() at line 93).
here's my matlab output:

You are using the latest version of EEGLAB.
Signal Block Version Number: 1
Signal Block Data Size: 11180
Signal Block Header size. 564
Number of Signals: 65
Signal Block Samples: 43
Sample Rate: 200
Signal Depth: 32

Optional Header type: 1
Optional Header number of blocks total: 252
Optional Header number of Samples total: 1011219
Optional Header number of Signals: 129

ver


MATLAB Version: 9.8.0.1323502 (R2020a)
MATLAB License Number: 129273
Operating System: Microsoft Windows 10 Education Version 10.0 (Build 17763)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode

MATLAB Version 9.8 (R2020a)
Deep Learning Toolbox Version 14.0 (R2020a)
EEGLAB Toolbox to process EEG data Version - see
ERP PCA Toolbox Version 2.91
FastICA for Matlab 7.x and 6.x Version 2.5, October 19
FieldTrip Version unknown www.fieldtriptoolbox.org
Optimization Toolbox Version 8.5 (R2020a)
Parallel Computing Toolbox Version 7.2 (R2020a)
Signal Processing Toolbox Version 8.4 (R2020a)
Statistics and Machine Learning Toolbox Version 11.7 (R2020a)
Wavelet Toolbox Version 5.4 (R2020a)

@arild-lab
Copy link
Author

my example file was too big :-(

@arnodelorme
Copy link
Collaborator

Could you post it at (drag and drop)

https://drive.google.com/drive/folders/1FgNv9TuuEVHahs9mCfp5lgBpG7z0co71?usp=sharing

Thank you

@arild-lab
Copy link
Author

arild-lab commented Mar 9, 2021 via email

@arnodelorme
Copy link
Collaborator

arnodelorme commented Mar 17, 2021

It is strange. It seems that the end of the file switch from 65 to 129 channels. The importer does not support this kind of file. It would be possible to import the beginning (or the end) of the file only but this is such a special case, I do not think it is worth the effort.

@arild-lab
Copy link
Author

arild-lab commented Mar 17, 2021 via email

@arild-lab
Copy link
Author

arild-lab commented Mar 17, 2021 via email

@arild-lab
Copy link
Author

arild-lab commented Mar 17, 2021 via email

@arild-lab
Copy link
Author

arild-lab commented Mar 17, 2021 via email

@arnodelorme
Copy link
Collaborator

arnodelorme commented Mar 17, 2021

Unfortunately, the event file has nonstandard characters (EEG_events_DIN_1.xml). This is a limitation of the EGI JAR library that EGI provides. Removing the special characters in a text editor fixes the issue.

https://drive.google.com/file/d/1bC7m5FRGTnQ20pRHQ-O3hJcD5gkSdH-q/view?usp=sharing

I cannot fix the issue. I would need to create a program to remove the special characters. I will let the EGI people know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants