Resample
Module name: Resample
Package: CEAMSModules 7.4.0
Version: 2.0.0
Overview
This class resamples a signal.
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
|
|
float |
— |
The wanted sampling rate |
|
str (bool) |
True |
Flag to allow upsampling.
If False, the resampled data is never upsampled, the original sampling rate is kept.
|
Outputs
Output |
Format |
Description |
|---|---|---|
|
a list of SignalModel |
signal.samples : The actual signal data as numpy list
signal.sample_rate : the new 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 Resample 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.