A4Precise Events
Module name: A4PreciseEvents
Package: CEAMSModules 7.4.0
Version: 2.0.0
Overview
Precise the A4 spindle events.
Inputs
Input |
Format |
Default |
Description |
|---|---|---|---|
|
a list of SignalModel |
— |
signal.samples : The actual signal data as numpy list
signal.sample_rate : sampling rate of the signal (used to STFT)
signal.channel : current channel label
|
|
Pandas DataFrame |
— |
DataFrame events (columns=[‘group’,’name’,’start_sec’,’duration_sec’,’channels’])
A4 Events detected with a windows length and windows step = 0.25 sec
|
|
list of float |
— |
A threshold value for each event nammed “event_name” from this current detector |
|
Float |
0.25 |
The window length in seconds used to compute the RMS value. |
|
Float |
0.5 |
The window length in seconds to evaluate before and after each event in order to precise the event. |
|
float |
0 |
The accepted minimum length in sec (any spindle shorter are discarded) |
|
float |
5 |
The accepted maximum length in sec (any spindle longer are discarded) |
|
string |
— |
The event group to limit the length and precise the onset and duration.
All the events are selected when event_group is empty.
|
|
string |
— |
The event name to limit the length and precise the onset and duration.
All the events are selected when event_name is empty.
|
Outputs
Output |
Format |
Description |
|---|---|---|
|
Pandas DataFrame |
DataFrame events (columns=[‘group’,’name’,’start_sec’,’duration_sec’,’channels’])
New events with precise onset and duration.
|
Usage in a process
Open Dev Tools -> New process in Snooz.
In the Module Library, find A4Precise Events 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.