<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://docs.optrix.com.au/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>ARDI Documentation - functions</title>
        <description></description>
        <link>http://docs.optrix.com.au/</link>
        <lastBuildDate>Wed, 27 May 2026 01:28:00 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>http://docs.optrix.com.au/_media/wiki:dokuwiki.svg</url>
            <title>ARDI Documentation</title>
            <link>http://docs.optrix.com.au/</link>
        </image>
        <item>
            <title>Function List Administration</title>
            <link>http://docs.optrix.com.au/functions:admin</link>
            <description>Function List Administration

The Function List addon is used to publish API functions.

There are three places these API functions come from...

	*  Built-in ARDI functions,
	*  ARDI addons, and
	*  Custom API endpoints

Built-In and Addon Functions</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 18 Dec 2025 22:50:17 +0000</pubDate>
        </item>
        <item>
            <title>API-Style View</title>
            <link>http://docs.optrix.com.au/functions:api-style_ui</link>
            <description>API-Style View

The page below is an example of the API-style documentation for ARDI API functions.

This shows the functions, parameters and usage examples that can help guide people using the API functions.

[400]

Testing

To test the API function(s), go to the &#039;Testing&#039; section - you&#039;ll be taken to the</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 18 Dec 2025 22:50:17 +0000</pubDate>
        </item>
        <item>
            <title>API Function Testing</title>
            <link>http://docs.optrix.com.au/functions:ardi-style_ui</link>
            <description>API Function Testing

You can test API functions directly from the ARDI web interface.

[300]

The controls allow you to enter values for each of the function parameters. 

If available, the Load Current Values button will load live values from ARDI to fill in applicable parameters.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 18 Dec 2025 22:50:17 +0000</pubDate>
        </item>
        <item>
            <title>Bulk Calculations in Python Models</title>
            <link>http://docs.optrix.com.au/functions:bulk_calculation_functions</link>
            <description>Bulk Calculations in Python Models

By default, Python Models have a single &#039;calculation&#039; function that is run on every &#039;sample&#039; of data.

However, ML models in particular work much better working on bulk data. For this reason, the framework also includes the option of using a</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 18 Dec 2025 22:50:17 +0000</pubDate>
        </item>
        <item>
            <title>Creating Custom Functions</title>
            <link>http://docs.optrix.com.au/functions:creating_a_custom_function</link>
            <description>Creating Custom Functions

Custom functions are created using the same framework as our Report and Infographic addons.

Each custom function is placed in its own folder, along with configuration files and any other files that are required for the function to execute.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 18 Dec 2025 22:50:17 +0000</pubDate>
        </item>
        <item>
            <title>Formatting Scripts</title>
            <link>http://docs.optrix.com.au/functions:formatting_scripts</link>
            <description>Formatting Scripts

Formatting Scripts are completely optional, and are used to inject code either before your API request is processed or after the results are returned based on the format of output requested by the user.

Pre-execution formatting scripts usually set up the request to include extra parameters that control the style of the output (for example, adding a &#039;format&#039; parameter to the request).</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 18 Dec 2025 22:50:17 +0000</pubDate>
        </item>
        <item>
            <title>Python (Method)</title>
            <link>http://docs.optrix.com.au/functions:python</link>
            <description>Python (Method)

The python method is a function method that launches a Python script in response to an API request and returns any information that the script writes to the console.

Additional Info.json Parameters

This method requires a path parameter - this is the path to the Python script. This path can include</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 18 Dec 2025 22:50:17 +0000</pubDate>
        </item>
        <item>
            <title>Python Model (Method)</title>
            <link>http://docs.optrix.com.au/functions:pythonmodel</link>
            <description>Python Model (Method)

The python model method is a function method that launches a Python script with a calling convention specifically designed to run calculations or machine learning models as an API.

Additional Info.json Parameters

This method requires a path</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 18 Dec 2025 22:50:17 +0000</pubDate>
        </item>
        <item>
            <title>Redirect (Method)</title>
            <link>http://docs.optrix.com.au/functions:redirect</link>
            <description>Redirect (Method)

The redirect method is a function method that is used to re-direct the user to another, existing API function.

Unlike the URL method, it suggests that people should use the original API point, rather than acting as a go-between.

It&#039;s generally used when documenting existing</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 18 Dec 2025 22:50:17 +0000</pubDate>
        </item>
        <item>
            <title>Function Methods</title>
            <link>http://docs.optrix.com.au/functions:style</link>
            <description>Function Methods

There are several different methods used to turn a user request into output data.

The most basic are the Python (used to call a Python function and return its output) and the Redirect (used to call an existing API method elsewhere) methods.

The lowercase method name is used in the &#039;method&#039; property of your</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 18 Dec 2025 22:50:17 +0000</pubDate>
        </item>
        <item>
            <title>Substitutions</title>
            <link>http://docs.optrix.com.au/functions:substitutions</link>
            <description>Substitutions

You can use substitutions to use variable values (such as information about the server, folders, or parameters to the API function) in your settings.

To substitute, place the name of a variable between square brackets. For example, &#039;[ROOT]&#039; becomes the name of the folder where your function keeps its data files.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 18 Dec 2025 22:50:17 +0000</pubDate>
        </item>
        <item>
            <title>URL (Method)</title>
            <link>http://docs.optrix.com.au/functions:url</link>
            <description>URL (Method)

The url method is a function method that is used to act as a &#039;proxy&#039; for another API.

Unlike the Redirect method, this endpoint hides the URL of the eventual destination.

It&#039;s generally used when there is something blocking network traffic between the end user and an existing</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 18 Dec 2025 22:50:17 +0000</pubDate>
        </item>
        <item>
            <title>Function List</title>
            <link>http://docs.optrix.com.au/functions:user</link>
            <description>Function List

The Function List addon provides a list of API functions available from ARDI, it&#039;s addons, and custom API points you can offer via the ARDI system.

Currently, you access the addon through a web link - there&#039;s no UI control to access it.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 18 Dec 2025 22:50:17 +0000</pubDate>
        </item>
        <item>
            <title>Functions Addon</title>
            <link>http://docs.optrix.com.au/functions:welcome</link>
            <description>Functions Addon

The Function List addon gives users access to a range of API functions, including custom APIs that provide a range of functionality.

This ranges from simple business logic, to the ability to run machine learning models on-demand.

These functions are intended for</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 18 Dec 2025 22:50:17 +0000</pubDate>
        </item>
    </channel>
</rss>
