Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 2.35 KB

README.md

File metadata and controls

40 lines (23 loc) · 2.35 KB

DOI: 10.5281/zenodo.3248687

Opti² Hybrid Raytracing

Opti² is a tool to support optical simulation in the development and optimization of optical systems. Opti² was developed for the optics simulation software Zemax OpticStudio® version 18.4 to implement a hybrid raytracing method using PyZDDE. The method is based on coupling sequential and non-sequential ray tracing, which combines the respective advantages of the two ray tracing programs in one simulation environment. In addition, Rayfiles can be deposited in Opti² in the settings area, which are automatically inserted into the non-sequential model when the sequential model is converted into the non-sequential model. By executing a raytrace in the non-sequential mode, the luminous flux determined on the detector is transferred to the enclosed *.ZPL macro for the optimization of the system. This macro enables the optimization of the optical system with regard to efficiency and serves as an example. Programming and including own macros into Opti², allows user-defined optimization of optical systems.

Prerequisites

Install the listed requirements of the requirements.txt in your Python enviroment. Tested with Anaconda and Python 3.5. Insert the *.ZPL macro in the macro folder.

Starting

Execute the main.py.

Build portable

Install Pyinstaller in your enviroment and run the build.bat. When the build process is finished execute ./dist/Start.bat. It does not work if QT ist installed over Anaconda. Instead you can use the pip source.

Screenshots

Main UI

Settings menu

Program Authors

  • J. August
  • P.-P. Ley

License

This project is licensed under the GPL License - see the LICENSE file for details

Special Acknowledgments