Utilities for manipulating correlated Gaussian random variables.
Project description
This package facilitates the creation and manipulation of arbitrarily complicated (correlated) multi-dimensional Gaussian random variables. The random variables are represented by a new data type (gvar.GVar) that can be used in arithmetic expressions and pure Python functions. Such expressions/functions create new Gaussian random variables while automatically tracking statistical correlations between the new and old variables. This data type is useful for simple error propagation, but also is heavily used by the Bayesian least-squares fitting module lsqfit.py to define priors and specify fit results, while accounting for correlations between all variables. Documentation can is in the doc/ subdirectory: see doc/html/index.html or look online at <https://gvar.readthedocs.io>.
These packages use numpy for efficient array arithmetic, and cython to compile efficient code. gvar uses automatic differentiation to track covariances through arbitrary arithmetic.
Information on how to install the components is in the INSTALLATION file.
To test the libraries try make tests. Some examples are give in the examples/ subdirectory.
gvar version numbers have the form major.minor.patch where: incompatible changes are signaled by incrementing the major version number, the minor number signals new features, and the patch number signals bug fixes.
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 Distributions
File details
Details for the file gvar-13.1.1.tar.gz
.
File metadata
- Download URL: gvar-13.1.1.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 422c55312796a197018f8c2362ab0a32b9292074ba315bc70fa474b81cc094c3 |
|
MD5 | abbf4d7708c57f84f7acc89b4fd01d6e |
|
BLAKE2b-256 | 37623ae87411825d77f816baf94df520911b9d7b6d9aac33331902044f6c89b2 |
File details
Details for the file gvar-13.1.1-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bbbc3e435aaf779b5dcd5c7da5bf41fc71fde4e493e507cf1353144cb0db54e |
|
MD5 | 516ddd43c41972c51a518437234153c6 |
|
BLAKE2b-256 | 174b5de63a26b39e094eb2f73327ef81ed4a31f2b20824a69862d16cd1126cb5 |
File details
Details for the file gvar-13.1.1-cp312-cp312-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 8.0 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 775ed015fa06c339e8714baa396690ca36e3894d35309f3b66677fa2c3e9f989 |
|
MD5 | f4e94a3a2031bb8bce2eaeeabaa35f7c |
|
BLAKE2b-256 | fbdec5595fae960da41d000a612375aad4879401166f2a1ac62e1cb8401fcb2d |
File details
Details for the file gvar-13.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 7.8 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 649f03a1d09e52492ee875c34505d93d8f2c6aa04bfc390360603fcf211ee2a0 |
|
MD5 | 19cb7a56e90ebb704bbca799a2776fe6 |
|
BLAKE2b-256 | 0ffa103187c1b80b2213cef33016f5782f78f7040dab2fc6b90d8e5ff26ac048 |
File details
Details for the file gvar-13.1.1-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 118d49bc6f2a7092ec597e4f509e88f541fad0d9ebbaee1c0478207c23b37ff9 |
|
MD5 | 273760ac7ee1eff64defa82ea1756d57 |
|
BLAKE2b-256 | b5b8b6b88b48e67987f950356b5ce64828aa83cf101ad7562b3ae07f6f23d584 |
File details
Details for the file gvar-13.1.1-cp312-cp312-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp312-cp312-macosx_10_9_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.12, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 304dd80435855ccbd25a9670f0d938eb720fb9cb7e47cd35b04fc0b3d89d0f2e |
|
MD5 | a9ca4f642afb6a5a50f45b27adeca8cf |
|
BLAKE2b-256 | df585da5f7779d70fd3d1fa43cf6ca3b14b84efd6c45cfc22e7d499d19d5da36 |
File details
Details for the file gvar-13.1.1-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9626e9965a1cea4fb4bf761a738c8742eb263bc916eec6f179ce3c1168ec67d |
|
MD5 | e6faff082274c9c340d0253c69beab24 |
|
BLAKE2b-256 | 3f39dd3dd389a862cb0939375fcdd541f350a73f211802956b46c5c84acb0936 |
File details
Details for the file gvar-13.1.1-cp311-cp311-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 8.4 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03a97db5fa8ea16c7536b0aa5e7c24a65de75ccc7c9e4bba81b7ae46bd9f3005 |
|
MD5 | 510018bf81c9cd03cd7955cc72afb145 |
|
BLAKE2b-256 | 5c8602d63268bdffdf1b5a59a940efcdb224c09d0ddbadfa35a0e4b8515a7e9a |
File details
Details for the file gvar-13.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 7.9 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0940416dac5ab2f82b16cd3c245c95e235399e5d1d2938ad9c0a1a47c04484f |
|
MD5 | 5cc2d1ba791c0ccead6341125cd9400b |
|
BLAKE2b-256 | 9ec9ec942fd1c066b512bf2806f0d14a1020f6d08a7bb93485e2d28c3704929d |
File details
Details for the file gvar-13.1.1-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af435a50cb837c46b6c6c9bf17fc3026570868a413afc2565967f7cfda2cd0e4 |
|
MD5 | 24416cf5dc9a47f5bba170e6f90328ed |
|
BLAKE2b-256 | 9cb7b14fd1ad2d78217fd7eb2ec12446ed58fdca3d367c9d6525852509f7e659 |
File details
Details for the file gvar-13.1.1-cp311-cp311-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8acf7eb542881ebec7bc5ce97a85fae29163ca357a672ebe02036ed63dc5ab7d |
|
MD5 | bc4f9762339c038a0c43e4e46b61aa41 |
|
BLAKE2b-256 | 0aabf6004151ab8083da85c1d1ca4b3288184803d4a11e54f6070c925363ad68 |
File details
Details for the file gvar-13.1.1-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5aa673284c3a7e550b2013442b0c51c48bafe5683b75bbc24b9a80597ba907a |
|
MD5 | 5d59c237bb9fcaa9a1401d6fc4f9e7c7 |
|
BLAKE2b-256 | 8b8ad3aabc140d32e6ab9b929569b316e7e334d05af5a0e98f36187714239edf |
File details
Details for the file gvar-13.1.1-cp310-cp310-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 7.7 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a3e7099b4f25ad636dad2792288121b1fffb83a92cb8724c8da95ab77ada5be |
|
MD5 | dfdc71fa4426b0f904f4a05abd396cf2 |
|
BLAKE2b-256 | 46ec43f70c608930c207871a7558fb4c316157b45edbdd711034bd059ffa44c2 |
File details
Details for the file gvar-13.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 7.4 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 655ea58af6723b6b68cb2d087282b414ea44bcd8f0c407dffdf4e40d9a4dccd9 |
|
MD5 | 8923243b8e573faf74ed0afb573fd2b6 |
|
BLAKE2b-256 | 9193abf3ae3cd1fbfd61eabf2eb3a457e96f4233dd2908d2fa24dd395088d44e |
File details
Details for the file gvar-13.1.1-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f318d49ce0602339e1b0788a27f9077ce1b476a1d563179648a865bd7967d453 |
|
MD5 | bfb4785864ab11a2ebfd37bcea02ef7e |
|
BLAKE2b-256 | 2f7d5544028e7d2f2ce6419ae53457cf47a86b46663e44a9b2e16e0449177673 |
File details
Details for the file gvar-13.1.1-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c7ee128fd4c835d3d8b2c74202064300fff9c53ac2c30ff704c5c23c9efae4f |
|
MD5 | e3bf96d94adbe5cb0baa244eb656455f |
|
BLAKE2b-256 | b1bc73eb4f0605e982bde747c497fdf801356728538fb7da4e54e4d266fbe955 |
File details
Details for the file gvar-13.1.1-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d175397f7b3ce6ed5133b3718a788d7985251e14342066a321ef8ce0836838f1 |
|
MD5 | 00a2ecb6d7f9049af4bb73043fd0572d |
|
BLAKE2b-256 | 164b052921a2c685aafe8017f3283c9be467e1425fb045b4b1abdca73bb63177 |
File details
Details for the file gvar-13.1.1-cp39-cp39-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp39-cp39-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 7.7 MB
- Tags: CPython 3.9, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee6a3d6bdd006cbee1da339c1b04a81d617ef5fc15d6d3cf040562bce5e86adf |
|
MD5 | 7f4bd77c1f492ee1a77430b25ff0ab0e |
|
BLAKE2b-256 | 5692335de6a03a7e71ae5fa57e2d39074fe68f05b0324d4b158095e0a640b33d |
File details
Details for the file gvar-13.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 7.4 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f23c882a8eba988de6737d64203b8e0933a3ea68adddb0c47468957456557096 |
|
MD5 | 6efafef84c74f91924314c2d139a3d20 |
|
BLAKE2b-256 | 01b6da63a5a9c5bd6a4d8fdf8beb19fdd7a16fef97299c5aed641f16b130d9e6 |
File details
Details for the file gvar-13.1.1-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb3128a5de38484efc49532721f961487e9a5b454fac998d04c2d40c13b67d34 |
|
MD5 | 22a4e38c116d5145bb480cbe06c9e1b7 |
|
BLAKE2b-256 | 2c640dd1f6787a2642d3b159d47f7a568115e31156acf06d268c3f6c141310fa |
File details
Details for the file gvar-13.1.1-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: gvar-13.1.1-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a692312da3a04e14fb2556515518a8797dd77b7eda1cb62d117cdedfd7c0f477 |
|
MD5 | cc91d90c774bd28a69d511ddcc5698c6 |
|
BLAKE2b-256 | bbd8cdb495d2df69d6c5ffdd7987a1f63dd027d44257687b62f53cde0d12383a |