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 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
Hashes for SuPyMode-1.1.6-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea54db5f6bc9c665b8dd5ed2762efbdb9ce514e91de3934c58da900ff89c39ee |
|
MD5 | 9dfc38e0f7a5caa3198dfcf7c6c960d1 |
|
BLAKE2b-256 | 19bf95be350c893bdbe772524c05a99de49424f54f1c11b2d404d1ef060c1fea |
Hashes for SuPyMode-1.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0c559ef5cd99c268e7b2092c770a7ce577a9b0cfe1c0b4670a912918107d2ef |
|
MD5 | b0c13efeb21bd32ccd1fe430bc65ea73 |
|
BLAKE2b-256 | c907e2a447af48aaadf7dcf6d3b712e89a08f7c74b92713a903fa351fe34f95e |
Hashes for SuPyMode-1.1.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | feeb8513f14f806dc00be40d82614e64ea572bb1dddc6c167795445adc553e1b |
|
MD5 | 64fa2632e7d784a46399c7f268a2841c |
|
BLAKE2b-256 | aa1d605672259a7dcacca723128bac0ae25b05869ba21cf7a04ba36f1b489ffa |
Hashes for SuPyMode-1.1.6-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec7707d748a6fe59844dc4e0841b2320010ce325215ddb74d4ff93d0fee48d68 |
|
MD5 | 2853d18d5021ab326d5b5297104b8011 |
|
BLAKE2b-256 | 0aac2a2f98bfa13f99dbb9539edef914936791245dc97c230bc7788473b1bebb |
Hashes for SuPyMode-1.1.6-cp312-cp312-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef22f9d9af0a69840e7768a0bd20a175a20767b6d87858b5a9b6c74cfc61cd0d |
|
MD5 | 94e3f9bcf653d3fcf15a7b1650c66254 |
|
BLAKE2b-256 | 2f087a8ca13b74bd868168b97bec62257e63094c6206f793ea893aef6f06c03e |
Hashes for SuPyMode-1.1.6-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5621c6875f91f50bf5dbde51b3a6bd82dbf297f812d9419fa7ba0bb23c0197c5 |
|
MD5 | 14c565bc24bb04efe4c1cd9e8f54b021 |
|
BLAKE2b-256 | d7661b970f53027afa81ec4480f01bbd9b115b46f2c04b7a6cab945a94b5292d |
Hashes for SuPyMode-1.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bdd5f69503e309b35422e2efefd923bf51bac7908d62a6479d366ba53899162 |
|
MD5 | ac8e87431d2970f285bfd1e897e42572 |
|
BLAKE2b-256 | 2401d8f7c6ec5c5d6c4bf62534b64505c80e0221151e8d1aa1ec459bd219a0bb |
Hashes for SuPyMode-1.1.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84168f1ab40797ef57cc9feab7a50efdaddd34934244d3268ac912fae9a98b74 |
|
MD5 | edd4c6282de0f9d4373201bdccd6800f |
|
BLAKE2b-256 | 7dc2f3b2f717d1a756773ba5159b596fc8db411663bb63b12c9f9dc58e2de1c2 |
Hashes for SuPyMode-1.1.6-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5247d049555f699dc1a3476bd9afff8cea28233634d3440e349d08c2e7ce0265 |
|
MD5 | f78e588495fdbc81f17e8de7c64502cb |
|
BLAKE2b-256 | fd3a93a35ea4c457c1dc3d3c3d845e6fa823af938b330e89cbcfebc20207486d |
Hashes for SuPyMode-1.1.6-cp311-cp311-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd38982a478d4361a8f239573eedaf4f47089b26b08c26b2d899e6b8fb7272e6 |
|
MD5 | 5178ac097f5e3a6fef6b809a76c701d1 |
|
BLAKE2b-256 | 1a041baf1de3a11623cc4a0a0f48c6421c5ae20af46cb3cf2ddb72597ad66e7a |