Skip to main content

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.

Created by G. Peter Lepage (Cornell University) 2008
Copyright (c) 2008-2020 G. Peter Lepage
https://zenodo.org/badge/37556070.svg

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

gvar-13.1.6.tar.gz (1.3 MB view details)

Uploaded Source

Built Distributions

gvar-13.1.6-cp313-cp313-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.13Windows x86-64

gvar-13.1.6-cp313-cp313-musllinux_1_2_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

gvar-13.1.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

gvar-13.1.6-cp313-cp313-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

gvar-13.1.6-cp313-cp313-macosx_10_13_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

gvar-13.1.6-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

gvar-13.1.6-cp312-cp312-musllinux_1_2_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

gvar-13.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

gvar-13.1.6-cp312-cp312-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

gvar-13.1.6-cp312-cp312-macosx_10_13_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

gvar-13.1.6-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gvar-13.1.6-cp311-cp311-musllinux_1_2_x86_64.whl (8.0 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

gvar-13.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

gvar-13.1.6-cp311-cp311-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

gvar-13.1.6-cp311-cp311-macosx_10_9_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

gvar-13.1.6-cp310-cp310-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10Windows x86-64

gvar-13.1.6-cp310-cp310-musllinux_1_2_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

gvar-13.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

gvar-13.1.6-cp310-cp310-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

gvar-13.1.6-cp310-cp310-macosx_10_9_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

Details for the file gvar-13.1.6.tar.gz.

File metadata

  • Download URL: gvar-13.1.6.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for gvar-13.1.6.tar.gz
Algorithm Hash digest
SHA256 53d0c0c47ae9636675f5e15dc67db1ed8027e88dffa61824be2b836e66dd98f2
MD5 7f0722389aa35177230baa3a0a925670
BLAKE2b-256 7afac9d428c504b42266a307db39db47b5d27ba24d53f21867d3b625db7b1854

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: gvar-13.1.6-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for gvar-13.1.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e962d19fbe72eee67a9bd0b9d43c166b7d2d215a39cf54dfa100ee1f07adc2c1
MD5 505de5a054ecc6e51f40e14ad00db0c5
BLAKE2b-256 4251585ac5415418eeeaf3182c4fa9a46eb7fe08ede308b10ca74acc047cf55b

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8a43379b74b101761860fc456b85d3d93a2d54a8acfdf5bc768845405448593a
MD5 52f3ee836fd7ec7a58d2013c2949ee1a
BLAKE2b-256 ffdf903bd24f5c06bd9e8786593bf8648fb2c8eaad575f6434953fb62c3fdabf

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2d8b4ccd4ece1ac69fd69bdb9bb91f893e65faf9e6bb2f75f0845abf583ccdc7
MD5 f1ac26daca952785083bc800edea8cce
BLAKE2b-256 64fadea300a8a15ed9e21d1e906f96510ebceed3f41cd3381005f727e0f6578b

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 420f72a949c2f6cce8bf0821184c912d8281d893dd83c6b68de0afef5f25b436
MD5 36de17349b9665f867701d4b0ec6eb89
BLAKE2b-256 5730ca6437dc6e1e303c29716e3f6ae54e76ceec0f0e7a2c22fc12f1cbe9cc5e

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 c9e619b434cd39e0345404aef86da6ca269fd9f4c5a2fd0b07d716958aa348e7
MD5 83df00a8f976d6f5508e682cae17cff6
BLAKE2b-256 f1550a2a50736a61b1955f019e8dbf323887fb0df2cb80e00e53331ebc9cc97b

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: gvar-13.1.6-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/6.1.0 CPython/3.12.2

File hashes

Hashes for gvar-13.1.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cff59b4b3d9108de4fd1ac9a0c8fb72b1aeb2dc675798baf2f4c17c18d362edb
MD5 f38a552066f390518c07b38db270be21
BLAKE2b-256 c228497f12cb35092fc51e83e8d7846093b0d6dd05192b2dbabbb9e3f5a1c0c0

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 733a70ccb6c3a460bcb8a4d7b8118477eca1cb646e8d67d1f1765c6287fd5982
MD5 1de8b118d20c856feae086bfd0c98ba0
BLAKE2b-256 a0787a6047bfdb8099f9f3dd29cafe21114c438d2ae4900cfd7354213cb635f6

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 55798c3f79c4817fb71b3c0a227d8d5a34292a2b5233bd5200dd6f01cf3f985d
MD5 ccf84a28f261241915371681a754e4fd
BLAKE2b-256 0e4229da790f450a25d5a1194a22feaf26ce6a033d94bcda0994f3f0e7d6dab9

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a80a7a324e3e848e73de5c6640fee5f079946a0d016bfdbc135f1f701936568d
MD5 55f58e13b205b20860817af6341e3538
BLAKE2b-256 57ac903b5505a57049e54a856d715293e1726daa81ceefa57f695f1e01a682ee

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 10f5b3758fc5cbaf655970879dedc06177fef4517b96efb24812e8cc0a14d7c1
MD5 c0bcc912af9c276c33a610c37fd74e29
BLAKE2b-256 1f45917622b5a9d34eccb58991b4d8bcd00984998685b70e32d6d68299418e4e

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: gvar-13.1.6-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for gvar-13.1.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8dbbe4879784ca33ae7bc1091e7365caa888c4f896bd60646f0e952bcf751d25
MD5 341fd88c8ba4ba86069776f51c910719
BLAKE2b-256 dc2ecc456aabc0ae853ac84600eddd943aa1f375d827bce07f62ac61f9050114

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 df4183d7c61ff462e5e12190fa8440dbef7fb9f613b6ce71c7e68b851521a047
MD5 9f2d0caceb26147d1ed571a9385a5868
BLAKE2b-256 c97ac6995a2ff99dc51c198d093ea19b39f095b5482c5f134b03d88bbac68945

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0726acf91f6ea127b2800d2c1d214bfaf571306850adff2ab0b60ef8431316e5
MD5 bfbcab2631c291fc57440b7afd43bb44
BLAKE2b-256 1d3ddc7b45708c9241537af077ba6a3c4e3eb4bb8ca6f0096f0659c581a73621

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0e3a6fb10fc70cbf3fe2dfb570739e392f3dc4b81c752ce247921f7cda43d5b9
MD5 bef6a18892dc96d9195bd87e993463cc
BLAKE2b-256 dd5664c900a2e648a1d6fa77d83cbeeb5f9c15bb5c431a808b96810c85123d97

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5adc98bd602fac3f5435e2f17e20ab05695ba0722df1add22e25631cff420ef3
MD5 3ef06f4bae044dcf8eef6b36990c7881
BLAKE2b-256 68d27cfc65c85e895028199eaa4008f6bbfb21424ccfca0a73457231dc486cbc

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: gvar-13.1.6-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/6.1.0 CPython/3.12.2

File hashes

Hashes for gvar-13.1.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5d716f47eed4e0414857cc990cfb6068df6b43902bf259dfbad0fb63c153c6a7
MD5 bd217d6bfc97da22e133e421f73f452b
BLAKE2b-256 2e7559611a743728895201801f108715069fb35af6f79429fc489339575cdc94

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ef2e3a0a9037a801910432ed975c8b845aba168b833821c8bdd851dcb1e88fde
MD5 5d7a5074bf9be3449451e9e293ea841f
BLAKE2b-256 b58f9683795598f1b3f6e19ea30d5ad6dc238a4a0e8270216d3ac80ff2449b52

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 37cbb95a8536286420d7ab77570d3a5724043f2729fc6ac9c63c1acf037607f3
MD5 98176b67067c20e38747464f34dc1370
BLAKE2b-256 327024b40b82a7887de6a9cd19fe8d04a3f72688afa72dc35c20713fc64e9588

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 15de9933a87d1231387ccbda89a6c9a4615f667fea7b473200b23d041fe7b61e
MD5 0627e46f67a39f23d9766537d417cd65
BLAKE2b-256 20d6ebca0ffa836f521f190aaff71e578b352dfba432deaab761b03bff0738e2

See more details on using hashes here.

File details

Details for the file gvar-13.1.6-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for gvar-13.1.6-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 40c3699d7d05835971c68ee2e22a1739b7bf0e668ed53225459073635714efff
MD5 644d56db946e38f4edbeee150d0a7d79
BLAKE2b-256 e1cc6c10d2b862f9dbb539404ecd5d83e67015b5c3bae9975b0203f0e8861848

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page