A package for light propagation in fiber optics.
Project description
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:
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:
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 .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file supymode-1.2.16-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: supymode-1.2.16-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09984b44d3a5a1882454ac4e7bc188e614501089499a371b53d0680de7432c08 |
|
MD5 | 8ec2618ff56617d90f6208fbc42b47aa |
|
BLAKE2b-256 | c75061b82c7bf8c1b36df562cca29cdf80120607136d05ee2207e9600e2fcb0a |
File details
Details for the file supymode-1.2.16-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: supymode-1.2.16-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 643.9 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 035cb6aea9dd44eaa99a14914024026f21dc0b308e05e311c436687919ec9ee0 |
|
MD5 | eb9ee92d0236b7923d3b77d3109ffa23 |
|
BLAKE2b-256 | 97c5a52e22f7fc18abf7b33d268fbe1ab091781e25a6a910bda5cc90d45ef9eb |
File details
Details for the file supymode-1.2.16-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: supymode-1.2.16-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71c864f984725fff90a3d3ef86ea9ab7ad00481ced25583155bdc9eab80b6211 |
|
MD5 | 4a76d41610a51ae0abe17f56b2eeb867 |
|
BLAKE2b-256 | fc5d0a1a6aa562fdd186ceab6f0d3f056e9d80919b80bd1fbcaa0afb336ae845 |