Skip to main content

Propagate the uncertainty of multiple values

Project description

BlackStyle

Propagate the uncertainties of your variables in simple expressions. Both value and absolute uncertainty of a variable are stored in a tuple().

C_value = 42.0
C_absolute_uncertainty = 1.337
C = tuple(C_value, C_absolute_uncertainty)

Example, division

import propagate_uncertainties as pru

pru.divide(x=(5.0, 1.0), y=(2.0, 0.1))
(2.5, 0.5153882032022076)

Project details


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 Distribution

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