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+)

Then, download and install the SuPyMode package:

>>> git clone --recurse-submodules https://github.com/MartinPdeS/SuPyMode.git
>>> cd SuPyMode && mkdir build && cd build
>>> cmake ..
>>> cmake --build .
>>> cd ..
>>> pip3 install .

Testing

Make sure to install both coverage and pytest using pip3 install coverage pytest. To test locally (with cloning the GitHub repository) you’ll need to install the dependencies and run the coverage command as

>>> git clone --recurse-submodules https://github.com/MartinPdeS/SuPyMode.git
>>> cd SuPyMode
>>> pip3 install PyFiberModes
>>> 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.2.14.post0-cp312-cp312-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.12 Windows x86-64

supymode-1.2.14.post0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

supymode-1.2.14.post0-cp312-cp312-macosx_11_0_arm64.whl (2.5 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

supymode-1.2.14.post0-cp311-cp311-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.11 Windows x86-64

supymode-1.2.14.post0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

supymode-1.2.14.post0-cp311-cp311-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

File details

Details for the file supymode-1.2.14.post0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for supymode-1.2.14.post0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c564f8c9af68acf6c3ea7cef87ed33bad2477972cd3188a1c111c68ebf495b58
MD5 6f481ba393b4317a5310493c924427a8
BLAKE2b-256 7b95487236d0a8241cc97c4510e9478a767934017ab2e117d588cf16c81fdc29

See more details on using hashes here.

File details

Details for the file supymode-1.2.14.post0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for supymode-1.2.14.post0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a6d2860071b5b2e1ece9571e11322630f27f9578e2288050b6f75221c7e2307d
MD5 cff01a3b3543b2b40f3a9cf1c5b13b4d
BLAKE2b-256 e40a413a4412fa20042f391c568326752f0ce1c0e8fcad99190437b0145aa4a6

See more details on using hashes here.

File details

Details for the file supymode-1.2.14.post0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for supymode-1.2.14.post0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1664388a70115ee3983c8e28775a4a5ab55b64c9b432fb9cc930622c1623b8b5
MD5 f3c09dd713a3f775176a9d082dcfb6c5
BLAKE2b-256 60f89797f0a3ab9cfdaf7997735a47c73333bdb5ed9da74711eb49d1dbe5f9f9

See more details on using hashes here.

File details

Details for the file supymode-1.2.14.post0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for supymode-1.2.14.post0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b5f2123dd6c3050534064e3c38cb363d4504a3f23969642913e87040040370a8
MD5 7d9738e1de556190db9527a9e34a6550
BLAKE2b-256 8bbe46851dcecab77eb4faf211da5da6c3fde8adcc42ae3ea31f38e3f89d82e2

See more details on using hashes here.

File details

Details for the file supymode-1.2.14.post0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for supymode-1.2.14.post0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 277fcc828f1e545b2edb2cbe97e8ed2fb3cd1b352d21e450dfd9be5c394d1ada
MD5 19923b6fbd42895620651c2c89fb49e2
BLAKE2b-256 48c2a575a88c4c144a1e7a1275e00aa00cf0db7a518f8f39233b30fa8c5c4266

See more details on using hashes here.

File details

Details for the file supymode-1.2.14.post0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for supymode-1.2.14.post0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9ef7fc4e10438de489efdbd31dc99ee4063e08ee946c0a94df1c5db5f2c6f32d
MD5 9e29120ef73bd233e6ec9b4da774fd1c
BLAKE2b-256 6f010792161f5d8ce99134906c360add32aa4cbbef34f2eb04154a9322b3a009

See more details on using hashes here.

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