Thanks very much for your reply. Sorry, i didn’t make myself clear.
For example, in .xml file “ shhs2-200081-nsrr.xml ” the count of Hypopnea is 58 and the count of Apnea is 5 during sleep, should i use the sum (63)/sleep time to calculate AHI, or just use the hypopnea with ≥3 percent oxygen desaturation (ahi_a0h3a=2.6327944573). But in .xml file, part of hypopnea’s oxygen desaturation might be lost? And the occurrence of “SpO2 desaturation” is always 30 seconds later than hypopnea’s? (see the pictures as attached)
Do you know how to calculate the AHI with the annotations in .xml file? Or is there a better way to get the specific time point of hypopnea (used to calculate ahi_a0h3a) ?
Look forward to your reply.
I would like to get the detailed time point of some respiratory events (e.g. start and duration of Apnea and Hypopnea), but i found, the number of all Hypopneas and Apneas in XML flie can not correspond to variable like ahi_a0h3a in "shhs1-dataset-0.11.0.csv". Does anyone know which is correct, and is the time-annotation in XML correct?
Thanks for your help!