arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1502.02798astro-ph.CO
收藏

Rabacus:解析宇宙学辐射转移计算的Python程序包

Rabacus: A Python Package for Analytic Cosmological Radiative Transfer Calculations

Gabriel Altay, John Wise

摘要:

我们描述了Rabacus,一个Python软件包,用于计算与天文学和宇宙学相关的简化几何中氢电离辐射的转移。我们提出了三种具体情况的示例解决方案:1)均匀各向同性背景中的半无限平板气体分布,2)中心具有点源的球对称气体分布,以及3)均匀各向同性背景中的球对称气体分布。所有的问题可以容纳任意的光谱和密度轮廓作为输入。解决方案包括氢和氦的治疗,平衡温度的自洽计算,以及复合辐射的转移。核心例程是用Fortran 90编写的,然后包装在Python中,导致执行速度比纯Python编写的等效例程快数千倍。此外,所有变量都有相关的单位,以便于分析。该软件是Python包索引的一部分,源代码可在Bitbucket上获得,网址为https://bitbucket.org/galtay/rabacus。此外,安装说明和详细的用户指南可在http://pythonhosted.org//rabacus上获得。

英文摘要:

We describe Rabacus, a Python package for calculating the transfer of hydrogen ionizing radiation in simplified geometries relevant to astronomy and cosmology. We present example solutions for three specific cases: 1) a semi-infinite slab gas distribution in a homogeneous isotropic background, 2) a spherically symmetric gas distribution with a point source at the center, and 3) a spherically symmetric gas distribution in a homogeneous isotropic background. All problems can accommodate arbitrary spectra and density profiles as input. The solutions include a treatment of both hydrogen and helium, a self-consistent calculation of equilibrium temperatures, and the transfer of recombination radiation. The core routines are written in Fortran 90 and then wrapped in Python leading to execution speeds thousands of times faster than equivalent routines written in pure Python. In addition, all variables have associated units for ease of analysis. The software is part of the Python Package Index and the source code is available on Bitbucket at https://bitbucket.org/galtay/rabacus . In addition, installation instructions and a detailed users guide are available at http://pythonhosted.org//rabacus .

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

↑