Edf Xml Reader Master

Module name: EdfXmlReaderMaster

Package: CEAMSModules 7.4.0

Version: 2.0.0

Overview

No description available.

Inputs

Input

Format

Default

Description

filename

See module settings for configuration details.

event_name

(optional) string or a list of string

Event label to extract from the XML.

Outputs

Output

Format

Description

filename

list of string

Path and filename of the XML file to read.

events

Pandas DataFrame

DataFrame events (columns=[‘group’,’name’,’start_sec’,’duration_sec’,’channels’])

epoch_len

double

The epoch length in second.

stages_epoch

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

stages_df

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

  1. Open Dev Tools -> New process in Snooz.

  2. In the Module Library, find Edf Xml Reader Master under the Files I/O category.

  3. Drag the module onto the process canvas.

  4. Connect the required inputs from upstream modules (or set values in the Settings tab).

  5. Connect outputs to downstream modules as needed.

  6. Double-click the module to configure parameters in the Settings tab.

  7. Run the process and inspect results in the Results tab.

Note

For general guidance on building processes with modules, see Explore examples.