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+)
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 2021 the project is still under development if you want to collaborate it would be a pleasure. I encourage you to contact me.
PyMieSim 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
Hashes for SuPyMode-1.0.2-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47ffea19a6b8fc2b78370fc1c23ee2a39604d1b31211b849ba54c9f1e5e3f7cd |
|
MD5 | 945b18734e52fe669b23178e148315df |
|
BLAKE2b-256 | aaf52266f3bf5929218723dc57884f53fb98d69125b2000a212953b3384725be |
Hashes for SuPyMode-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9af16e5210b3f76f674f7548efdc9b105e8e30550e216bc80ff27ac4b42f280f |
|
MD5 | 437481664a2eee564fbaa40342241c71 |
|
BLAKE2b-256 | 78581178ca5a71e732c1e923d5226c5f6a48947453344bcaccf3f1c1881610eb |
Hashes for SuPyMode-1.0.2-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34da7e306fcd45b03981bc7f043507e9794d8f8186e3d50e9af524dc222fbce2 |
|
MD5 | 1bc53cd94aa4daba857c9f213f53cfbe |
|
BLAKE2b-256 | e37e411cc2a7ee3f224217b6f7d37e600fa23b2b6ea56492bd3a3c882f47f8dd |
Hashes for SuPyMode-1.0.2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54014c1764f4a4a8590aa63cb48221f70e479f971ece40074840f19c1853c684 |
|
MD5 | 67ba259f96f7aa1166f154164702720c |
|
BLAKE2b-256 | ddfca81c871ee9ed1906acd5efbd2b3d43503a4ce683fa939c261ff2571b12cf |
Hashes for SuPyMode-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0458593a04b8ad78541bcfe5a89982da49ad83d5b87bcfafebdd0b2d60318ecd |
|
MD5 | a6ef80306370d55785505887c3ded7a2 |
|
BLAKE2b-256 | d4bfba925c7970b923f41e9b42b6191cf2a5d3a40231fded063d716ededcfc4f |
Hashes for SuPyMode-1.0.2-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9fcd25d215ad7c1c341b9f10c6a172c41825fdcf6b7a467ffeddf75ea33a16c |
|
MD5 | 261b743f8a1ae269f0795bf9d20d6a27 |
|
BLAKE2b-256 | e65ca8e09d530490b09ebb9275745c60dafe2e5dfa4f2a98da9e1b0eac698636 |