REMs Detection Yasa
Module name: REMsDetectionYasa
Package: CEAMSModules 7.4.0
Version: 3.1.0
Overview
REMsDetectionYasa detects Rapid Eye Movements (REMs) in EEG/EOG sleep recordings.
Raises
NodeInputException If input parameters have invalid types or missing keys. NodeRuntimeException If an error occurs during execution.
Inputs
Input |
Format |
Default |
Description |
|---|---|---|---|
|
list |
— |
List of raw signal objects containing EEG/EOG data. |
|
DataFrame |
— |
DataFrame containing event-related information. |
|
DataFrame |
— |
Sleep stage classification for each epoch. |
|
str |
— |
Name of the file being processed. |
|
float |
— |
Minimum amplitude threshold for REM detection. |
|
float |
— |
Minimum duration threshold for REM events. |
|
tuple |
— |
Frequency range for REM detection (e.g., (0.5, 4 Hz)). |
|
float |
— |
Relative prominence threshold for REM detection. |
|
bool |
— |
Whether to remove statistical outliers in detection. |
|
str |
— |
Name assigned to detected REM events. |
|
str |
— |
Group name for REM events. |
|
int or list |
— |
Sleep stage(s) to include in REM detection. |
Outputs
Output |
Format |
Description |
|---|---|---|
|
— |
Output produced by this module. |
|
DataFrame |
A DataFrame containing detected REM events. |
Usage in a process
Open Dev Tools -> New process in Snooz.
In the Module Library, find REMs Detection Yasa under the Detectors 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.