Accessing the OPTTimeOfFlight File

This procedure describes how to read an *.OPTTimeofFlight result file through scripts.

Prerequisites: The result file must be generated and stored in folder with full access rights.
  1. Prepare the script file that will be used to read the result:
    1. Download a script example.
    2. Adjust the result file paths to point to your OPTTimeOfFlight file(s).
    3. Enrich the script with your own functions (for example, peak detection functions etc.).
    Note: You can also write your script in IronPython or Python language from scratch using dedicated APIs.
  2. In Speos, right-click in the Groups panel and click Create Script Group.


  3. Right-click the newly created script group and click Edit Script to open the script in the command interpreter.
  4. From the script editor, click to browse and load a .scscript or .py script file.
  5. To improve performance, make sure the script editor is not in Debug but in Run mode.


  6. Click Run.
Depending on your script configuration, different outputs are generated in the SPEOS output files folder and/or visualizations are generated in the 3D view.