Closed tensionhead closed 1 year ago
This is probably a problem within the file itself. We are using edflib
in the background, which is quite strict with adhering to the specifications. I'll have a look at it in the next days.
General rule of thumb: If EDFBrowser gives the same error, the problem is likely not easily solvable on our side.
I was afraid so, indeed checking with the EDFBrowser as you recommended shows:
Ok I guess I will reach out to the FT people, thx!
In one of FieldTrip's tutorials an edf file is loaded from the SubjectNY394 dataset. However, it is not readable by pyedflib:
throws
I also tried the low-level approach:
which throws the same exception as above. I am using a fresh install via pip (
pyedflib-0.1.32
).We were thinking of adding edf support to Syncopy using pyedflib, but got stuck due to this reading error.
EDIT: The
mne.io.read_raw_edf()
function can open this file