Functions
Last updated
Last updated
Beyond visualizing regular signals, Marple Insight allows you to apply functions to signals—or combinations of signals—to create custom variations. This is very powerful, as it enables you to perform calculations on the fly and tailor your data analysis to your needs, without modifying the original dataset.
To view applied functions, switch to Functions in the Signal List. This panel shows all functions currently added to your project.
You can also easily search for functions by using the search bar at the top of the Function Library.
To get to an overview of all functions in the entire workspace, or to create a new function, click on the Browse button. This will open the Function Library.
The function library shows a list of all functions that have been created in your workspace.
You can easily search through all the functions in your workspace by using the search bar at the top left of the function library dialog, or by appling filters by clicking on the filter icon in the top right of the dialog.
If you would like to create a new function, click the Create button in the bottom left of the dialog.
The syntax for writing custom calculations in Marple Insight depends on the database it is connected to. For example, if the connected database is Azure Data Explorer (ADX), the correct syntax to use is the Kusto Query Language.
For convenience, you can search for signals on the right side and click on their names to insert them directly into your formula. When writing your custom formula, make sure to enclose signal names in double brackets (e.g., [[SignalName]]
).
You will see a preview of the function signal displayed in red in the preview window.
Next, you have the option to resample the time base of the input signal. This feature allows you to combine signals with different time bases into the same function.
Finally, you can assign an appropriate name to the new signal for easy identification and use.
You add functions to your project in the same way as you add signals to your project. Double click on the signal, or drag and drop the signal to the plot.