3 Preparing and exporting REMLogic event txt files - Steph-Fulda/PLMScoRe GitHub Wiki
#Preparing and exporting REMLogic event txt files
The program takes the information about scored events such as leg movements, sleep, arousals, and respiratory events as input and produces a set of descriptive information including various indices about periodic leg movements (PLM) according to the new WASM 2016 rules. At the moment the only input format implemented are REMLogic event files. In the following we will describe how to prepare and export these files.
##Exporting REMLogic event txt files
Once you have scored sleep, leg movements, arousals, and respiratory events you can export this information in a REMLogic event txt file. To do so, open the scored recording in REMLogic. If you just finished scoring, make sure you saved your scoring before you proceed.
In REMLogic, from the File
menu choose Export
and Events...
In the next window, select all the events you want to export:
You choose the type of event from the Event Palette
and any event/annotation by selecting and adding them. You should select all sleep stages, leg movements, arousals, and respiratory events. When in doubt, choose All Events:
In the Options
window select Text format
as the file format, and select Use ISO Time Stamps
and Show Location Column
. That is the minimum configuration that will export the events in a table with 4 columns for start time, duration, event label, and location. Optionally, you could additionally select Show Sleep Stage Column
and/or Show Position Column
, which will export two more table columns labelled Position and Sleep Stage. Make sure you did NOT select the option Round to Seconds
.
Finally, in the Event Filter
window make sure that no filters are selected.
If you now confirm your selection with ok
, a REMLogic event txt file will be saved.
####The REMLogic event txt file You can open the exported REMLogic event txt file with any text editor, for example Notepad, and look at it. What you will see should hopefully look something like this:
This is the first part, it gives the recording details and then a long list of all events/annotations that you exported. Further down, the event table is found that looks similar to this, if you exported 6 columns:
or if you exported only the mandatory columns:
This file will be the only input you need to use the PLM scoring program. Do not change anything. You are now ready to start PLMScoRe.