PyWolf: A PyOpenCL implementation for simulating the propagation of partially coherent light
Tiago E. C. Magalh\~aes, Jos\'e M. Rebord\~ao

TL;DR
PyWolf is an open-source Python tool that simulates the propagation of partially coherent light using PyOpenCL for fast computations, aiding complex optical research.
Contribution
It introduces a flexible, GPU-accelerated simulation software for partially coherent light propagation, with a user-friendly interface and extendable source and system models.
Findings
Demonstrates accurate simulation of various source models
Achieves significant speedup with parallel computation
Provides validation examples for different optical systems
Abstract
We present PyWolf, an open-source software capable of performing numerical simulations of partially coherent light propagation from two-dimensional light sources. PyWolf computes the evolution of a user-defined cross-spectral density function in the Fresnel and far field approximations, which enables the retrieval of second-order optical quantities of interest such as the spectral degree of coherence and spectral density for a given frequency. The open-source tool kit PyOpenCL is used to increase the computation speed. We present examples of propagation of different source models and optical systems to validate our implementation. Performance results for the computation speed when using parallel computation through PyOpenCL is shown. Source models and propagation systems can be easily added to PyWolf, which has a graphical user interface built with PyQt5. This software can be of great…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSpectroscopy and Quantum Chemical Studies · Optical Network Technologies · Spectroscopy and Laser Applications
