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)])
Metadata
Release files for propagate-uncertainties-sebastian-achim-mueller 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| propagate_uncertainties_sebastian_achim_mueller-0.2.6.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| propagate_uncertainties_sebastian_achim_mueller-0.2.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / propagate_uncertainties_sebastian_achim_mueller-0.2.6.tar.gz
| Download URL | propagate_uncertainties_sebastian_achim_mueller-0.2.6.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6bfdecf4f073cc1318a5989647220e29f7a182f819dc1b1b8fa4ad29b5809bc
|
|
BLAKE2b-256 checksum How to use checksums |
d81bb9d78c98ed78e5e2d81dea9432e75a407bc5ce577cc9fcbc8824121afa44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / propagate_uncertainties_sebastian_achim_mueller-0.2.6-py3-none-any.whl
| Download URL | propagate_uncertainties_sebastian_achim_mueller-0.2.6-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cae908809f3d38975c73745904a39b9219dca1514f40b70627183808acad22f1
|
|
BLAKE2b-256 checksum How to use checksums |
59f2f857ddd3d1a268612a0d2b1e24cf5083d1fca2a92d3e457afa380ad80d96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|