Treffer: ZOSPy, a python package for ray tracing simulations.
Weitere Informationen
Aims/Purpose: Ray tracing simulations with optical models of the eye are used for a wide range of applications, such as designing intra‐ocular lenses. These simulations are often performed in OpticStudio (Ansys/Zemax), a piece of software with powerful analytical tools. However, OpticStudio largely relies on manual user interaction, limiting its ability to analyse a large number of eyes. While OpticStudio has an Application Programming Interface (the ZOS‐API) that allows for automation, using this API requires in‐depth programming knowledge. Thus, we developed ZOSPy, an open source library that provides an accessible interface to the ZOS‐API which allows users to directly focus on the optical modelling and analyses. Methods: ZOSPy is a python‐based wrapper around the official ZOS‐API, which provides full access to the API and enables full control of OpticStudio. In addition, we facilitated the usage of the API by simplifying initiation of the API connection, adding functions that fully wrap analyses and including auto‐completion in Python. Finally, it provides unit‐tests that enable validation of different OpticStudio versions. Results: ZOSPy has been used to facilitate ray tracing in several studies. One study used ZOSPy to assess the relation between the anatomy and Negative Dysphotopsia. by determining retinal illumination profiles and [1] In another study, ZOSPy was used to show that the extent of an intra‐ocular tumour can be erroneously overestimated by transillumination during surgery [2]. Conclusions: ZOSPy allows users to omit complex coding and directly focus on optical modelling and analyses, which reduces the threshold for using ray tracing simulation in (ophthalmic) research. References 1. van Vught, et al. Effect of anatomical differences and intraocular lens design on negative dysphotopsia. JCRS. 2. Jaarsma‐Coes, et al. Comparison of Magnetic Resonance Imaging‐Based and Conventional Measurements for Proton Beam Therapy of Uveal Melanoma. Ophthalmol Retina. 2023. [ABSTRACT FROM AUTHOR]