Skip to main content

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.

Source Distribution

metas_unclib-0.0.9.tar.gz (35.9 MB view hashes)

Uploaded Source

Built Distribution

metas_unclib-0.0.9-py3-none-any.whl (36.1 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page