binary_c-python: A Python-based stellar population synthesis tool and interface to binary_c
arXiv:2306.02779 · doi:10.21105/joss.04642
Abstract
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.
arXiv commentPublished in the JOSS
References in corpus (11)
- Astropy: A Community Python Package for Astronomy
- emcee: The MCMC Hammer
- The Astropy Project: Building an inclusive, open-science project and status of the v2.0 core package
- dynesty: A Dynamic Nested Sampling Package for Estimating Bayesian Posteriors and Evidences
- Population Synthesis of Binary Carbon-enhanced Metal-poor Stars
- The effect of common-envelope evolution on the visible population of post-common-envelope binaries
- The impact of electron-capture supernovae on merging double neutron stars
- Binary stars in the Galactic thick disc
- Hoki: Making BPASS accessible through Python
- Circumbinary discs for stellar population models
- Detailed equilibrium and dynamical tides: impact on circularization and synchronization in open clusters
Cited by in corpus (9)
- Detailed equilibrium and dynamical tides: impact on circularization and synchronization in open clusters
- Mass-stream trajectories with non-synchronously rotating donors
- Anomalously low-mass core-He-burning star in NGC 6819 as a post-common-envelope phase product
- Reconstructing post-common envelope white dwarf+main sequence binary histories through inverse population synthesis techniques
- Population Synthesis of Gravitational Wave Sources
- Using Binary Population Synthesis to Calculate the Yields of Low- and Intermediate-Mass Binary Populations at Low Metallicity
- The Population Synthesis Toolkit (PST) Python library
- Dyad: a binary-star dynamics and statistics library for Python
- libcdict: fast dictionaries in C