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
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 Distribution
metas_unclib-2.2.7.tar.gz
(37.4 MB
view hashes)
Built Distribution
Close
Hashes for metas_unclib-2.2.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0527e0ba9380ff5bb23696617a6a1af9beb5695afb1eadc2d901f306304b3225 |
|
MD5 | 10c16f66f4cc9d7a971e827e53d43155 |
|
BLAKE2b-256 | a698859962ee7bcaa17c889c0bfe87f4c95e2bdd180d92d17f6079d2107ed491 |