Generate Signal Table

../../../../_images/signal.svg

To generate data fast and easy is valuable when you want to test the functionality of nodes or during the development process of nodes. In Sympathy random data can be generated for both Tables and ADAFs, both a single object or as a list with several objects. The random data consists of random floats in the half-open interval [0.0, 1.0). The Generate Signal Nodes allow the generation of sinus, cosines or tangent signals with or without added random noise.

The properties of the outgoing objects are specified in the configuration of the nodes. For example for ADAFs, it is possible to specify the number of signals in the various containers, how many attributes will be connected to each signal or the number of elements in the signals. Similar properties can be specified for Tables, where far less alternatives are given.

class node_generate.GenerateSignalTable[source]

Generates a table with signals like sinus, cosinus, etc.

Outputs:
File
: Table

Table with signal data.

Configuration:
Column entries

Specify the number of columns in the Table.

Column length

Specify the length of the columns in the Table.

Signal type

Specify the function type to generate the signal. Currently supported are sinus, cosinus and tangent.

Amplitude

Specify the amplitude of the signal.

Frequency

Specify the frequency of the signal.

Period

Specify the period of the signal.

Period or Frequency

Specify if either the period or the frequency is used to generate the signal.

Phase offset

Specify the phase offset of the signal.

Add random noise

Specify if random noise should be added to the signal. See also Amplitude of noise.

Amplitude of noise

Specify the amplitude of random noise added to the signal, when Add random noise is selected.

First column as index

Specify if the first column should be an index column.

Ref. nodes:

Generate Signal Tables