Beampy is a python package - with an user interface - allowing to propagate beams in differents waveguides using the Beam Propagation Method (BPM)
Project description
Welcome to Beampy’s documentation!
Beampy is a python module based on the Beam Propagation Method [1] used to compute light propagation into a varying refractive index. The light propagation is done by the bpm module. An user interface - done using Qt desginer - allows to control the parameters and display the results.
This project was initiate by Jonathan Peltier and Marcel Soubkovsky during a master university course from the PAIP master of the université de Lorraine, under the directive of Pr. Nicolas Fressengeas.
The bpm core codes are mainly based on a compilation of MatLab codes initialy developed by Régis Grasser during his PhD thesis [2], and later modified at the FEMTO-ST institute of the Université de Franche-Comté and at the LMOPS laboratory [3] of the Université de Lorraine.
References
Links
The online documentation can be found at https://beampy.readthedocs.io/.
The source code of the whole project can be found at https://github.com/Python-simulation/Beampy/.
The PyPI repository can be found at https://pypi.org/project/beampy/.
Installation
This package can be download in a python environment using pip install:
pip install beampy
Or by downloading the github folder and setting beampy as a PYTHONPATH. If so, make sure to download Qt5, matplotlib and numpy by using this command in the docs folder:
pip install -r requirements.txt
Starting the software
To start the Beampy interface, import beampy and start the open_app function:
import beampy beampy.open_app()
Or open direclty the user_interface.py file to launch the interface. Or even open the bpm.py to have a non-based interface version.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file beampy-1.11.tar.gz
.
File metadata
- Download URL: beampy-1.11.tar.gz
- Upload date:
- Size: 18.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca342661b50452302f5fdaa36d11f5c69fb331b138990295d04b7713236f706c |
|
MD5 | edb8b1fb68b3a512bafb83fc3ede6d04 |
|
BLAKE2b-256 | ff32f22c7037c2f546655d9b3369dfcc77ae2aafd548df842018933333cc7b8d |
File details
Details for the file beampy-1.11-py3-none-any.whl
.
File metadata
- Download URL: beampy-1.11-py3-none-any.whl
- Upload date:
- Size: 71.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a858a1aedc14ea0be777d4584bdc6d3e4de77c2cfaf1f69b2026df27962888f4 |
|
MD5 | 41e9315548a1801aa100c3c61bf412ee |
|
BLAKE2b-256 | f9b2f92e1f0da8c80611fe24ffda3246cd61c0597195a9aa2ff10dcd995ea5a9 |