Skip to main content

Lumerical Scripting Language

The Lumerical Scripting Language is a programming language that allows you to automate tasks and analysis in Lumerical’s software products, such as FDTD, MODE, INTERCONNECT, and DEVICE. You can use the Lumerical Scripting Language to create, modify, and run simulations, as well as to process and visualize simulation results.  

Some of the features of the Lumerical Scripting Language are: 

  • Uses syntax based on the MATLAB programming language with some differences, like for matrices.
  • Provides a large library of commands for manipulating simulation objects, launching simulations, accessing data, analyzing data, and creating plots. 
  • Enables interactive usage in the Script File Editor window, command line interface, execution from saved script files (.lsf), or integration within specific simulation objects. 
  • Integrates with other software tools such as MATLAB and Python or through the Python Interop Server.
  • Offers built-in commands for importing and exporting data from various file formats, such as CSV, STL, STEP, HDF5, and MATLAB. 
  • Offers built-in commands for interfacing with other software tools, such as ASAP and Zemax OpticStudio. 

To learn more about the Lumerical Scripting Language, you can visit the following web pages: