Skip to main content

Unified population inference

Project description


DOI Python package codecov Versions Conda Downloads

Flexible, extensible, hardware-agnostic gravitational-wave population inference.

It provides:

  • Simple use of GPU-acceleration via JAX and cupy.
  • Implementations of widely used likelihood compatible with Bilby.
  • A standard format for defining new population models.
  • A collection of standard population models.

If you're using this on high-performance computing clusters, you may be interested in the associated pipeline code gwpopulation_pipe.

Attribution


Please cite Talbot et al. (2025) if you use GWPopulation in your research.

@article{Talbot2025,
  author = {Colm Talbot and Amanda Farah and Shanika Galaudage and Jacob Golomb and Hui Tong},
  title = {GWPopulation: Hardware agnostic population inference for compact binaries and beyond},
  journal = {Journal of Open Source Software},
  doi = {10.21105/joss.07753},
  url = {https://doi.org/10.21105/joss.07753},
  year = {2025},
  publisher = {The Open Journal},
  volume = {10},
  number = {109},
  pages = {7753},
  archivePrefix = {arXiv},
  eprint = {2409.14143},
  primaryClass = {astro-ph.IM},
}

The older citation can also be included for the initial proof-of-principle for the application of hardware acceleration Talbot et al. (2019).

@ARTICLE{2019PhRvD.100d3030T,
  author = {{Talbot}, Colm and {Smith}, Rory and {Thrane}, Eric and {Poole}, Gregory B.},
  title = "{Parallelized inference for gravitational-wave astronomy}",
  journal = {\prd},
  year = 2019,
  month = aug,
  volume = {100},
  number = {4},
  eid = {043030},
  pages = {043030},
  doi = {10.1103/PhysRevD.100.043030},
  archivePrefix = {arXiv},
  eprint = {1904.02863},
  primaryClass = {astro-ph.IM},
}

Additionally, please consider citing the original references for the implemented models which should be include in docstrings.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gwpopulation-1.3.1.tar.gz (6.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gwpopulation-1.3.1-py3-none-any.whl (6.4 MB view details)

Uploaded Python 3

File details

Details for the file gwpopulation-1.3.1.tar.gz.

File metadata

  • Download URL: gwpopulation-1.3.1.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gwpopulation-1.3.1.tar.gz
Algorithm Hash digest
SHA256 1832e81a05d7abfad4587fb0bf965fe8d30301442f172eb6d0c6541fafc315d7
MD5 ed4dfa14b79202664af6c69b1cfeab69
BLAKE2b-256 bbf053be4067938b2fe4553248973ef0c8b3aa722550513cd63bc94444949af3

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwpopulation-1.3.1.tar.gz:

Publisher: publish-to-pypi.yml on ColmTalbot/gwpopulation

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gwpopulation-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: gwpopulation-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gwpopulation-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ac16e88b56adf74d11cf2071468cbcf47e3a3895e10214cd777696fc4483935
MD5 1e12266ec98653808978bead93972a0f
BLAKE2b-256 4c69251adebb57b08648cfd6b550257654a8d804345be9de1eca9c412d4c2c04

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwpopulation-1.3.1-py3-none-any.whl:

Publisher: publish-to-pypi.yml on ColmTalbot/gwpopulation

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page