Skip to main content

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: https://gitlab.com/xevra/nal-data

See gp-api: https://gitlab.com/xevra/gaussian-process-api

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 will only work with python 3.7-3.9 (newer versions are waiting on cython version to update), and on a computer with cholmod installed (suitesparse, libsuitesparse-dev, etc...).

python3 -m pip install gwalk

Method 2:

This should work on any computer with anaconda:

conda create --name gwalk python=3.9
conda activate gwalk
conda install -c conda-forge scikit-sparse
python3 -m pip install gaussian-process-api
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

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

gwalk-4.0.1.tar.gz (175.7 kB view details)

Uploaded Source

Built Distributions

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

gwalk-4.0.1-cp314-cp314-macosx_11_0_arm64.whl (143.6 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

gwalk-4.0.1-cp313-cp313-macosx_11_0_arm64.whl (143.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

gwalk-4.0.1-cp312-cp312-macosx_11_0_arm64.whl (143.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file gwalk-4.0.1.tar.gz.

File metadata

  • Download URL: gwalk-4.0.1.tar.gz
  • Upload date:
  • Size: 175.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.10

File hashes

Hashes for gwalk-4.0.1.tar.gz
Algorithm Hash digest
SHA256 fba58b3c5dfc5a29148a086ce9433c6e4fd9e24726fea34cde2daacb5bc36ab7
MD5 e37a3667fbf3b6490815c363166de6d2
BLAKE2b-256 723ec862e384d30c1568740f719ce0d61f6b08926eab59ac4a93b89eb16a000c

See more details on using hashes here.

File details

Details for the file gwalk-4.0.1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gwalk-4.0.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a0c0e1e755a6cfd76d70f1d23f254cf671f94712a1eb1e0ab1f282879f051694
MD5 907550e639f826c17885bdbebe374d98
BLAKE2b-256 20c386d571b1f67f0725953fcee95710527d8eb75802bdc4b221fc16f9ec8fe9

See more details on using hashes here.

File details

Details for the file gwalk-4.0.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gwalk-4.0.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1de130af7922a74432457800f9af7746ec847271df8fa9172864a7c7b5a7f917
MD5 ed7eaacf62669ebb54e7bd3ee98d47a5
BLAKE2b-256 57f5c8dc3d3bb38f8a57385af842dd30e4654bea173e504792c736e0bcd4e99c

See more details on using hashes here.

File details

Details for the file gwalk-4.0.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gwalk-4.0.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e816aec6775232c5ae8af94cec0aae6edce4013f012eab090b2206883f251652
MD5 9bf112057c2518f852e7c7fe2b71b448
BLAKE2b-256 3061aded2da90f132262a8964e4f2f5f164e0cfad9c12e68e170edc161bd00e9

See more details on using hashes here.

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