ZOSPy: optical ray tracing in Python through OpticStudio
Vught, Haasjes and Beenakker
Journal of Open Source Software · 2024 · Vol. 9 · (96) · pp. 5756 · doi: 10.21105/joss.05756
Read the full paper
Luc van Vught, Corné Haasjes and Jan-Willem M Beenakker. ZOSPy: optical ray tracing in Python through OpticStudio. Journal of Open Source Software (2024), 9(96), 5756. doi: 10.21105/joss.05756
Research Topics

Abstract
ZOSPy is an open-source Python interface to the OpticStudio API that simplifies scripting for optical ray-tracing workflows. It wraps complex .NET interactions, provides readable high-level analysis calls, supports autocompletion and unit testing, and enables more reproducible, shareable, and scalable optical simulations than predominantly manual GUI workflows.
Open Resources
Open Materials: We published ZOSPy open-source on GitHub, so you cannot only use it, but also contribute to it.
This manuscript is part of the PhD thesis Uncovering the origin of negative dysphotopsia by Luc van Vught.