Skip to main content

gwresults

gwresults is a simple way to access parameter-estimation and search results from LVK catalogue publications and third-party community catalogues.

Posterior sample files are hosted on data repositories such as Zenodo, alongside their catalogue publication, and can be large (multi-GB). gwresults maintains a registry mapping event names to their Zenodo record, downloads files on demand, and caches them locally. A bundled table of summary statistics (median and highest-density interval per parameter) lets you query across events without downloading anything.

Install

$ pip install -e ".[test,docs]"

Usage

Command line:

$ gwresults get posterior --event GW150914_095045

Python:

import gwresults

path = gwresults.posterior.get("GW150914_095045")

Querying across events by summary statistics:

import astropy.units as u
from gwresults.fields import total_mass, waveform_approximant

results = gwresults.posterior.query(
    total_mass >= 100 * u.solMass,
    waveform_approximant == "SEOBNRv5PHM",
)

Adding events (maintainers)

No catalogue data is bundled yet. Events are added by generating a registry file from its Zenodo record, not by hand-writing one:

$ gwresults registry generate --zenodo-record 6513631 --catalogue GWTC-2.1
Wrote 54 entries to .../data/registry/gwtc-2.1.yaml (54 total).

This queries the Zenodo API for the record's real file list and checksums and derives each event's gps_time from its name, so nothing is hand-typed. See src/gwresults/data/registry/README.md (or the "Maintaining the registry" tutorial in the docs) for the full workflow, including disambiguating records that bundle multiple files per event.

Status

Early scaffold. Currently supports published parameter-estimation posteriors only; search-pipeline results are planned but not yet implemented (gwresults.search).

Development

$ pip install -e ".[test,docs]"
$ pytest
$ sphinx-build -b html docs docs/_build

Metadata

Release files for gwresults 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gwresults 0.1.0
File Size Uploaded
gwresults-0.1.0.tar.gz 36.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gwresults 0.1.0
File Interpreter ABI Platform
gwresults-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 65.7 kB

Release files / gwresults-0.1.0.tar.gz

Download URL gwresults-0.1.0.tar.gz
Size 36.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7170331f1a746a8322fb591b9cbbba9d3cab2bd1fed03eff8d3b178ed4fd0a91
BLAKE2b-256 checksum
How to use checksums
26afac2edc23895be90d85a635f69b57e55a1e520fb83578bedb2c8620c62832
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 29, 2026.

Transparency log

Release files / gwresults-0.1.0-py3-none-any.whl

Download URL gwresults-0.1.0-py3-none-any.whl
Size 29.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dda288cb85d0a1b2fff376b0b0de08dfa3869f346b2d1ae1c6abca2fb7561ef6
BLAKE2b-256 checksum
How to use checksums
d032d1d7377134ada657993588654436f936d2a6de76fa79ba23b631dde04aad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page