Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

EMpy - ElectroMagnetic Python

Project description

https://github.com/lbolla/EMpy/actions/workflows/python-app.yml/badge.svg https://badge.fury.io/py/ElectroMagneticPython.svg

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 http://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.

Create a virtualenv with, e.g:

$> make venv

Then, from inside a virtualenv, install dev environment with:

$> make develop

Run tests with:

$> make test

Upgrade dependencies with:

$> make requirements-upgrade
$> make requirements-sync

Release process

  1. Edit CHANGES

  2. make release PART=major|minor|patch

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.

Supported by

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