Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for metas-unclib, version 2.4.1
Filename, size File type Python version Upload date Hashes
Filename, size metas_unclib-2.4.1-py2.py3-none-macosx_10_9_x86_64.whl (27.5 MB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size metas_unclib-2.4.1-py2.py3-none-manylinux1_x86_64.whl (34.3 MB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size metas_unclib-2.4.1-py2.py3-none-win32.whl (20.3 MB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size metas_unclib-2.4.1-py2.py3-none-win_amd64.whl (23.6 MB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page