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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for metas_unclib-2.5.3-py2.py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce8cdba5c97c85b3b9ac34f174009c8441ba80f0fb7ee1ebd652b645a5c490de |
|
MD5 | a7f7da4afcc82845b600c33760f2c63e |
|
BLAKE2b-256 | 97feee1a335104d54665931ac1f769a23c8bcda47ab938e50070306882f33288 |
Close
Hashes for metas_unclib-2.5.3-py2.py3-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b42945588509c43235175e9761ced0288408f80c3e049c88db6f719f5d39365 |
|
MD5 | cc8f781e48b6759cfc4f2528598f9d59 |
|
BLAKE2b-256 | a914ca501e4279e14bc33e7c70a239a3737b8360783ab7808ef051bc8aea0c99 |
Close
Hashes for metas_unclib-2.5.3-py2.py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ec4bae704032fc2f0099fa8d9695318e7f01759009fe5474affe4207734ce31 |
|
MD5 | 25af4c77f650cdb06d27b936c178dc73 |
|
BLAKE2b-256 | 0d10b179fc511f7b73c5a07ae9ee17146482955bcda7c96d5a4af191cfc06038 |
Close
Hashes for metas_unclib-2.5.3-py2.py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2584c6c02dc878f4442e8785c03734b733a7c5375f3fceec2f3fe25682a8b69b |
|
MD5 | da123c1595f23c42a1ed2617630f1e39 |
|
BLAKE2b-256 | bf63c17d1d6d72e36112fae12687fa513c0fb4ef11d87e841c67751c569b998b |