Skip to main content

A package for light propagation in fiber optics.

Project description

python Documentation Status Citation Unittest PyPi PyPi_download colab

some image

Propagation of mode in an adiabatic 2x1 modally-specific photonic lantern.

This project aims to develop an useful tool design and optimize fiber optic tapered component. SuPyMode is a Python library linked to a c++ core allowing for a flexible interface and fast computing core. The library also aims to offer the end-user a great vizual tools for data analysis. To this day, SuPyMode as been proven a useful tool to develop very-short 2x1 and 3x1 modally specific photonic lantern with very low loss and cross-talk.


Documentation

All the latest available documentation is available here or you can click the following badge:

Documentation Status


Installation

Pip installation

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 SuPyMode

Manual installation

To install manually (os independent) you will need to install:

  1. cmake (3.16+)

In order to use the SuPyMode Simulator Library, one must have installed the python dependencies:

>>> pip3 install -r requirements.txt

Then, download and install the SuPyMode package:

>>> git clone https://github.com/MartinPdeS/SuPyMode.git
>>> cd SuPyMode && mkdir build && cd build
>>> cmake ..
>>> make install (Linux, MacOs)
>>> cd ..
>>> pip3 install .

Testing

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/SuPyMode.git
>>> cd SuPyMode
>>> pip install -r requirements/requirements.txt
>>> coverage run --source=SuPyMode --module pytest --verbose tests
>>> coverage report --show-missing

Contact Information

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.

SuPyMode was written by Martin Poinsinet de Sivry-Houle .

Email:martin.poinsinet-de-sivry@polymtl.ca .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

SuPyMode-1.1.6-cp312-cp312-win_amd64.whl (3.1 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

SuPyMode-1.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

SuPyMode-1.1.6-cp312-cp312-macosx_11_0_arm64.whl (2.4 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

SuPyMode-1.1.6-cp312-cp312-macosx_10_13_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.12 macOS 10.13+ x86-64

SuPyMode-1.1.6-cp312-cp312-macosx_10_13_universal2.whl (2.4 MB view hashes)

Uploaded CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64)

SuPyMode-1.1.6-cp311-cp311-win_amd64.whl (1.6 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

SuPyMode-1.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (691.5 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

SuPyMode-1.1.6-cp311-cp311-macosx_11_0_arm64.whl (1.9 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

SuPyMode-1.1.6-cp311-cp311-macosx_10_13_x86_64.whl (1.8 MB view hashes)

Uploaded CPython 3.11 macOS 10.13+ x86-64

SuPyMode-1.1.6-cp311-cp311-macosx_10_13_universal2.whl (1.9 MB view hashes)

Uploaded CPython 3.11 macOS 10.13+ universal2 (ARM64, x86-64)

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