Skip to main content

Beampy is a python package - with an user interface - allowing to propagate beams in differents waveguides using the Beam Propagation Method (BPM)

Project description

Documentation Status

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

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

beampy-1.11.tar.gz (18.0 MB view hashes)

Uploaded Source

Built Distribution

beampy-1.11-py3-none-any.whl (71.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page