Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/lbolla/EMpy

Electromagnetic Python
https://github.com/lbolla/EMpy

Last synced: 2 months ago
JSON representation

Electromagnetic Python

Lists

README

        

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.

Installation
============

.. code-block:: bash

$> pip install ElectromagneticPython

Optionally, install `bvp`:

.. code-block:: bash

$> pip install scikits.bvp1lg

Development
===========

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

Release process
===============

1. Edit CHANGES
2. `bumpversion major|minor|patch`
3. `git push && git push --tags`

Citation
========

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.