I am trying to read EEG signals from the "St. Vincent's University Hospital / University College Dublin Sleep Apnea Database", which can be accessed at this link: https://physionet.org/content/ucddb/1.0.0/
I am using the Waveform Database Software Package (WFDB) library available on the same PhysioNet site: https://physionet.org/content/wfdb-python/4.1.0/
According to the documentation, this library is capable of reading EEG signals.
To read the file I am trying to use the function:
record = wfdb.rdrecord('/content/ucddb002.rec')
However, I always get an error:
No such file or directory: '/directory/ucddb002.rec.hea'
Where ucddb002.rec
is one recording from a paciente.
In some research I found out that the ".hea" file is actually a txt file that contains some important information. However, the database I am using does not have this ".hea" file, it only has the ".rec", ".edf" and ".txt" extensions
What do I do to be able to read the files and have access to the EEG data?