I wanted to use sleep apnea data-set from MESA, but wondering how to use annotations from edf files to get timeframe of apnea events.
Any head-start will be really appreciated.
Thanks in advance.
Each annotation in the XML files contains a name, start time (seconds from recording start), and duration (seconds).
you will go through this link