A sympy addon for measurement value and uncertainty processing
Project description
SymPy Measurement
A sympy addon for measurement value and uncertainty processing.
Example:
from sympy import pi
from sympy.physics.units import *
from sympy_measurement import *
t = Measurement('t', (50.22, 50.26, 50.20), s, uB=(0.2/3, 0.05/3))
l_0 = Measurement('l_0', (68.20, 68.40, 68.10), cm, uB=0.2/3)
d = Measurement('d', 2.2, cm)
T = CombinedMeasurement('T', t / 30)
l = CombinedMeasurement('l', l_0 + d/2, uB=0.02*cm/3)
g = 4*pi**2 * l / T**2
print(mean(T))
print(u(g, type="A", margs=T))
print(uvalue(g, units=(m, s)))
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sympy_measurement-0.0.1.tar.gz.
File metadata
- Download URL: sympy_measurement-0.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c536eddb46418f88d029e3fb9ba3812d95272a278f6002f80434de044c89853
|
|
| MD5 |
379d5891e7e90118a4721dd28d6b194c
|
|
| BLAKE2b-256 |
4c7603ace3beb51bbd0cb0f62736bc4f43731fa3f9c19c5dd46c934f6e10816f
|
File details
Details for the file sympy_measurement-0.0.1-py3-none-any.whl.
File metadata
- Download URL: sympy_measurement-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e3bfd99a966c1458868b81263d554f2e9c4c0e263fef75b66d28145cf96b035
|
|
| MD5 |
2c9fc308f210d63f33e2165197d803c7
|
|
| BLAKE2b-256 |
ce410db465c953c59915cc47d441a7d29903ce62bba3eda95b4ddd6581c1475b
|