Cross-Platform Parameter Sweep with Python

Abstract

VirtualLab Fusion allows external access to its modeling technology, solvers and results. This is helpful in order to be able to apply other data processing or optimization tools to further investigate optical simulations. In this example, we demonstrate how to run a parameter sweep using a Python script and how to collect the results, which can be further processed with all the capabilities offered by Python. Exemplarily, the diffraction efficiency of a grating is analyzed rigorously.

VirtualLab Fusion Configuration

  • VirtualLab Fusion VirtualLab Fusion
  • Grating Package Grating Package

Are you interested in further reading?

Tutorial

Cross-Platform Optical Modeling and Design with VirtualLa

We demonstrate how to use MATLAB to access the field solvers in VirtualLab Fusion, and use them together with MATLAB functions for analysis and optimization.

Tutorial

Running VirtualLab Fusion Optical Simulations with Python

We demonstrate how to use Python to run an optical simulation in VirtualLab Fusion.

Use Case

Stretching or Compression of Ultrashort Pulses with Highly Efficient Transmission Gratings

We demonstrate, according to T. Clausnitzer et al., how to build up a pulse stretching or compression system with two transmission gratings. Especially, we analyze the polarization dependency of such systems.

Tutorial

Cross-Platform Parameter Sweep with Python

We demonstrate how to use Python to run a parameter sweep for a simulation in VirtualLab Fusion.