binary_c-python:一个基于 Python 的恒星族群合成工具及 binary_c 接口
binary_c-python: A Python-based stellar population synthesis tool and interface to binary_c
AI总结:
本文介绍 binary_c-python,一个为 binary_c 提供 Python 接口的恒星族群合成工具,支持动态日志、事件输出解析、并行与 HPC 集群运行,并配套文档、教程和单元测试。
摘要:
我们介绍了软件包 binary_c-python,它为 binary_c 框架提供了方便且易于使用的接口,使用户能够快速演化单个恒星系统和恒星族群。binary_c-python 可在 Pip 和 GitLab 上获取。binary_c-python 包含许多用于控制和处理 binary_c 输出的实用功能,例如向 binary_c-python 提供可动态编译并加载到 binary_c 中的日志语句。此外,我们最近在 binary_c 中增加了诸如洛希瓣溢出或双致密天体形成等事件的标准化输出,并在 binary_c-python 中实现了对该输出的自动解析和管理。binary_c-python 使用多进程来利用特定机器上的所有核心,并可借助 HTCondor 和 Slurm 等 HPC 集群工作负载管理器运行族群模拟,使用户能够在大型计算集群上开展仿真。我们提供了基于文档字符串自动生成的文档以及一套 Jupyter notebooks。这些 notebooks 包括关于如何使用 binary_c-python 的技术教程,以及面向科学研究的用例场景。binary_c-python 的大部分代码都由单元测试覆盖,以确保可靠性和正确性,并且随着软件包的改进,测试覆盖率还在持续提高。
英文摘要:
We present the software package binary_c-python which provides a convenient and easy-to-use interface to the binary_c framework, allowing the user to rapidly evolve individual systems and populations of stars. binary_c-python is available on Pip and on GitLab. binary_c-python contains many useful features to control and process the output of binary_c, like by providing binary_c-python with logging statements that are dynamically compiled and loaded into binary_c. Moreover, we have recently added standardised output of events like Roche-lobe overflow or double compact-object formation to binary_c, and automatic parsing and managing of that output in binary_c-python. binary_c-python uses multiprocessing to utilise all the cores on a particular machine, and can run populations with HPC cluster workload managers like HTCondor and Slurm, allowing the user to run simulations on large computing clusters. We provide documentation that is automatically generated based on docstrings and a suite of Jupyter notebooks. These notebooks consist of technical tutorials on how to use binary_c-python and use-case scenarios aimed at doing science. Much of binary_c-python is covered by unit tests to ensure reliability and correctness, and the test coverage is continually increased as the package is improved.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。