Error Solver
About
This package contains classes for estimating the propagation error tolerances for a system of equations.
Installation
This package may be installed via pip:
pip install error_solver
The above installation only install the dependencies required for the
ErrorSolverPy class. To also install the dependencies necessary for the
ErrorSolver class, use the following command instead:
pip install error_solver[all]
Example: Error in Cylinder
The below example determines the propagation error tolerances for the cross sectional
area A and volume V of a cylinder given the measurement tolerance for the radius
r and height h.
from error_solver import ErrorSolver
# Define the equations
EQUATIONS = [
'A = pi * r**2',
'V = A * h'
]
# Solve the equations by some means and assemble the values in a dictionary
values = {
'h': 12,
'r': 5,
'A': 78.54,
'V': 942.48
}
# Define the known error tolerances
errors = {
'h': 0.05,
'r': 0.05
}
solver = ErrorSolver(EQUATIONS)
solver.solve(values, errors)
# value error pct_error is_calc
# var
# A 78.539816 1.570796 2.000000 True
# V 942.477796 22.776547 2.416667 True
# h 12.000000 0.050000 0.416667 False
# r 5.000000 0.050000 1.000000 False
Metadata
Release files for error-solver 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| error_solver-2.1.1.tar.gz | 13.8 kB | Without provenance | Details for error_solver-2.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| error_solver-2.1.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for error_solver-2.1.1-py2.py3-none-any.whl |
Total release size: 33.3 kB
Release files / error_solver-2.1.1.tar.gz
| Download URL | error_solver-2.1.1.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e7d6102c1e639dc78ac4f401de9df59b009794ca32d15227f1b0ef3cbf74a58
|
|
BLAKE2b-256 checksum How to use checksums |
9eafcb70c562e782e32075e45930c8c53f64b879ce9fb0e8a417dddffa9009dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
|
Release files / error_solver-2.1.1-py2.py3-none-any.whl
| Download URL | error_solver-2.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 19.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7f4dc631487094654aabaf9757a8f957bc26db5cc1f27d16464656f3660856d0
|
|
BLAKE2b-256 checksum How to use checksums |
5f57bade0923f0c86371895a0895006ce9572399001a702228e1b6f89e444faf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
|
Security for error-solver 2.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.