ZERNIPAX: A fast and accurate Zernike polynomial calculator in Python

IF 3.5 2区 数学 Q1 MATHEMATICS, APPLIED
Yigit Gunsur Elmacioglu , Rory Conlin , Daniel W. Dudt , Dario Panici , Egemen Kolemen
{"title":"ZERNIPAX: A fast and accurate Zernike polynomial calculator in Python","authors":"Yigit Gunsur Elmacioglu ,&nbsp;Rory Conlin ,&nbsp;Daniel W. Dudt ,&nbsp;Dario Panici ,&nbsp;Egemen Kolemen","doi":"10.1016/j.amc.2025.129534","DOIUrl":null,"url":null,"abstract":"<div><div>Zernike polynomials serve as an orthogonal basis on the unit disc, and have proven to be effective in optics simulations, astrophysics, and more recently in plasma simulations. Unlike Bessel functions, Zernike polynomials are inherently finite and smooth at the disc center (r=0), ensuring continuous differentiability along the axis. This property makes them particularly suitable for simulations, requiring no additional handling at the origin. We developed <span>ZERNIPAX</span>, an open-source Python package capable of utilizing CPU/GPUs, leveraging Google's <span>JAX</span> package and available on GitHub as well as the Python software repository PyPI. Our implementation of the recursion relation between Jacobi polynomials significantly improves computation time compared to alternative methods by use of parallel computing while still performing more accurately for high-mode numbers.</div></div>","PeriodicalId":55496,"journal":{"name":"Applied Mathematics and Computation","volume":"505 ","pages":"Article 129534"},"PeriodicalIF":3.5000,"publicationDate":"2025-05-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Applied Mathematics and Computation","FirstCategoryId":"100","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0096300325002607","RegionNum":2,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MATHEMATICS, APPLIED","Score":null,"Total":0}
引用次数: 0

Abstract

Zernike polynomials serve as an orthogonal basis on the unit disc, and have proven to be effective in optics simulations, astrophysics, and more recently in plasma simulations. Unlike Bessel functions, Zernike polynomials are inherently finite and smooth at the disc center (r=0), ensuring continuous differentiability along the axis. This property makes them particularly suitable for simulations, requiring no additional handling at the origin. We developed ZERNIPAX, an open-source Python package capable of utilizing CPU/GPUs, leveraging Google's JAX package and available on GitHub as well as the Python software repository PyPI. Our implementation of the recursion relation between Jacobi polynomials significantly improves computation time compared to alternative methods by use of parallel computing while still performing more accurately for high-mode numbers.
ZERNIPAX:一个快速准确的Zernike多项式计算器
Zernike多项式作为单位圆盘上的正交基,已被证明在光学模拟、天体物理学和最近的等离子体模拟中是有效的。与贝塞尔函数不同,泽尼克多项式在圆盘中心(r=0)具有固有的有限和光滑性,确保了沿轴的连续可微性。这种特性使它们特别适合模拟,不需要在原点进行额外的处理。我们开发了ZERNIPAX,这是一个能够利用CPU/ gpu的开源Python包,利用谷歌的JAX包,可以在GitHub和Python软件存储库PyPI上使用。与使用并行计算的替代方法相比,我们对雅可比多项式之间递归关系的实现显着提高了计算时间,同时对于高模式数仍然执行得更准确。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
7.90
自引率
10.00%
发文量
755
审稿时长
36 days
期刊介绍: Applied Mathematics and Computation addresses work at the interface between applied mathematics, numerical computation, and applications of systems – oriented ideas to the physical, biological, social, and behavioral sciences, and emphasizes papers of a computational nature focusing on new algorithms, their analysis and numerical results. In addition to presenting research papers, Applied Mathematics and Computation publishes review articles and single–topics issues.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信