Allow calculations using physical quantities
Project description
PhysicalQuantities is a Python module that allows calculations to be aware of physical units. Built-in unit conversion ensures that calculations will result in the correct unit.
The main goals are:
- easy use, especially conversion, scaling and interoperating with different units
- focus on using units for engineering tasks
- provide logarithmic dB calculations
- allow seamless Numpy array operation
The module also contains an extension for IPython. This allows much simplified usage by typing in physical quantities as number and unit:
>>> a = 1m ; b = 1s
>>> print("a=", a, ", b=",b,", a/b=", a/b)
a= 1 m , b= 1 s , a/b= 1.0 m/s
>>> u = 10V
>>> u.dB
>>> 20.0 dBV
Project details
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 PhysicalQuantities-1.1.1.tar.gz.
File metadata
- Download URL: PhysicalQuantities-1.1.1.tar.gz
- Upload date:
- Size: 229.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
434e35773ebb2226b24c987b7ab5c2902ee9f7634b9ee6bddb512c0a0ba6cb10
|
|
| MD5 |
d67dc42d82d5ec08cbd481418522ed48
|
|
| BLAKE2b-256 |
f70b592a534ef4224a446829b6ff5a20feb326157b10d8ce5654cbb818eed05c
|
File details
Details for the file PhysicalQuantities-1.1.1-py3-none-any.whl.
File metadata
- Download URL: PhysicalQuantities-1.1.1-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04cb2229dbba96ebc39f0c6637a8f6425b127e316230232ad15997eef4c88d30
|
|
| MD5 |
84548bc77056f67bfb51dd4a11593dd4
|
|
| BLAKE2b-256 |
10c9e919a6d5291e2be6f0da3f4815dba997fc415eff343bf5a779a5fb4afca7
|