0

I want to work with the ages of individuals from their eeg records for research. I am using these tuh_eeg dataset (https://isip.piconepress.com/projects/tuh_eeg/downloads/tuh_eeg_abnormal/). I have tried different methods in matlab and python to somehow get the age but i failed. Please help me with this. As you can see in the image, when i opened an eeg file with "edfbrowser" , there is a text showing "Age". That means the age is somewhere in the file but i can not access it

TA_N28
  • 1
  • 1

1 Answers1

0

Use the function getPatient() of edfreader.py in EDFlib

Unfortunately, your EDF file is in an older (deprecated) version of EDF that does not yet support the birthdate of the subject but you can filter the string returned by getPatient() for "age:".

FYI, in EDFbrowser go to File -> Info to see all information stored in the EDF header.

Here you find a code example of how to use edfreader.py.

Krakas
  • 1