I want to make a CSV file which includes time, airflow, apnea, and stage from polysomnography\edf. I am using mesa sleep data set.
Can someone help me?
Thanks in advance.
The XML annotation files contain information and timestamps for respiratory events and oxygen desaturations. Sleep staging for each epoch is also available in the XML files.
If you wish to analyze the airflow signal then you will need to look into the raw signal EDF files. There should be packages for statistical software to read in the EDF for further analysis. Here's a tool for reading EDFs into MATLAB: https://sleepdata.org/tools/dennisdean-block-edf-loader