Dyad: a binary-star dynamics and statistics library for Python
arXiv:2602.13388 · doi:10.21105/joss.09011
Abstract
Dyad is a Python library for studying the dynamics of binary stars considered as gravitational two-body systems. The dynamics of a binary star are determined by its primary and secondary stars' masses along with the secondary star's six orbital elements as defined in a frame comoving with the primary star. In a population of binary stars these eight parameters vary from member to member and can each be treated as a random variable having some probability distribution. Dyad provides a class, dyad.TwoBody, and a module, dyad.stats, for dealing with such a population of binary stars. The dyad.TwoBody class represents a gravitational two-body system while the dyad.stats module provides a suite of classes representing the probability distributions of (1) stellar masses (including those proposed by Kroupa, 2001, and Salpeter, 1955) as well as (2) mass ratios and orbital elements (including those proposed by Duquennoy & Mayor, 1991, and Moe & Di Stefano, 2017). The software repository is at https://github.com/AmeryGration/dyad .
Published in The Journal of Open Source Software. Software repository at https://github.com/AmeryGration/dyad
References in corpus (9)
- SciPy 1.0--Fundamental Algorithms for Scientific Computing in Python
- On the variation of the Initial Mass Function
- Mind your Ps and Qs: the Interrelation between Period (P) and Mass-ratio (Q) Distributions of Binary Stars
- COSMIC Variance in Binary Population Synthesis
- Correcting velocity dispersions of dwarf spheroidal galaxies for binary orbital motion
- Effect of binarity in star cluster dynamical mass determination
- binary_c-python: A Python-based stellar population synthesis tool and interface to binary_c
- Binary star population of the Sculptor dwarf galaxy
- Stellar velocity distributions in binary-rich ultrafaint dwarf galaxies