Skip to main content

Propagate the uncertainty of multiple values

Project description

TestStatus PyPiStatus BlackStyle BlackPackStyle MITLicenseBadge

Propagate the uncertainties of your variables in simple expressions.

Examples

import propagate_uncertainties as pu

pu.add(x=1, x_au=0.1, y=4, y_au=0.1)
(5, 0.14142135623730953)

pu.multiply(x=2, x_au=0.2, y=3, y_au=0.1)
(6, 0.632455532033676)

pu.divide(x=5.0, x_au=1.0, y=2.0, y_au=0.1)
(2.5, 0.5153882032022076)

pu.sqrt(x=4, x_au=0.1)
(2.0, 0.025)

Functions

  • add(x,y)

  • multiply(x,y)

  • divide(x,y)

  • hypot(x,y)

  • sqrt(x)

  • max([x0, x1, x2, ... xN])

  • sum([x0, x1, x2, ... xN])

  • sum_axis0(X)

  • integrate(f=[y0, y1, y2, ... yN], x_bin_edges=[x0, x1, x2, ... x(N+1)])

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

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file propagate_uncertainties_sebastian_achim_mueller-0.2.6.tar.gz.

File metadata

File hashes

Hashes for propagate_uncertainties_sebastian_achim_mueller-0.2.6.tar.gz
Algorithm Hash digest
SHA256 a6bfdecf4f073cc1318a5989647220e29f7a182f819dc1b1b8fa4ad29b5809bc
MD5 23ff6229d0e45bb12e4214864bc50b8b
BLAKE2b-256 d81bb9d78c98ed78e5e2d81dea9432e75a407bc5ce577cc9fcbc8824121afa44

See more details on using hashes here.

File details

Details for the file propagate_uncertainties_sebastian_achim_mueller-0.2.6-py3-none-any.whl.

File metadata

File hashes

Hashes for propagate_uncertainties_sebastian_achim_mueller-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 cae908809f3d38975c73745904a39b9219dca1514f40b70627183808acad22f1
MD5 3c3145fb28f7cdf6e8170923bf402211
BLAKE2b-256 59f2f857ddd3d1a268612a0d2b1e24cf5083d1fca2a92d3e457afa380ad80d96

See more details on using hashes here.

Supported by

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