Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Binary populations

San Diego State University

A binary population is the kinematic complement to the binary IMF discussed at Binary-aware IMF recovery. The IMF chapter covers the statistical framework — what fraction of stars are in binaries, what mass ratios they have, and how that biases inferred IMF slopes. This chapter family covers the orbital mechanics: given the binary fraction and mass ratios, how to assign Keplerian orbits to each binary, sample the orbital phase, and produce the resolved component positions and velocities that an N-body integrator consumes.

Map of the section

Chapter

Scope

Kepler orbital elements

The seven orbital elements (a,e,i,Ω,ω,M,tp)(a, e, i, \Omega, \omega, M, t_p), their physical meaning, and the conversion from elements to phase-space coordinates.

Binary period distributions

Four period-distribution families: log-uniform (Öpik), log-normal (Sana et al. (2012) for OB-type, Duquennoy & Mayor (1991) for solar), Sana et al. (2012) and Moe & Di Stefano (2017) empirical fits.

Eccentricity distributions

Three eccentricity-distribution families: thermal (f(e)=2ef(e) = 2e), uniform, period-dependent Moe & Di Stefano (2017). Tidal-circularisation effects at short period.

What a “binary” is in progenax

A binary in progenax is two particles whose relative orbit is a set of KeplerElements. Both components live in the same (positions, velocities, masses) arrays as single stars — secondaries are not “second-class” entries. The primordial pairing is recorded as provenance at t=0t=0 on the ICResult returned by build_binary_cluster:

positions                 # (N, 3) component positions in the cluster frame
velocities                # (N, 3) component velocities
masses                    # (N,)   every star's mass, including secondaries
primordial_system_id      # (N,)   members of one system share an id
is_primordial_secondary   # (N,)   True on the secondary of each primordial binary

This labelling is the birth pairing. It goes stale under dynamical evolution (encounters ionise soft binaries, three-body captures form new ones, exchanges swap partners), so the current binary population of an evolved snapshot must be measured from the phase-space state, not read off the labels: progenax.binaries.find_bound_pairs(positions, velocities, masses, G=...) returns the energy-bound mutual-nearest-neighbour pairs, and primordial_survival compares them to the t=0t=0 ids (survived / disrupted / newly-formed). A single binary’s elements are recovered with KeplerElements.from_state(r_rel, v_rel, M_total, G=...).

Composability

build_binary_cluster composes five independent axes:

Axis

Role

primary_imf

The primary IMF — draws m1m_1 (companions are conditional, so the all-stars MF is derived; see Binary-aware IMF recovery)

companion_model

Owns the binary statistics: multiplicity fb(m1)f_b(m_1) and qm2q\to m_2, PaP\to a, ee, orientation

spatial profile

Places the system COMs in 3D

velocity DF

Sets each system COM’s bulk velocity

target

Population-size budget: Systems(n) / Stars(n) / TotalMass(M)

The companion_model has two implementations: IndependentCompanions (versatile independent fb×q×P×ef_b \times q \times P \times e marginals — the period-averaged default) and MoeCompanions (the faithful Moe & Di Stefano (2017) joint PPqqee interrelation, where the same qq sets m2m_2, so the coupling is self-consistent). f_b lives inside the companion model — in Moe it is part of the model, set by the IMF masses.

Resolved vs unresolved

resolve_binary_components places each binary’s two components around its COM using the barycentric split m1δr1+m2δr2=0m_1\,\delta r_1 + m_2\,\delta r_2 = 0, so the COM (and hence the cluster phase space) is preserved exactly. build_binary_cluster returns one of two forms:

from progenax.builders import build_binary_cluster, Systems
from progenax.binaries import MoeCompanions

# compact=True (default): eagerly compacted ICResult of real particles
ic = build_binary_cluster(profile, velocity_df, primary_imf,
                          MoeCompanions(), Systems(1000), key, units=STELLAR)

# compact=False: the masked, fixed-shape ResolvedBinaries (2N slots + is_real
# mask) — jit/grad-safe; required for differentiable IC generation
rb = build_binary_cluster(profile, velocity_df, primary_imf,
                         MoeCompanions(), Systems(1000), key, units=STELLAR,
                         compact=False)

For N-body integration the resolved components are what you want — the integrator evolves the orbital motion (binaries are collisional: integrate with a collisional scheme, ε=0\varepsilon = 0). The COM virialisation treats each binary as a single CoM particle (the McLuster convention, Küpper et al. (2011) §A8) and leaves the internal binary binding energy as a separate reservoir, which binary_energy_budget reports explicitly.

Connection to the binary IMF

The binary fraction fb(m1)f_b(m_1) and the mass ratios from Binary-aware IMF recovery decide which stars are paired and the secondary masses; the chapters in this section decide the orbital properties. When consistency matters they come from the same Moe & Di Stefano (2017) calibration — periods from Binary period distributions, mass ratios from Mass-ratio distributions, eccentricities from Eccentricity distributions — and MoeCompanions samples them jointly to preserve the period-conditional non-separability noted at Multiplicity statistics (Moe & Di Stefano 2017).

Implementation, validation & references

References
  1. Sana, H., de Mink, S. E., de Koter, A., Langer, N., Evans, C. J., Gieles, M., Gosset, E., Izzard, R. G., Le Bouquin, J.-B., & Schneider, F. R. N. (2012). Binary interaction dominates the evolution of massive stars. Science, 337, 444–446. 10.1126/science.1223344
  2. Duquennoy, A., & Mayor, M. (1991). Multiplicity among solar-type stars in the solar neighbourhood. II. Distribution of the orbital elements in an unbiased sample. Astronomy & Astrophysics, 248, 485–524.
  3. Moe, M., & Di Stefano, R. (2017). Mind your Ps and Qs: The interrelation between period (P) and mass-ratio (Q) distributions of binary stars. The Astrophysical Journal Supplement Series, 230, 15. 10.3847/1538-4365/aa6fb6
  4. Küpper, A. H. W., Maschberger, T., Kroupa, P., & Baumgardt, H. (2011). Mass segregation and fractal substructure in young massive clusters. Monthly Notices of the Royal Astronomical Society, 417, 2300–2317. 10.1111/j.1365-2966.2011.19412.x