Skip to main content

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.2.tar.gz (89.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

physmet-0.1.2-py3-none-any.whl (103.5 kB view details)

Uploaded Python 3

File details

Details for the file physmet-0.1.2.tar.gz.

File metadata

  • Download URL: physmet-0.1.2.tar.gz
  • Upload date:
  • Size: 89.5 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

Hashes for physmet-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5e6b89d86ee099d3c79c56e1da32788fbe8e437319376094b28394ecaaa4ec0f
MD5 d4841dff4f303218124b446c332e46f9
BLAKE2b-256 a481951f32e94eaac18e3a8691936b78d491557dedabafbfab82b5894c0590ef

See more details on using hashes here.

File details

Details for the file physmet-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: physmet-0.1.2-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

Hashes for physmet-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d74919f24d08cfa2268259f09afa32023196cbd306f879357e3e3239b1f5ef15
MD5 047dea64543607fa29600ef7ac0cd154
BLAKE2b-256 a9a5a0fdb25900f793d17cda7b073d8e987ab06b77bdd809b0155c9d2ddfc2dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page