Windows To Samples
Module name: WindowsToSamples
Package: CEAMSModules 7.4.0
Version: 2.0.0
Overview
To convert information based on windows (i.e. RMS energy) into a time series (i.e. RMS values synchronized - aligned with the eeg signal). If the step window used to compute the information is longer than 1/sampling rate the window value is replicated along windows step length to match the sampling rate of the signal in input.
Inputs
Input |
Format |
Default |
Description |
|---|---|---|---|
|
list of SignalModel |
— |
signal_windows.samples : The actual windows data as array.
signal.sample_rate : the original sampling rate of the signal
signal.channel : current channel label
|
|
Float |
— |
The window step length in seconds used to compute the information signals_windows. |
Outputs
Output |
Format |
Description |
|---|---|---|
|
dict of SignalModel, the key is the label of the channel. |
samples_values[channel_label].samples : The actual samples values as array |
Usage in a process
Open Dev Tools -> New process in Snooz.
In the Module Library, find Windows To Samples 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.