Skip to main content

Propagate the uncertainty of multiple values

Project description

BlackStyle

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

File details

Details for the file propagate_uncertainties_sebastian-achim-mueller-0.2.3.tar.gz.

File metadata

File hashes

Hashes for propagate_uncertainties_sebastian-achim-mueller-0.2.3.tar.gz
Algorithm Hash digest
SHA256 61d1b37da0cabdde1b95ab90180ea2958e2198455e2e15500bc688bcc4158e98
MD5 03975649adf5ebf71adf84014afa4cde
BLAKE2b-256 b9c74f5942c6f293fdada863454aa304bbe3eb87b05d31fefede1134cf98f668

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for propagate_uncertainties_sebastian_achim_mueller-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 91e4e68271644133143f184b5c2fad784a32fb122ddea8902a6dab2184b0337a
MD5 f135ae5257da75d4669c87c2e47a229e
BLAKE2b-256 01604cb15e13220828a0163b16215c30269aacab74d7b150c69987b97e21c5af

See more details on using hashes here.

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