Overview
Once created, a User-Defined Function becomes available anywhere expressions are used in Sift, including Rules, Calculated Channels, and other User-Defined Functions. In the expression editor, User-Defined Functions appear in the Expression Syntax panel under the User-Defined Functions section.Using User-Defined Functions in expressions
When defining an expression, you can reference a User-Defined Function just like a built-in function. In the examples below,$1 refers to camera_1.temperature. For example, in a Calculated Channel: