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
Hashes for gvar-13.0.1-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c3aa0a58bcbc3e25a53b3ab3c6c8151c1c35be9007ba190045984820bbc61bc |
|
MD5 | 2d23a3632474f8e0c3f0c870b489cc25 |
|
BLAKE2b-256 | 1c415988febcf19fa3be43b8718ad8fd28fa2e83319941cc3f6bdf17b339dbe7 |
Hashes for gvar-13.0.1-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8da40ecc49ed3b446df443c83ba844fdf78cb687c10958f0005d5960863e6263 |
|
MD5 | a8dd6e2aeed0be8b57658ee17e578fc6 |
|
BLAKE2b-256 | 182a3183cafaab8ba6ba0b95a3930dedbbf9772d693d8fa31ae594dadf65bcce |
Hashes for gvar-13.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6976d09bdcef8fdfbcae671123db1efdb6e504f006abbd678a81b21297c9f05d |
|
MD5 | c69f343755004c1cb78432ce608edb4f |
|
BLAKE2b-256 | 9b9a6ef7f51296a9bb3cd12f3ed6ccb28d56cd7ed96257701b7354a650fb6a6b |
Hashes for gvar-13.0.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c5a28cae4da9df86ca649666ad8b5b6a42e32863b9d441d13748e84ac925aaf |
|
MD5 | 0ef82cbf4cfd75754c3f8059a69a66e1 |
|
BLAKE2b-256 | 4c20de9d84ca7c6a72508cd36317733a847444b8dd8b96bcf900b286613f8031 |
Hashes for gvar-13.0.1-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63f0c08df158932b605a3b82622c666ce446a9cd2a0b71cfd29e4e81e526895f |
|
MD5 | 2391fb4f3e46dddfb03efdb0db00f080 |
|
BLAKE2b-256 | 8d51b626423d1fc0f35a665bb8a5d670f98299afbaebff484e8fad8c20efd8cf |
Hashes for gvar-13.0.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0030cf0fac3a829563a601e9f2b007e8800f8162125ca0c5038d7d84d2e38637 |
|
MD5 | 27a2782740782ef48998bb6b1f4ebcea |
|
BLAKE2b-256 | ec46931d293b44ea27ec8b91223584778f5db5fab80a0f576e50980e321a1bbc |
Hashes for gvar-13.0.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76d166df11fbc9fabb390c40dc7710a0682329391cc5903ac7a0161967332936 |
|
MD5 | ffc3f278c3c9d52c7383572047b5eaf1 |
|
BLAKE2b-256 | d4b9b17892e0f96f76116f2488ea79dcaeb1c663939ff79c8c6e0dc0baa6ad98 |
Hashes for gvar-13.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9689a635730fdcb5f0c06fcf87d00c31c88d572dd3b970f215f27685574b27e5 |
|
MD5 | 2eae08f1aa95fc0369f5db5d09d7d4d7 |
|
BLAKE2b-256 | 561d078ffa256700e131f891cd172130fb88bb3304586f85c6dda6c54c29d880 |
Hashes for gvar-13.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c9a1132cd63fbe66a178aff8fb101f38555434bc4f567b99d776b0b858fa5d5 |
|
MD5 | e8d81e60873bde6ed41c983d04da1d7c |
|
BLAKE2b-256 | d382097dad9ee4933adea4af1ce6199a5100c99cb8923f0324551d5bb7e36d25 |
Hashes for gvar-13.0.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c13f61e4dbd0d13c838858d4486639a73caa7f8e0ed4a63bcf5c8f7a3fae233 |
|
MD5 | f49cfb128225307f55686fa4ccbb94b1 |
|
BLAKE2b-256 | eecf56e6ec52cf847abe68bba2b2e810032771abbf663eb9abb6eb5a97990c0d |
Hashes for gvar-13.0.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37f1adac5ee1902c7c593dd55709701543747bccb48ded168ccc39c7ac4f80be |
|
MD5 | 422e54bbfa7836b6dd9537bfe3ac5d4b |
|
BLAKE2b-256 | 28b4e17cee00a8812aeb1919fb3b5930312a5736f7ee5bb2e8adf6b74052fb21 |
Hashes for gvar-13.0.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03154937ef7126afd90703534480f50d8d2a2ea7f4947aea99bbe9bc615410e9 |
|
MD5 | 7e6e162f57a257e803166ae77bc10e09 |
|
BLAKE2b-256 | 04293f42ca62ea41c9a0bd8e936c3dab6631d928ca1e1466d40532daf46c3781 |
Hashes for gvar-13.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66c2c44fba4ce5548109c4e527d3a4e5b2fa9f6ad0fba36fc51eb2c3287995da |
|
MD5 | 94567115a5a95730de9a85b2910c5301 |
|
BLAKE2b-256 | 03fdb4f9ba13b275cc9a47051a328d6f2e6c6264835ce9f7d215e5ab7696d5cc |
Hashes for gvar-13.0.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ff5f1806c53fbf3ba7703374f85c024d3e2facea5e9f59cf4f8ca151540fb58 |
|
MD5 | 66d1464dfaaacd4b08ddc37badb872e8 |
|
BLAKE2b-256 | baf0a6c5b35ff9cbcd7f046962b9534d0cd878a743a02c8d32e1741943ac71e8 |
Hashes for gvar-13.0.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 358cb6d0f65279ff604353e61b42cbde11bb84e1d0704d2abfd95eb792268807 |
|
MD5 | d5d0485452143fbb026971d96ba6654e |
|
BLAKE2b-256 | b6d32b132a1cf8cf9ad12d16798f732e2a3d13c35a8c65a58d2d1104f3f68825 |
Hashes for gvar-13.0.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7728876f99ac980448636f6229480044f48e7d1fde713fc110fe24a3316028f |
|
MD5 | 1477be3509ad960a15da7625075c47fe |
|
BLAKE2b-256 | e9101f798695e1895860f26eb4ee6558aa4da13d10be91b437f7b66c22cecf91 |
Hashes for gvar-13.0.1-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23db7d59cbd4c129205310a6d70f3e3d5244b1e1df48174fbfc3ebba12b650e7 |
|
MD5 | f22a5e9bc324225cdba614d8cd89e1bd |
|
BLAKE2b-256 | f269a0abfc45f73e206118d38b7a4b4e7e0eb2e5b694fa8772e5ab6621a33c51 |
Hashes for gvar-13.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4e0b242c4ea89bb48dfc10010e3fba6a289ee6f7dfe6ab96503b59e70f19d2d |
|
MD5 | ffb742e801da97d5b52b9380e8b4c3c8 |
|
BLAKE2b-256 | 94cbf24f336642793f4be2ca1296006c64b6fe1a4bd05be4a89fcd71d3f34bc3 |
Hashes for gvar-13.0.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a181b6208a1fa51de3518a975d1ee4cfa4921e9df4f2b30bf63710cd4d0bfba5 |
|
MD5 | 6ba4fd9342a9f90ca9d36bcdf66bb4ac |
|
BLAKE2b-256 | fa6c4441107611db0116f7e463a338fa13b2657ac1763d757790dd3d82804e45 |
Hashes for gvar-13.0.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85c7f58f7bab2b847b46cd2296a9e22ffff261670c00ed81959b9b4ef2704220 |
|
MD5 | 5774ba00918a50ffacdd0ab6c4455eb5 |
|
BLAKE2b-256 | 30734db1d3d711b178acf970917d865abc062a8d407aade6c3d85b21ca20c7e7 |