Event Combine
Module name: EventCombine
Package: CEAMSModules 7.4.0
Version: 2.0.0
Overview
This class combines two lists of events, with or without selection.
Inputs
Input |
Format |
Default |
Description |
|---|---|---|---|
|
Pandas DataFrame (columns=[‘group’,’name’,’start_sec’,’duration_sec’,’channels’]) |
— |
The first list of events |
|
String |
— |
The name of the first event to combine |
|
Pandas DataFrame (columns=[‘group’,’name’,’start_sec’,’duration_sec’,’channels’]) |
— |
The second list of events |
|
String |
— |
The name of the second event to combine. |
|
String or list of string |
— |
The channel name to extract events1 or the channel name saved in a list. |
|
String or list of string |
— |
The channel name to extract events1 or the channel name saved in a list. |
|
String |
union |
Select how to combine events : union (all events) or
intersection (concurrent events only).
|
|
String |
— |
The group of the created (combined) list of events. |
|
String |
— |
The name of the created (combined) list of events. |
|
String |
— |
The name of the created (combined) list of events. |
Outputs
Output |
Format |
Description |
|---|---|---|
|
Pandas DataFrame (columns=[‘group’,’name’,’start_sec’,’duration_sec’,’channels’]) |
The new events list created. |
Usage in a process
Open Dev Tools -> New process in Snooz.
In the Module Library, find Event Combine under the Events Utilities 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.