Skip to content

← signal_processing package

RefSignals

Generates sinusoidal reference signals with given frequencies.

A sampling rate (fs in Hz), the number of harmonics, and length of signals (ref_len in sec) should be specified as the node parameters. Version 1.0.0

Ports/Properties

data

Output reference signals

verbose name
Data
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
OUT

fs

Sampling frequency (Hz).

verbose name
Fs
default value
500
port type
FloatPort
value type
float (can be None)

freqs

Frequencies of the sinusoidal reference signals in Hz.

verbose name
Freqs
default value
[5, 10, 15, 20]
port type
ListPort
value type
list (can be None)

ref_len

Length of reference signals (sec).

verbose name
Ref Len
default value
5
port type
FloatPort
value type
float (can be None)

num_harmonics

Number of harmonics for each sinusoidal reference signal.

verbose name
Num Harmonics
default value
3
port type
IntPort
value type
int (can be None)

ouput_stream_name

The name of output stream.

verbose name
Output Stream Name
default value
ref_signals
port type
StringPort
value type
str (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

verbose name
Set Breakpoint (Debug Only)
default value
False
port type
BoolPort
value type
bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

verbose name
Metadata
default value
{}
port type
DictPort
value type
dict (can be None)