Reset Signal Artefact
Module name: ResetSignalArtefact
Package: CEAMSModules 7.4.0
Version: 2.1.0
Overview
To reset the signal that occurs during an artefact.
Inputs
Input |
Format |
Default |
Description |
|---|---|---|---|
|
a list of SignalModel |
— |
signal.samples : The actual signal data as numpy list
signal.sample_rate : the original sampling rate of the signal
signal.channel : current channel label
|
|
Pandas DataFrame (columns=[‘group’,’name’,’start_sec’,’duration_sec’,’channels’]) |
— |
Events to select based on the sleep stages. |
|
String |
— |
Event group to reset signal, each group is separated by a comma, as a pattern occurrence. |
|
String |
— |
Event name to reset signal, each name is separated by a comma, as a pattern occurrence. |
|
String |
0 |
Signal values during artefact.
0 : replace the artefacted signal values with zeros (with turkey mindow)
NaN : replace the artefacted signal values with NaNs
|
Outputs
Output |
Format |
Description |
|---|---|---|
|
a list of SignalModel |
signal.samples : The actual signal data as numpy list
signal.sample_rate : the original sampling rate of the signal
signal.channel : current channel label
|
Usage in a process
Open Dev Tools -> New process in Snooz.
In the Module Library, find Reset Signal Artefact under the Signal Processing 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.