Sleep Staging Export Results
Module name: SleepStagingExportResults
Package: CEAMSModules 7.4.0
Version: 2.0.0
Overview
Saving performance metrics (accuracy, kappa, confidence) to TSV files
Generating PDF reports with comparative hypnograms and confusion matrices
Inputs
Input |
Format |
Default |
Description |
|---|---|---|---|
|
pd.DataFrame |
— |
DataFrame containing sleep staging metrics (accuracy, kappa, confidence) |
|
list |
— |
List containing [ground_truth_hypnogram, predicted_hypnogram, file_path] |
|
str |
— |
Directory path where results should be saved |
|
bool |
— |
Flag indicating whether to save results (True) or skip (False) |
Outputs
Output |
Format |
Description |
|---|---|---|
|
str or None |
Path to the generated TSV file if saved, None otherwise |
Usage in a process
Open Dev Tools -> New process in Snooz.
In the Module Library, find Sleep Staging Export Results under the Statistics 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.