Skip to content

BYUCamachoLab/emepy

Repository files navigation

EMEPy 1.2.3 Eigenmode Expansion Tool for Python

drawing

An open source tool for simulating EM fields in python using the Eigenmode Expansion Method (EME). Employs neural networks as a means for accelerating the cross sectional field profile generation process.

Installation

Clone the repo

git clone [email protected]:BYUCamachoLab/emepy.git

Install the development version of emepy using pip:

pip install -e .

Or collect the most recent publication to pip

pip install emepy

Docs

Read the docs here.

ANN Models

Optionally, the user can download and use our neural networks for fundamental TE generation.

The neural network models can be found here. Simply download the three folders (Hy_chunks, Hx_chunks, neff_pickle) and place them under path/to/repo/emepy/models/

This will look like:

.../emepy/emepy/models/Hy_chunks/
.../emepy/emepy/models/Hx_chunks/
.../emepy/emepy/models/neff_pickle/

BibTeX citation

@article{emepy,
    author = {Ian M. Hammond and Alec M. Hammond and Ryan M. Camacho},
    journal = {Opt. Lett.},
    number = {6},
    pages = {1383--1386},
    publisher = {OSA},
    title = {Deep learning-enhanced, open-source eigenmode expansion},
    volume = {47},
    month = {Mar},
    year = {2022},
    doi = {10.1364/OL.443664},
}