uncertainties
uncertainties copied to clipboard
Transparent calculations with uncertainties on the quantities involved (aka "error propagation"); calculation of derivatives.
For many scientific applications it is nice to have the exponent rounded to a multiple of 3 so that a result like `(1.2+/-0.1)e+04` appears as `(12+/-1)e+03` can be quickly interpreted,...
`uncertainties.unumpy.array` throws `DeprecationWarnings` from both `numpy 1.16.5` in python 2 and `numpy 1.17.4` in python 3: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal...
Errors shown during "test_PDG_precision" under msys2 environment. **first error:** for (std_dev, result) in tests.items(): assert uncert_core.PDG_precision(std_dev) == result E assert (2, 1.0000000000000006e+308) == (2, 1e+308) E At index 1 diff:...
I'm trying to use numpy + uncertainties + pint library together To accomplish this I've wrapped test to check bind spots in numpy python array protocol when using pint alone,...
When executing the following code, Pandas reports that `TypeError: unsupported operand type(s) for /: 'object' and 'object'` ``` from uncertainties import unumpy df = pd.DataFrame(unumpy.uarray([[1, 2], [5, 6]], [[0.1, 0.2],...
More specifically, `numpy.sin()` applied to a Pandas Series returns a Pandas Series, whereas `unumpy.sin()` returns a NumPy array. See https://github.com/lebigot/uncertainties/discussions/133#discussioncomment-2162879.
In 2021, setup.cfg + pyproject.toml is more modern than setup.py. It wouldn't hurt to move to these more recent configurations (now that there is no complicated build for the Python...
Is it possible to convert the current api to an object oriented approach, like sympy see [here](https://docs.sympy.org/latest/tutorial/printing.html). This could allow people to write their own printers and lets them customize...
Hello there, I started working on a backend interface for my physical quantity package, similar to `pint`. The general idea of the interface is to make it easier to wrap...
This is my own try at fixing issue #121. It works by adding `sqrt` as a member function to `AffineScalarFunc` so that `numpy` knows how to calculate the square root...