mnpbem-misc
mnpbem-misc provides shared numerical utilities used across MNPBEM-Python submodules.
Features
- Physical unit conversions between photon energy and wavelength.
- Vector norms and normalization utilities with MATLAB-compatible behavior.
- Tensor-aware linear algebra helpers (
matmul,matcross,inner,outer,spdiag).
Mathematical Formulations
Photon energy-wavelength conversion:
Euclidean vector norm:
Normalization:
Implementation
- Unit conversion utilities:
src/mnpbem_misc/units.py - Vector operations:
src/mnpbem_misc/vector.py - Linear algebra helpers:
src/mnpbem_misc/linalg.py
Dependencies
numpy>=1.24
Installation
pip install mnpbem-misc
Example
Runnable example:
examples/basic_usage.py
Run:
python examples/basic_usage.py
Author
- GALIH RIDHO UTOMO
- g4lihru@students.unnes.ac.id
Metadata
Release files for mnpbem-misc 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mnpbem_misc-0.1.9.tar.gz | 4.2 kB | Without provenance | Details for mnpbem_misc-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mnpbem_misc-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for mnpbem_misc-0.1.9-py3-none-any.whl |
Total release size: 8.9 kB
Release files / mnpbem_misc-0.1.9.tar.gz
| Download URL | mnpbem_misc-0.1.9.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
390721464e4a652a6918a50f0e5b2cc3bea2182af8827aeaeb821a62260d8e69
|
|
BLAKE2b-256 checksum How to use checksums |
89b64ae172f5e3a92a63ef87f6950c4e596cc18aa589ad05f0030b1f83ef2926
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / mnpbem_misc-0.1.9-py3-none-any.whl
| Download URL | mnpbem_misc-0.1.9-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b0155df5e70559274af44a875af0c2b1c85cac075746dbb74797c49fcf2fb40
|
|
BLAKE2b-256 checksum How to use checksums |
cccf0153d19521734ce3d0ff90a6edb358cd4fff489173c4ebee05f734829928
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for mnpbem-misc 0.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.