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.5.tar.gz
(259.9 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.5-py3-none-any.whl
(103.6 kB
view details)
File details
Details for the file physmet-0.1.5.tar.gz.
File metadata
- Download URL: physmet-0.1.5.tar.gz
- Upload date:
- Size: 259.9 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 |
287578c7c5696b5c589af096347a2515308ad38a9aadfd69a63d17328fc57f79
|
|
| MD5 |
89ee3df6dbc92a513e2314300185e30d
|
|
| BLAKE2b-256 |
6d8fdbb918465a98c72fa9df39c1cc26919c42338f65b368661954ad03774cb8
|
File details
Details for the file physmet-0.1.5-py3-none-any.whl.
File metadata
- Download URL: physmet-0.1.5-py3-none-any.whl
- Upload date:
- Size: 103.6 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 |
f92b38aa1cc63a6d105d91074a746c7ff874dda0648d4481abdc0cc6750041da
|
|
| MD5 |
ae1d97025b39eaa1a177a43dfaac4cfb
|
|
| BLAKE2b-256 |
deae71246ebcf76656233b4f68d6b6c11374d7fde411b259813d45d235d251f6
|