The script block
Python Script can run external Python functions, from
so you can develop your own algorithms.
3.6 or above must be installed.
The input is
MxN and your function will be receiving a dictionary as seen below. You can manipulate the
keys of the dictionary but the variable type of each key should remain constant.
The output is
KxL and is the return dictionary from you Python function. An example of some python processing can
be seen below.
Name specifies the name of the block.
The filepath is the path to the Python
.py file you want to use.
The function name is the name of the function you want to run inside your Python script.
The timeout parameter determines how long time SAFE will wait for the script to execute.
Channels specifies the number of input(s)/output(s) the block will have.