EinsteinPy:一个用于广义相对论的社区Python包
EinsteinPy: A Community Python Package for General Relativity
摘要:
本文介绍了EinsteinPy(0.3版),这是一个社区开发的用于引力和相对论天体物理学的Python包。Python是一种免费、易于使用的高级编程语言,近年来其用户和开发人员数量大幅增长。具体来说,最近的许多研究表明,Python在天体物理学和普通物理学中的使用呈指数级增长。我们的目标是提供一个非常高的抽象层次,一个易于使用的界面和令人愉快的用户体验。EinsteinPy的开发考虑到理论引力物理学家的状态,很少或没有计算机编程背景,并试图在数值相对论领域工作或试图在他们的研究中使用模拟。目前,EinsteinPy支持类时和零测地线的模拟,并计算不同背景几何中的轨迹,其中一些是Schwarzschild,Kerr和KerrNewmann以及坐标相互转换管道。它有一个部分开发的管道,用于绘图和可视化,依赖于Plotly,matplotlib等库EinsteinPy的独特功能之一是充分开发的符号张量操作实用程序,这本身就是一个很好的工具,用于自学张量代数,对于许多初学者来说,这可能非常棘手。EinsteinPy还提供了一些实用功能的超曲面嵌入史瓦西时空,将进一步扩展到模型引力透镜模拟。
英文摘要:
This paper presents EinsteinPy (version 0.3), a community-developed Python package for gravitational and relativistic astrophysics. Python is a free, easy to use a high-level programming language which has seen a huge expansion in the number of its users and developers in recent years. Specifically, a lot of recent studies show that the use of Python in Astrophysics and general physics has increased exponentially. We aim to provide a very high level of abstraction, an easy to use interface and pleasing user experience. EinsteinPy is developed keeping in mind the state of a theoretical gravitational physicist with little or no background in computer programming and trying to work in the field of numerical relativity or trying to use simulations in their research. Currently, EinsteinPy supports simulation of time-like and null geodesics and calculates trajectories in different background geometries some of which are Schwarzschild, Kerr, and KerrNewmann along with coordinate inter-conversion pipeline. It has a partially developed pipeline for plotting and visualization with dependencies on libraries like Plotly, matplotlib, etc. One of the unique features of EinsteinPy is a sufficiently developed symbolic tensor manipulation utilities which are a great tool in itself for teaching yourself tensor algebra which for many beginner students can be overwhelmingly tricky. EinsteinPy also provides few utility functions for hypersurface embedding of Schwarzschild spacetime which further will be extended to model gravitational lensing simulation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。