Skip to main content

Gravitational Wave Approximate LiKelihood (GWALK)

Library for fitting approximate likelihood functions for Gravitational Wave events, with methods applicable in general for modeling sample-based distributions.

Specifically, the Normal Approximate Likelihood (NAL) models are optimized, bounded (truncated) multivariate normal distributions.

The non-parametric methods included also include density estimation as marginalized Gaussian process estimates.

See the associated data release: nal-data.

See also basil-core, csrk-py.

Citation

@misc{https://doi.org/10.48550/arxiv.2205.14154,
  doi = {10.48550/ARXIV.2205.14154},
  url = {https://arxiv.org/abs/2205.14154},
  author = {Delfavero, Vera and O'Shaughnessy, Richard and Wysocki, Daniel and Yelikar, Anjali},
  keywords = {Instrumentation and Methods for Astrophysics (astro-ph.IM), General Relativity and Quantum Cosmology (gr-qc), FOS: Physical sciences, FOS: Physical sciences},
  title = {Compressed Parametric and Non-Parametric Approximations to the Gravitational Wave Likelihood},
  publisher = {arXiv},
  year = {2022},
  copyright = {arXiv.org perpetual, non-exclusive license}
}

Installation:

Method 1:

This may only work with python 3.12 or newer, and requires the Rust compiler cargo to be installed on a computer.

python3 -m pip install gwalk

Method 2:

This should work on any computer with anaconda:

conda create --name gwalk python=3.12
conda activate gwalk
conda install numpy==2.3.5
conda install h5py
conda install rust
pip install gwalk
python3 -m pip install --upgrade ipykernel
python3 -m ipykernel install --user --name "gwalk" --display-name "gwalk" # For jupyter 

Contributing

We are open to pull requests.

If you would like to make a contribution, please explain what changes you are making and why.

License

MIT

Metadata

Release files for gwalk 4.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 gwalk 4.1.0
File Size Uploaded Provenance Actions
gwalk-4.1.0.tar.gz 176.2 kB Without provenance Details for gwalk-4.1.0.tar.gz

Release files / gwalk-4.1.0.tar.gz

Download URL gwalk-4.1.0.tar.gz
Size 176.2 kB
Tags Source
SHA-256 checksum
How to use checksums
813826a84235fd665f2a6b0dea6e204c82848852a88566dd80e4e8bf09c4620c
BLAKE2b-256 checksum
How to use checksums
780d4f2fa22141f77cd62e10ad0f2307cd1efcbe6013908723f8250fee0060e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Security for gwalk 4.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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