An advanced measurement uncertainty calculator
Project description
METAS UncLib
To use METAS UncLib, simply do:
>>> from metas_unclib import *
>>> use_linprop()
>>> a = ufloat(3.0, 0.3, desc='a')
>>> b = ufloat(4.0, 0.4, desc='b')
>>> c = umath.sqrt(a**2 + b**2)
>>> print(c)
5.0 ± 0.3671511950137164
Requirements
- numpy
- pythonnet
- on Linux and macOS: Mono .NET framework
Optional Requirements
- scipy
- matplotlib
- jupyter
Linux
The LD_LIBRARY_PATH
environment variable has to be set to:
export LD_LIBRARY_PATH=~/.local/lib/python3.6/site-packages/metas_unclib/mkl_custom/linux/intel64
macOS
The DYLD_LIBRARY_PATH
environment variable has to be set to:
export DYLD_LIBRARY_PATH=~/.local/lib/python3.6/site-packages/metas_unclib/mkl_custom/macos/intel64
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
File details
Details for the file metas_unclib-2.8.3-py2.py3-none-win_amd64.whl
.
File metadata
- Download URL: metas_unclib-2.8.3-py2.py3-none-win_amd64.whl
- Upload date:
- Size: 28.9 MB
- Tags: Python 2, Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ecd88d9ad13aa6fc334d39d3daabcefa7a369dfceee852d2341b8ae89eac01e |
|
MD5 | 325905b905525da6a95c50c40528553a |
|
BLAKE2b-256 | 7b59a661568def4250d5ffbb2f61f24c56127a2502a9a2774989198ced5fe280 |
File details
Details for the file metas_unclib-2.8.3-py2.py3-none-win32.whl
.
File metadata
- Download URL: metas_unclib-2.8.3-py2.py3-none-win32.whl
- Upload date:
- Size: 25.1 MB
- Tags: Python 2, Python 3, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ce2ba05e0dce4e6957fdc745577fe1cc44df125b10a4111389192b8e37cd293 |
|
MD5 | d3dd14011ee350438191392d7ddcf79c |
|
BLAKE2b-256 | 884d2c3855ba2985d5443a0ed19ab3d382b38ce96f67e397a6edd8d660041f98 |
File details
Details for the file metas_unclib-2.8.3-py2.py3-none-manylinux1_x86_64.whl
.
File metadata
- Download URL: metas_unclib-2.8.3-py2.py3-none-manylinux1_x86_64.whl
- Upload date:
- Size: 40.7 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23ed2f98647984a51f655dd368baece96e6349884053237e7b3a323549e2dc19 |
|
MD5 | 88a1bea551164a35b27bdf61db2a6c08 |
|
BLAKE2b-256 | e14cc522cf55fbe92f4a32132505c62cc8626824f52b1f4b56e3bdc8b1bebca1 |
File details
Details for the file metas_unclib-2.8.3-py2.py3-none-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: metas_unclib-2.8.3-py2.py3-none-macosx_10_9_x86_64.whl
- Upload date:
- Size: 32.5 MB
- Tags: Python 2, Python 3, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f559bea93b0523454ead1fc946820521cc7f27a0e383a46214ee05276d878d13 |
|
MD5 | 13c4f9b8410a5d0558b87d4393d7e123 |
|
BLAKE2b-256 | 33fe7571cc081271b07ad358b6bd4a04adf72cb20b337bba1e948d938f0f8f4a |