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.13-cp310-cp310-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10 Windows x86-64

supymode-1.2.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (641.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

supymode-1.2.13-cp310-cp310-macosx_11_0_arm64.whl (1.5 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

File details

Details for the file supymode-1.2.13-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for supymode-1.2.13-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 de36a27b52dec23e6dfb599cc8a472cc057adde717ae02742e117eb7bcae138b
MD5 99e106e14f12466ba6bf3ba7caad6ce0
BLAKE2b-256 f8665353a6be20c865f6b11bec964759eaadb251a88cc3ed83da21b937a9bd59

See more details on using hashes here.

File details

Details for the file supymode-1.2.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for supymode-1.2.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f3b80961b61522c039bb096df2d3cd0a98f89fedd62993a335409925086c260d
MD5 c8abe20ed10166fe50373736b65983c8
BLAKE2b-256 85346adead7779cd927b03bbdb4117bd55697ecc0cb04b88298b4cd8e0c58560

See more details on using hashes here.

File details

Details for the file supymode-1.2.13-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for supymode-1.2.13-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 437552429d761dc7c9fd7eefc17221249a410460b444764ccb3e29942b749eb3
MD5 90bca2551a6dc2a75e1fbc6bc3f88c62
BLAKE2b-256 7d9be9f5fc04ac414728abfd4181923cb9e48be655a7cbf87d333e60d38a621e

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