GWALK: Gravitational Wave Approximate LiKelihood
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file gwalk-4.1.0.tar.gz.
File metadata
- Download URL: gwalk-4.1.0.tar.gz
- Upload date:
- Size: 176.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
813826a84235fd665f2a6b0dea6e204c82848852a88566dd80e4e8bf09c4620c
|
|
| MD5 |
f6a83d6a065b0bde05d2de8dfeef868a
|
|
| BLAKE2b-256 |
780d4f2fa22141f77cd62e10ad0f2307cd1efcbe6013908723f8250fee0060e5
|