Lambda Blueprints
Trigonometric functions
The blueprint Triginometric function performs the calculation of a trigonometric function on an input channel and returns the result to the output channel. The input channel expects the angle in radians. The respective trigonometric function can be specified in the parameter area.
Optionally, a Boolean signal can be selected for the Enable Execution input so that the algorithm is only active if the value of the selected signal is TRUE.
Configuration options
- Trig_function: the short form of the trigomic function to be calculated, e.g. sin for sine. The choices include: sin, cos, tan, asin, acos and atan. The input value for asin and acos must lie in the interval [-1,1].
Output values
- DataOut: outputs the result of the calculation of the trigonometric function.
Label Encoding
The blueprint Label Encoding converts text on an input channel to numeric values. For this purpose, the texts are classified into different categories at the input channel. Equal input texts return the same numeric value.
Optionally, a Boolean signal can be selected for the Enable Execution input so that the algorithm is only active if the value of the selected signal is TRUE.
Output values
- EncodedMessage: this output channel returns the index of the corresponding category.
- CategoryCount: this output channel outputs the number of categories.
Covariance
The blueprint Covariance calculates the covariance between two input channels. WindowSize specifies how many values are included in the calculation of the covariance.
Optionally, a Boolean signal can be selected for the Enable Execution input so that the algorithm is only active if the value of the selected signal is TRUE.
Configuration options
- WindowSize: this parameter specifies the number of cycles over which the covariance is calculated. A sliding window is implemented in the blueprint. The current values are included in the analysis and outputs are updated with each cycle. The size of the router memory should be taken into account when setting this parameter.
Output values
- Cov: this output channel indicates the covariance of the two input channels over the configured window size.