Gamma Variance Model for combining correlated measurements
Project description
GVM Combinations
gvm-combinations provides tools for combining correlated measurements with
errors-on-errors using the Gamma Variance Model.
It supports:
- statistical covariance matrices and correlated systematic uncertainties;
- dependent and independent errors-on-errors;
- likelihood fits with iminuit;
- Bartlett-corrected confidence intervals and goodness-of-fit statistics;
- YAML configuration files and combination summary plots.
Installation
The package requires Python 3.11 or newer.
python -m pip install gvm-combinations
Example
from gvm_combinations import GVMCombination, build_input_data
data = build_input_data("combination.yaml")
combination = GVMCombination(data)
fit = combination.fit()
low, high, _ = combination.confidence_interval()
print(f"mu = {fit.mu:.4f}")
print(f"68.3% CI = ({low:.4f}, {high:.4f})")
The public Python namespace is gvm_combinations. Combination inputs are
defined in YAML files containing the measurements, statistical covariance and
systematic uncertainty model.
Documentation and examples
The GitHub repository contains the full mathematical overview, configuration reference, example runs and tutorials:
Methodological details are available in arXiv:2407.05322.
Citation
Citation metadata are provided in
CITATION.cff.
License
GVM Combinations is distributed under the MIT 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gvm_combinations-0.1.0.tar.gz.
File metadata
- Download URL: gvm_combinations-0.1.0.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2b5cf251ec08cd51a72eab9c73073e740a29077bf603504d11976b4bbbaca5a
|
|
| MD5 |
70516d62ed54625262b4d1ad8fc3d281
|
|
| BLAKE2b-256 |
56a7a3ca0737cf1b0f5c50ae593ef5c82fce7df59e94d2d1e48d6ccead1b707e
|
Provenance
The following attestation bundles were made for gvm_combinations-0.1.0.tar.gz:
Publisher:
publish.yml on EnzoCanonero/gvm-combinations
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gvm_combinations-0.1.0.tar.gz -
Subject digest:
a2b5cf251ec08cd51a72eab9c73073e740a29077bf603504d11976b4bbbaca5a - Sigstore transparency entry: 2324816032
- Sigstore integration time:
-
Permalink:
EnzoCanonero/gvm-combinations@7f8ffe3587e85fbdec477efca94bf657c296f5c2 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/EnzoCanonero
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7f8ffe3587e85fbdec477efca94bf657c296f5c2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file gvm_combinations-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gvm_combinations-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0c2c43a905f959314a97b1a19be015e83ca787b7183cad24edb4b013d5d6c22
|
|
| MD5 |
2da15d73507804b80de5f6dce20f3ed1
|
|
| BLAKE2b-256 |
d27f8f8f1f5f8a9cdfe0ad1c57bdef85e7239f73b95e6a71a931d11ebf6ee329
|
Provenance
The following attestation bundles were made for gvm_combinations-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on EnzoCanonero/gvm-combinations
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gvm_combinations-0.1.0-py3-none-any.whl -
Subject digest:
e0c2c43a905f959314a97b1a19be015e83ca787b7183cad24edb4b013d5d6c22 - Sigstore transparency entry: 2324816344
- Sigstore integration time:
-
Permalink:
EnzoCanonero/gvm-combinations@7f8ffe3587e85fbdec477efca94bf657c296f5c2 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/EnzoCanonero
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7f8ffe3587e85fbdec477efca94bf657c296f5c2 -
Trigger Event:
release
-
Statement type: