cosmocompare: Bayesian model comparison by importance sampling of existing chains
- Author:
Dily Duan Yi Ong
- License:
MIT
- Homepage:
cosmocompare performs Bayesian model comparison without rerunning nested sampling. It takes the posterior samples a survey already produced under one model and prior, reweights them onto a narrowed or changed prior and onto extended models, and recomputes the Bayesian evidence with an uncertainty, so that a model-comparison verdict and its sensitivity to the prior can be obtained in seconds on a laptop.
Developed under a UKRI-funded high performance computing (DiRAC) project.
Installation
pip install cosmocompare # reweighting, evidence, diagnostics
pip install "cosmocompare[likelihood]" # adds the Cobaya likelihood stack
Requires Python 3.11 or later.
Metadata
Release files for cosmocompare 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cosmocompare-0.0.12.tar.gz | 31.6 kB | With provenance | Details for cosmocompare-0.0.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cosmocompare-0.0.12-py3-none-any.whl | Python 3 | none | any | Details for cosmocompare-0.0.12-py3-none-any.whl |
Total release size: 60.7 kB
Release files / cosmocompare-0.0.12.tar.gz
| Download URL | cosmocompare-0.0.12.tar.gz |
|---|---|
| Size | 31.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d76624dfb35b2f143bbe122e4abdd62c0246515698b0c4329e09aac269ab196
|
|
BLAKE2b-256 checksum How to use checksums |
6fba7c88742bc08ab15f73667026163dba972d6e7e53ea046613821071b5ffea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Oct 13, 2026.
Transparency logRelease files / cosmocompare-0.0.12-py3-none-any.whl
| Download URL | cosmocompare-0.0.12-py3-none-any.whl |
|---|---|
| Size | 29.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25ff87179cff33db60c856878c5bcaefdaf44bebae06aeefe27e11d63f7a30f1
|
|
BLAKE2b-256 checksum How to use checksums |
3f26d4ba8008e46ef4e5c13cde73207db6fe7956a708dc5a389248f1971f7e86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Oct 13, 2026.
Transparency logSecurity for cosmocompare 0.0.12
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for cosmocompare-0.0.12.tar.gz
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 Oct 13, 2026.
Transparency logA 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.