Event Sleep Report
Module name: EventSleepReport
Package: CEAMSModules 7.4.0
Version: 2.0.0
Overview
Generate event sleep report.
Inputs
Input |
Format |
Default |
Description |
|---|---|---|---|
|
Pandas Dataframe |
— |
List of events. |
|
dict |
— |
Dictionary of information about the current recording. |
|
Pandas Dataframe |
— |
List of sleep stages and sleep cycles. |
|
list[dict] |
— |
List of event report to generate. Each element is a dictionary with
all event’s selection criteria used in the report.
(one report per item that can be identified with its name)
|
|
TODO TYPE |
— |
TODO DESCRIPTION
(ne pas faire pour l’instant)
|
|
dict |
{} |
Constants used in the report (N_HOURS, N_CYCLES) |
|
bool |
True |
Generate the HTML report if True. |
|
TODO TYPE |
— |
TODO DESCRIPTION
(ne pas faire pour l’instant)
|
|
bool |
True |
Generate the CSV report if True. |
|
bool |
False |
Save events report if true. |
|
str |
— |
The prefix of the report filename |
|
str |
— |
The path to the output directory |
Outputs
Output |
Format |
Description |
|---|---|---|
|
dict(str, Pandas DataFrame) |
DataFrame of events associated with the label of the report. The events
are the one filtered by the report criteria.
(events_report_criteria is no more usefull, report_events includes only event)
|
Usage in a process
Open Dev Tools -> New process in Snooz.
In the Module Library, find Event Sleep Report under the Events Analysis 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.