Metadata-Version: 2.4
Name: astrogwb
Version: 0.11.0
Summary: Bayesian inference for compact-binary stochastic gravitational-wave backgrounds
Author: Bernardo Veronese
Author-email: Bernardo Veronese <bernardopveronese@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Physics
Requires-Dist: gwmock-noise>=0.10.1
Requires-Dist: gwmock-signal[jax]>=0.15.0
Requires-Dist: ripplegw>=0.3.1
Requires-Dist: jax>=0.10.2 ; sys_platform == 'linux'
Requires-Dist: jax[cpu]>=0.11.0 ; sys_platform != 'linux'
Requires-Dist: numpy>=2.1
Requires-Dist: numpyro>=0.21.0
Requires-Dist: pydantic>=2.14
Requires-Dist: astrogwb[io] ; extra == 'cli'
Requires-Dist: jax[cuda12]>=0.11.0 ; extra == 'cuda'
Requires-Dist: h5py>=3.15 ; extra == 'io'
Requires-Dist: jax[tpu]>=0.11.0 ; extra == 'tpu'
Requires-Python: >=3.12
Project-URL: Homepage, https://github.com/binado/astrogwb
Project-URL: Repository, https://github.com/binado/astrogwb
Project-URL: Issues, https://github.com/binado/astrogwb/issues
Project-URL: Documentation, https://astrogwb.readthedocs.io/en/latest/
Provides-Extra: cli
Provides-Extra: cuda
Provides-Extra: io
Provides-Extra: tpu
Description-Content-Type: text/markdown

# astrogwb

Model the stochastic gravitational-wave background from compact-binary
populations and perform Bayesian inference with detector networks.

## Installation

Requires Python 3.12 or newer.

```bash
pip install astrogwb
```

Install `astrogwb[cli]` to use the simulation command.

## Usage

```python
from astrogwb.detector import load_detector, load_sensitivity

hanford = load_detector("H1")
sensitivity = load_sensitivity("H1")
```

See the [documentation](https://astrogwb.readthedocs.io/en/latest/) for
installation extras, examples, and the API reference.

## Features

- Analytic inspiral spectra and importance-weighted population predictions.
- Detector responses, sensitivity curves, and network signal-to-noise ratios.
- Segmented background simulations and a likelihood that includes shot noise.

## License

[MIT](LICENSE)
