EMpy - ElectroMagnetic Python
Project description
EMpy - ElectroMagnetic Python
EMpy - ElectroMagnetic Python is a suite of algorithms widely known and used in electromagnetic problems and optics: the transfer matrix algorithm, the rigorous coupled wave analysis algorithm and more.
Run the examples in examples/* to have an idea how EMpy works.
Visit https://lbolla.github.io/EMpy/ for more information.
Installation
pip install ElectromagneticPython
Optionally, install bvp:
pip install scikits.bvp1lg
Development
First, download the source code from https://github.com/lbolla/EMpy.
EMpy is managed with uv (https://docs.astral.sh/uv/):
Install dev environment with:
make develop
Run tests with:
make test
Run examples with, e.g.:
uv run examples/ex_APRR.py
Upgrade dependencies with uv:
make upgrade
Release process
Package version is handled by setuptools_scm/uv:
make release PART=...
GitHub actions will build and upload the package to PyPI.
Citation
If you find EMpy useful in your job, please consider adding a citation.
As reference:
Bolla, L. (2017). EMpy [Computer software]. https://github.com/lbolla/EMpy/
As text:
We used EMpy (version x.y.z) to complete our work.
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 electromagneticpython-2.2.3.tar.gz.
File metadata
- Download URL: electromagneticpython-2.2.3.tar.gz
- Upload date:
- Size: 222.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1302ec50d946e091f67c598f397f580183a301f6b686b8f95396e9a639b6c0d0
|
|
| MD5 |
f1463eae0f417bd4336b00db97f42cb1
|
|
| BLAKE2b-256 |
d5b2a00f71ae9767c6bd451f2adf3011f7862cb0f8d9904a3610dc3a2a048929
|
File details
Details for the file electromagneticpython-2.2.3-py3-none-any.whl.
File metadata
- Download URL: electromagneticpython-2.2.3-py3-none-any.whl
- Upload date:
- Size: 136.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
309694b39bbea1840effa27b3b5ef286b2ad104fe0d9d17fba3239bd9e274b9a
|
|
| MD5 |
a70a4312fbd0a8facc3c18797e92dc88
|
|
| BLAKE2b-256 |
592ac683370039c884bf9a6b563653c0ed8f5e55da5dc604a5449f66e7f855a0
|