Propagate the uncertainty of multiple values
Project description
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
Release history Release notifications | RSS feed
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
- Download URL: propagate_uncertainties_sebastian-achim-mueller-0.2.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61d1b37da0cabdde1b95ab90180ea2958e2198455e2e15500bc688bcc4158e98 |
|
MD5 | 03975649adf5ebf71adf84014afa4cde |
|
BLAKE2b-256 | b9c74f5942c6f293fdada863454aa304bbe3eb87b05d31fefede1134cf98f668 |
File details
Details for the file propagate_uncertainties_sebastian_achim_mueller-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: propagate_uncertainties_sebastian_achim_mueller-0.2.3-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91e4e68271644133143f184b5c2fad784a32fb122ddea8902a6dab2184b0337a |
|
MD5 | f135ae5257da75d4669c87c2e47a229e |
|
BLAKE2b-256 | 01604cb15e13220828a0163b16215c30269aacab74d7b150c69987b97e21c5af |