Events Splitter
Module name: EventsSplitter
Package: CEAMSModules 7.4.0
Version: 2.0.0
Overview
Class to split too long events.
Inputs
Input |
Format |
Default |
Description |
|---|---|---|---|
|
Pandas DataFrame |
— |
DataFrame events to split (columns=[‘group’,’name’,’start_sec’,’duration_sec’,’channels’]) |
|
str or float |
— |
Event maximum length or longest duration before a split is performed.
I.e. max_length_s=30 sec means that events longer than 30s are split into multiple events with a maximum duration of 30s each.
|
Outputs
Output |
Format |
Description |
|---|---|---|
|
Pandas DataFrame |
DataFrame of splitted events (columns=[‘group’,’name’,’start_sec’,’duration_sec’,’channels’]) |
Usage in a process
Open Dev Tools -> New process in Snooz.
In the Module Library, find Events Splitter 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.