jackz314 / eeglabio

I/O support for EEGLAB files in Python.
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Feature Request: Support writing EEGLAB to mat files of version 7.3 and higher (=HDF5) #10

Open sappelhoff opened 11 months ago

sappelhoff commented 11 months ago

The code here uses scipy.io.savemat:

https://github.com/jackz314/eeglabio/blob/eb24384f0de533d5d63f2f842b23e1408f24e63a/eeglabio/raw.py#L101

This means saving EEGLAB data as MATLAB files up to version 7.2.

Starting with MATLAB file version 7.3, the data are actually encoded in HDF5 format: https://de.mathworks.com/help/matlab/import_export/mat-file-versions.html

This is a great development, as it makes these files more accessible to other readers outside of MATLAB.


could you please implement support for writing EEGLAB data to mat files of version 7.3 and higher?