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.4.6-py2.py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecb7f3a522911479f0463a3947778fe5b38ac4a206562f40d177d09b96e56d6e |
|
MD5 | 97d83d08ad0e8cc0103f9058817bd807 |
|
BLAKE2b-256 | 0932bc4ae96064cbaabe9d2996ff146043f04b40eae544ad928bdce5bc879cb3 |
Close
Hashes for metas_unclib-2.4.6-py2.py3-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b11e45fad44476477c82fe3a30717863f954ea4ec99331ae66a30bcff6587c9 |
|
MD5 | b3c5a5a8dd65e6a26295481c73d09e81 |
|
BLAKE2b-256 | d27150a88f7c2f171982717ea80152f96fc8d595e0bdf21e8c6a367ed687f5cb |
Close
Hashes for metas_unclib-2.4.6-py2.py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d89b03ab4a5d7f7628983ee1a4c4dc2243cbf88eda55b34908915d2f51c85cee |
|
MD5 | 1e66010e4ef2c986f5c1daf43046f664 |
|
BLAKE2b-256 | c49d94c17036fe430b45d4c430b92ca1b210e50f022397f483f5d6d97377f5fe |
Close
Hashes for metas_unclib-2.4.6-py2.py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57bc532a2d263a22e9d3d121e1ae66d1e4c29e676da9ef23284058cc44c87ada |
|
MD5 | 1a4985840346428365085ee1388177b0 |
|
BLAKE2b-256 | 4c494337aa93c201ea404a3cfee73b2fcff86b146781bf90879c93ce99b5e257 |