The Time Series Operator worker receives a time series from the upstream workers and operate it with user supplied expressions. It returns a new time series to the workflow.
The Time Series Operator worker must receive specific parameters in order to execute properly. When parameters are not set correctly it may cause the worker to not work as expected.
Set the expression(e.g.: sum(x) * 2) using String variant. Current available methods to use in the expression:
log(x): Calculate the natural logarithm of x, element-wise. This is a scalar if x is a scalar.
exp(x): Calculate the exponential of all elements in the input list.
- sum(x): Calculate the sum of all elements in the input list.
All basic arithmetic operations are available in the Expression Solver worker.
For instance, if your expression looks like a*2, with a being a list, then the output will be a list. If your expression looks like sum(a) * b, with a being a list and b being a number, then the output will be a number.
A list of time series, receiving a time series and a variable name that can be used in the expression. To add more time series click on the Add Series button.
2.1 Time Series
Set a time series present in the workflow using Upstream Data variant.
Set the time series variable name using String variant.
Once this worker finishes to execute successfully, it will return an object containing the expression's result to the workflow, which can be used by downstream workers. Below you can see an example of the Time Series Operator's result object hierarchy. You can check the Output Types article to learn more about result objects types.
- Results (list of lists)