arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.02734physics.opticsphysics.comp-ph
收藏

PyWolf:模拟部分相干光传播的PyOpenCL实现

PyWolf: A PyOpenCL implementation for simulating the propagation of partially coherent light

Tiago E. C. Magalhães, José M. Rebordão

摘要:

我们介绍了PyWolf,这是一款开源软件,能够对二维光源的部分相干光传播进行数值模拟。PyWolf计算菲涅耳和远场近似中用户定义的交叉谱密度函数的演变,这使得能够检索感兴趣的二阶光学量,例如给定频率的谱相干度和谱密度。开源工具包PyOpenCL用于提高计算速度。我们提出了不同的源模型和光学系统的传播的例子来验证我们的实现。显示了通过PyOpenCL使用并行计算时计算速度的性能结果。源模型和传播系统可以很容易地添加到PyWolf中,它具有一个使用PyQt5构建的图形用户界面。该软件对于难以解析处理的部分相干光模拟问题具有很大的实用价值。

英文摘要:

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 utility for partially coherent light simulation problems that are difficult to treat analytically.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑