This project aims to develop an useful tool to simulate propagating mode in fiber optics for all kind of circular-symmetric geometries.
All the latest available documentation is available here or you can click the following badge:
The package have been uploaded as wheel for a few OS (Linux, MacOS) and need Python 3.10. As such, with the adequate configuration one can simply do
>>> pip3 install PyFiberModes
The following shell commands should do the trick.
>>> git clone https://github.com/MartinPdeS/PyFiberModes.git
>>> cd PyFiberModes
>>> pip install -r requirements/requirements.txt
>>> pip install .
To test localy (with cloning the GitHub repository) you'll need to install the dependencies and run the coverage command as
>>> git clone https://github.com/MartinPdeS/PyFiberModes.git
>>> cd PyFiberModes
>>> pip install -r requirements/requirements.txt
>>> coverage run --source=PyFiberModes --module pytest --verbose tests
>>> coverage report --show-missing
Plenty of examples are available online, I invite you to check the examples section of the documentation.
As of 2023 the project is still under development if you want to collaborate it would be a pleasure. I encourage you to contact me.
PyMieSim was written by Martin Poinsinet de Sivry-Houle .