Metadata-Version: 2.2
Name: encounter-outcomes
Version: 0.1.0
Summary: Reduced model for passages of stellar-mass black holes through massive stars
Author: Zoe Rosenberg, Richard O'Shaughnessy
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Astronomy
Classifier: Topic :: Scientific/Engineering :: Physics
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: scipy
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Provides-Extra: diagnostics
Requires-Dist: matplotlib; extra == "diagnostics"

# encounter-outcomes

A reduced model for passages of stellar-mass black holes through massive
stars. It maps encounter parameters, the stellar structure, the black-hole mass,
the pericentre and the incoming speed, to an outcome. It also supplies the
encounter statistics for stars and black holes embedded in an AGN disk.

## What it contains

| Module | Purpose |
|---|---|
| `profiles` | Read stellar profiles (MESA format) and compute chord summaries |
| `trajectories` | Integrate conservative and drag-coupled trajectories through a spherical star |
| `drag`, `windtunnel` | Drag closures: Ostriker (1999) dynamical friction and common-envelope wind-tunnel coefficients |
| `screening` | Admission criteria for where two drag closures disagree on capture |
| `stellar_response` | Layer-resolved response of the star between passages |
| `tides` | Tidal energy deposition by mode overlap (Press & Teukolsky 1977) |
| `core_shock` | Diagnostic for a black hole crossing a helium core |
| `fits`, `literature` | Transcribed published fits and literature coordinates, each with provenance |
| `agn_encounters`, `hill_shear_kernel`, `resonance_records` | Encounter cross-sections in AGN disks |
| `triple_truncation*` | Diagnostics for tidal truncation of triples |
| `regimes`, `interface` | Regime routing and the single evaluation call |

The package ships the small transcribed tables and kernels it needs. Stellar
profiles and the results behind the papers are in the separate data release.

## Install

```
pip install encounter-outcomes
```

Requires Python 3.10 or later, NumPy and SciPy.

## Papers

The model and its results are described in the paper series on star–black-hole
encounters in AGN disks by Rosenberg and O'Shaughnessy. Cite the papers and the
data release when you use this package.

## Licence

MIT. See `LICENSE`.
