EMpy - ElectroMagnetic Python
.. image:: https://github.com/lbolla/EMpy/actions/workflows/python-app.yml/badge.svg :target: https://github.com/lbolla/EMpy/actions/workflows/python-app.yml
.. image:: https://badge.fury.io/py/ElectroMagneticPython.svg :target: https://badge.fury.io/py/ElectroMagneticPython
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.
.. code-block:: bash
$> pip install ElectromagneticPython
Optionally, install bvp
:
.. code-block:: bash
$> pip install scikits.bvp1lg
First, download the source code from https://github.com/lbolla/EMpy. Then, from inside a virtualenv
, install with:
.. code-block:: bash
$> pip install -r requirements_dev.txt
$> python setup.py develop
Run tests with:
.. code-block:: bash
$> python setup.py test
bumpversion major|minor|patch
git push && git push --tags
If you find EMpy useful in your job, please consider adding a citation.
As reference:
.. code-block::
Bolla, L. (2017). EMpy [Computer software]. https://github.com/lbolla/EMpy/
As text:
.. code-block::
We used EMpy (version x.y.z) to complete our work.