I am trying to read in a RemLogic Events export file that looks like the snippet below. Has anyone worked with RemLogic Files before or know how to convert this file to events?
Thank you very much for your help.
regards
Robert
RemLogic Event Export
Patient:
Patient ID:
Recording Date: 01/01/2009
Events Included:
MCAP-A1
MCAP-A2
MCAP-A3
SLEEP-REM
SLEEP-S0
SLEEP-S1
SLEEP-S2
SLEEP-S3
SLEEP-S4
SLEEP-UNSCORED
Scoring Session:
Scorer Name:
Scoring Time:
Sleep Stage Position Time [hh:mm:ss] Event Duration[s] Location
W Unknown Position 22:09:33 SLEEP-S0 30 ROC-LOC
W Unknown Position 22:10:03 SLEEP-S0 30 ROC-LOC
W Unknown Position 22:10:33 SLEEP-S0 30 ROC-LOC
I have never worked with such data, however, parsing it should be relatively easy. This just to say that it shouldn’t be too hard to write some custom code to turn these events into annotations for raw data. Would you know how to get started, or do you need some advice?
Just based on the snippet of the file, I am assuming that this was for the CAP Sleep Database. Were you able to resolve this issue? I am in the same boat, but still unsure how to create events. Would the onset just be the hh:mm:ss for each row subtracted by the original time?