Examples#

You can use the examples below to get started with PyLumerical and learn its basic functionalities.

For in-depth discussion of PyLumerical concepts, see the User guide.

Session management

This example demonstrates how to initialize a local Lumerical session using PyLumerical.

Download the example here.

Basic FDTD simulation - Lumerical style commands

This example demonstrates how to set up a basic FDTD simulation with a Gaussian source and frequency-domain monitor. The example uses PyLumerical with workflows and syntax similar to the Lumerical Scripting Language.

Download the example here.

Basic FDTD simulation - Python style commands

This example demonstrates how to set up a basic FDTD simulation with a Gaussian source and frequency-domain monitor. This example uses PyLumerical with workflows and syntax that is more native to Python.

Download the example here.