Event Subdivision
Module name: EventSubdivision
Package: CEAMSModules 7.4.0
Version: 0.0.0
Overview
Create a new pandas DataFrame of events with subwindow of every input events named events_names.
Inputs
Input |
Format |
Default |
Description |
|---|---|---|---|
|
pandas DataFrame |
— |
df of events with field
group: Group of events this event is part of (String)
name: Name of the event (String)
start_sec: Starting time of the event in sec (Float)
duration_sec: Duration of the event in sec (Float)
channels: Channel where the event occures (String)
|
|
String |
— |
String of the desired events to take in account. Separated by a
comma. ex)’stage_2’ or ex)’stage_1,stage2,stage3’
|
|
Integer |
— |
Duration of new subwindow in second. Must be a dividers of previous
events.
|
|
Integer [Optionnal] |
— |
Number of windows in one window. |
Outputs
Output |
Format |
Description |
|---|---|---|
|
pandas DataFrame |
df of events with field :
group: Group of events this event is part of (String)
name: Name of the event (String)
start_sec: Starting time of the event in sec (Float)
duration_sec: Duration of the event in sec (Float)
channels: Channel where the event occures (String)
New event name will be name_sub
|
Usage in a process
Open Dev Tools -> New process in Snooz.
In the Module Library, find Event Subdivision 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.