No project description provided
Project description
physmet
This package provides support for defining and working with objects that comprise numeric data and an associated metric unit.
import physmet
x = physmet.axis.coordinates([3, 6, 9], 'm')
y = physmet.axis.coordinates([4, 8], 'J')
a = physmet.array([[1.5, 2.0], [-3.0, 10.0], [-1.5, -10.0]], 'cm / s', axes={'x': x, 'y': y})
a
s = physmet.scalar(8.0, unit='s')
s
a * s
z = physmet.axis.coordinates([0, 2, 4, 6], 'mK')
z.unit
z.unit.quantity
b = physmet.array([[1.5, 2.0, -1.0, -1.0], [-3.0, 10.0, 1.0, 1.0]], 'au^2', axes={'y': y, 'z': z})
a
b
a / b
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
physmet-0.1.3.tar.gz
(259.7 kB
view details)
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
physmet-0.1.3-py3-none-any.whl
(103.5 kB
view details)
File details
Details for the file physmet-0.1.3.tar.gz.
File metadata
- Download URL: physmet-0.1.3.tar.gz
- Upload date:
- Size: 259.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.8.0-49-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95754e75dfa573c15dcb6cb6e86eeda37500485c4d95209480cbc425f3a13ee5
|
|
| MD5 |
ffbf88433d0d1ea20898b2b0b0ddb94c
|
|
| BLAKE2b-256 |
3623b71be832fe7b3b7278fbe3a557ecdc228d0df6d3ddf753fe8aa6566b653f
|
File details
Details for the file physmet-0.1.3-py3-none-any.whl.
File metadata
- Download URL: physmet-0.1.3-py3-none-any.whl
- Upload date:
- Size: 103.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.8.0-49-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d4356123b446ce85738e6ba23e7ba43242a3e7d6497ee7da1bb90981bfcc419
|
|
| MD5 |
9fc4e30d5f5aaec3f57b25c1ebe01e32
|
|
| BLAKE2b-256 |
8bc43a9a69966b1564598ee4b7b1f45f18e57522b66a86f03f12de78e6ae63c8
|