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.0.9-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a264d2f1c4ea9873d2318f27cedf10681c1b783f7cf160dde2e916b303814d56 |
|
MD5 | ae772bb453232447d456762f83502c72 |
|
BLAKE2b-256 | 4df0ebe6fabbadc1413483e964dcf8ba520310e2c0f83f3139038c5339fe2d09 |
Hashes for SuPyMode-1.0.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed3bb4e57944a8eaf207e137862c294192444d5b18804b3ae19411d2ccc2914 |
|
MD5 | d31ea3cf66515aae17f6fba83a635cca |
|
BLAKE2b-256 | 6c316df3c81307638a4455b5e15b87fc47cf9be0a92cbcda63fa05d03e57322b |
Hashes for SuPyMode-1.0.9-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b821a1a9395cc4a0c947f9aa3b71c844f9dde38150b662eef1f3182b182de3a2 |
|
MD5 | b16c2e539c2d9d983870b5a598403dc2 |
|
BLAKE2b-256 | 80f310b29de60ccedf8132540b3a911b04650de4e78fdcc7aa2c029b2782404e |
Hashes for SuPyMode-1.0.9-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83606130a777dfb4287f697e3fbe59030e35d1f8d284e374b77b080dc18b18b3 |
|
MD5 | d71aca57ac96228e85edd953e73e21b8 |
|
BLAKE2b-256 | d5192e780d0747fd402464e716bc2125ee8b34a0d8858b8b837d1a763cb5bb46 |
Hashes for SuPyMode-1.0.9-cp312-cp312-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5221fec5d897f83a44f9e4305d825e3b30b98906fd6a8d80e42607d3281b9290 |
|
MD5 | 07fe7437b0df44b30387742f23bc87bc |
|
BLAKE2b-256 | 6868c9a22a89cfc6be644ad47fdb6141b6556ec8a8b38a8bc82fabbb8a243b22 |
Hashes for SuPyMode-1.0.9-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cbc3b69b79ea3c5f00b10c6af28ec9681828f5d2a67dd4e3e1cb3e78b6c6f8c |
|
MD5 | 1fc0bd35bd7660fc91e01a0b0ebf41bc |
|
BLAKE2b-256 | 1acba980d4b3b015a46133699d0baab7bbbcb7989372851fec34c3cc01f5f1fc |
Hashes for SuPyMode-1.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62c611079b06785a3075e403a9069f17051822a93fc3c917ba8d130233be9b27 |
|
MD5 | 9d093a474af7c8470238d3928850657e |
|
BLAKE2b-256 | bff982fa187697cc8794651f1b7f3fa176224607debc5aaf11cdcbc8c46755ff |
Hashes for SuPyMode-1.0.9-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e58d9a303b1dcef369804e97180fc95cdd7fc082fa14b8a93a0f309f4c7f6a2c |
|
MD5 | c0a9b2eb78f9ea789578f7ca96c3bb3f |
|
BLAKE2b-256 | f7e43e4bba0a68f5a021ba049cc34cf6b4b81859ed04b7f79df04439a89d5023 |
Hashes for SuPyMode-1.0.9-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 280771fbfbd1914cf7bd70b5af92fa30facfc354c13d306a0dc4eaf51f2f8198 |
|
MD5 | 1cbfb4450062a243095cbb5e110ad1ad |
|
BLAKE2b-256 | 2d2bf9b20111b6bf8a6a04c93be8a1035ba26323afa34993ffce82ed6fe91d33 |
Hashes for SuPyMode-1.0.9-cp311-cp311-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d195e092090615863c11124aaed8d7cccb24a3820567f4f5cd476eaf9c4ebf05 |
|
MD5 | 6e626aa87ff69e9f384adcf85834fe24 |
|
BLAKE2b-256 | c237e87c8d85f7e0ca044bae70cae8b722c7a3edb16963989377075d507a4eee |
Hashes for SuPyMode-1.0.9-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c78d1900dc86f80153e09426baf0d0e9a8788513dc8b5e3e084d6be26cbc1ec3 |
|
MD5 | 9e00c1f084bdff5b5b828202ec20d017 |
|
BLAKE2b-256 | 61c69a6ded7cdb4ecb86fc9dbe7e74e96280deae90aca6307f193e46b341d5ba |
Hashes for SuPyMode-1.0.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94fb9ede585cea00aa99dca0266d426cbcbe04ccb1d4e5ceec0e0c81e566dc5a |
|
MD5 | 2617de5f2b6faf75af7ee2561357ed4f |
|
BLAKE2b-256 | 19d1a1da30ee4c2878e2856dac4e71a73dad9c0c3025e0381bfdf6b1b1bd359f |
Hashes for SuPyMode-1.0.9-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e8cd1b9eaa29c6dc867c8bb117d96dc09a1ee2173688fd4a908c856ef75374e |
|
MD5 | 43937ffef8f4564b868135a1accc513f |
|
BLAKE2b-256 | 3bf7ec8372910e87af9c1917260ccc6f393efd0db1b65e640b01a63797ed1cc7 |
Hashes for SuPyMode-1.0.9-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f951c27c04054e418fed0034369ccd967400c47e893f4bc687cac0fc9a16bfa9 |
|
MD5 | 404077ac7d3841279bec87aeae5b3c98 |
|
BLAKE2b-256 | 5a189f71115420d3adc17ed8481b4ab3f63487333c8ce1e614f68600697fb1b1 |
Hashes for SuPyMode-1.0.9-cp310-cp310-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d77314bd0ebd1bf31d86b1c497be3e70f2ab9031cc261a26d9a04fd808089b28 |
|
MD5 | 9ec10de4626a85416adb2c47c9c55529 |
|
BLAKE2b-256 | 7210053f114b5e2eb5d47b8c6b677f2927c3b28dcfab6acecdfc956ec2bc2779 |