Respironics Format - nsrr/edf-editor-translator GitHub Wiki

Each PSG recorded by Respironics has two annotation files: one for scored events and one for sleep stage information.

  • Scored event file: in CSV format. Each line is one event
  "Event type","Stage","Time","Epoch","Date","Duration","HR bef.","HR extr.","HR delta","O2 bef.","O2 min.","O2 delta","Body Position","Validation",""
  "Desaturation","NS","9:21:18 PM","24","2/3/2009","15","56","51","-","100","96","4","R","*",""
  "Long RR","N2","4:40:32 AM","902","2/4/2009","2","222","75","147","-","-","-","S","*",""
  "Heart Rate Drop","NS","9:24:21 PM","30","2/3/2009","6","58","9","49","-","-","-","P","*",""
  "Leg Movement","R","5:52:43 AM","1046","2/4/2009","3","-","-","-","-","-","-","S","@",""
  "3 NASAL BREATHS, DEEP","NS","9:21:25 PM","24","2/3/2009","-","-","-","-","-","-","-","R","*",""
  • Sleep stage file: is also in CSV format. Hypnogram is broken into 6 second epoch. Each line is sleep stage of one epoch with 255: wake stage; 11-14: sleep stage 1-4; 15: REM sleep
 255,10,
 255,10,
 11,10,
 11,10,
 11,10,
 11,10,
 13,10,
 13,10,
 13,10,
 14,10,
 14,10,
 15,10,