Example3

../../../../../_images/example1.svg

A collection of examples that illustrates a number of details that are important in order to create nodes for Sympathy of Data. The usage of content in this file should be combined with the Node Writing Tutorial.

class node_old_examples.Example3[source]

Example3 demonstrates the identity function, the incoming ADAF is passed through the node. Instead of creating a new ADAF for the output a link is created between the input and output with the following line:

out_datafile.source(in_datafile)
Inputs:
Input
: ADAF

ADAF with incoming data. For example from Example2.

Outputs:
Port3
: ADAF

ADAF where the data is linked to the input ADAF.

Ref. nodes:

Example1, Example2, Example3, Error example