Installation, citation and scope

Install the PyPI release.

python -m pip install ad-sn-popsyn==0.1.0

The following synthetic orbit calculation exercises the impulse map without requiring paper data.

import jax

jax.config.update("jax_enable_x64", True)
import jax.numpy as jnp

from ad_sn_popsyn import orbit

r, vr, vt = orbit.phase_state(10.0, 0.0, 0.0, 4.0)
eps, h2 = orbit.post_sn_state(r, vr, vt, jnp.zeros(3), 3.4)
assert float(eps) < 0
a, e2 = orbit.eps_h2_to_a_e2(eps, h2, 3.4)
print(f"Bound orbit: a={float(a):.3f} R_sun, e={float(jnp.sqrt(e2)):.3f}")

The package uses solar masses, solar radii and km/s for the impulse map. Check the time units at each interface. Population periods are commonly in days, and evolution and merger clocks often use Myr. Enable JAX float64 before importing and using the trajectory modules. Record the software version, source SHA, JAX/backend, physics settings, quadrature orders, population inputs and selection response identity with your results.

Citation and scientific use

If you use this software, please cite R. O’Shaughnessy (2026), Selection-aware inference of supernova kicks, arXiv:2611.31123, and record the software version and source commit. Please consult with the author before using the software for a scientific publication. Correspondence details are available through the arXiv record.

Use outside the Paper 1 experiments

This is research software. The released interface and scientific support domain are still being defined. Before using a different remnant law, metallicity range, progenitor family, survey, endpoint class or observing population, validate the support, rate normalization, numerical convergence and relevant derivatives for that use. A synthetic recovery under the assumed model establishes recovery in that experiment. It cannot establish the Galactic birth distribution or validate a full replacement for COSMIC.

The wheel supplies library code and five runtime tables. Full Paper 1 reproduction requires separately provisioned prior and archive records, instrument response files, campaign drivers and their pinned dependencies. The legacy pulsar mock response is retired for new scientific analyses.