# apnea event type to number mapping E2N = { "Hypopnea": 1, "Central apnea": 2, "Obstructive apnea": 3, "Mixed apnea": 4 }