Create List of Group Name
Module name: CreateListofGroupName
Package: CEAMSModules 7.4.0
Version: 2.0.0
Overview
Creates a list of tuples that has two value of group and name: [(group0, name0), (group1, name1)]
Inputs
Input |
Format |
Default |
Description |
|---|---|---|---|
|
pandas DataFrame |
— |
Pandas DataFrame columns=[‘group’,’name’,’start_sec’,’duration_sec’,’channels’] |
|
str |
— |
The group type to filter by (e.g., ‘stage’ for sleep stage events) |
Outputs
Output |
Format |
Description |
|---|---|---|
|
List[Tuple(str, str)] |
List of (group, name) tuples for events matching the specified group |
Usage in a process
Open Dev Tools -> New process in Snooz.
In the Module Library, find Create List of Group Name under the Parameters 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.