Edf Xml Reader
Module name: EdfXmlReader
Package: CEAMSModules 7.4.0
Version: 2.0.0
Overview
Read events from a EDF.XML file
Inputs
Input |
Format |
Default |
Description |
|---|---|---|---|
|
string |
— |
Path and filename of the XML file to read. |
|
(optional) string or a list of string |
— |
Event label to extract from the XML. |
Outputs
Output |
Format |
Description |
|---|---|---|
|
string |
Path and filename of the XML file read. |
|
Pandas DataFrame |
DataFrame events (columns=[‘group’,’name’,’start_sec’,’duration_sec’,’channels’]) |
|
double |
The epoch length in second. |
|
array |
A sleep stage per epoch (an array of stages from 0-9)
0 : awake
1 : n1
2 : n2
3 : n3
4 : n4
5 : REM
6 : movement
7 : technician intervention
9 : uncored
|
|
Pandas DataFrame |
Sleep stages (columns=[‘group’,’name’,’start_sec’,’duration_sec’,’channels’])
group=’stage’, name=’0’(ex.’1’,’2’,…), duration_sec=30, channel=[]
|
Usage in a process
Open Dev Tools -> New process in Snooz.
In the Module Library, find Edf Xml Reader under the Files I/O category.
Drag the module onto the process canvas.
Connect the required inputs from upstream modules (or set values in the Settings tab).
Connect outputs to downstream modules as needed.
Double-click the module to configure parameters in the Settings tab.
Run the process and inspect results in the Results tab.
Note
For general guidance on building processes with modules, see Explore examples.