# Environment for Python Scripts (Operators)

A simple XML configuration file identifies your operator script. In addition to calling the script, the XML file populates the User Operator Setup dialog box.

When a user function is run, the following events occur for each data acquisition:

1. Infiniium passes the source waveform, standard variables, and your custom variables available to your Python script as a dictionary. The source waveform is a one-dimensional numpy array. With a real-time eye diagram, the source database is a two-dimensional numpy array.
2. Infiniium executes this script.
3. The script returns to Infiniium a number of standard output variables from the Python script, including the output waveform.