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.8-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 763769127050e505588c43a4f45168d7540bd637f29e787c932794e812f983ab |
|
MD5 | c8892ee57efaf9e6be862ab29e5389bc |
|
BLAKE2b-256 | 1a4bc5a056e5969fdc874f823b49a90f8ba248645a1f274a52955f01eb7fcbac |
Hashes for SuPyMode-1.0.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e45dc64ae147263b0a3ce4677aeccb0c1bb8e4e250718ad2becf6b4565e0605 |
|
MD5 | 47ff123dad19aa3736c18ea457a9bb7f |
|
BLAKE2b-256 | 02e7db3fdafed13eeb09ea7921625714f7c2f6167d041634b5ddf304a4543b89 |
Hashes for SuPyMode-1.0.8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ffe2adc3b6aad91440e3c909c97680b133336bb2218a1cdc251c03b43ecc98b |
|
MD5 | 83381ec2d1c338b2d9c22049a6f1f921 |
|
BLAKE2b-256 | fe7715925703044002995e1bab0864f7e7f0888562bfba8aa165b173dd38712f |
Hashes for SuPyMode-1.0.8-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73c71bad303505b6bcf8882fab0dfc7751cfeeb6a48c40a45588c8a6c6557335 |
|
MD5 | c27785cc7e390d63f52c987a1ed89b1d |
|
BLAKE2b-256 | 86ba0b33b8c71aa0b9cd7b371668f92e1483e3f11ad1eb86dea348a129cb67ec |
Hashes for SuPyMode-1.0.8-cp311-cp311-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edc2994407f298f9d5c548805375bbffe0767f00aede03371e8632f4362df49e |
|
MD5 | 18505514759f6ba4c0a2c47f54c5a063 |
|
BLAKE2b-256 | 240a990189176fc9037d4f1f351c5da3d68d984542c80464ff9488c423692f56 |
Hashes for SuPyMode-1.0.8-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c1c7226005b4f9b060fecf7ac987f6daa103dda9bf292a141c9aec2839d645c |
|
MD5 | 010af0993f8c5ca239b0e63b758f29cf |
|
BLAKE2b-256 | 0a06180d80e24a5b71f6d4c07454ced66141fef0b763574f90262aaa36330dc8 |
Hashes for SuPyMode-1.0.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44d1da6c5ed6f56128b1cbb7fa0f94435bc597741019768071637b4f688cd74e |
|
MD5 | 607975d23e013615d3009e5d61e85d70 |
|
BLAKE2b-256 | 434b95b6b5616c442ad9451def76458c0e9eca31cd1ad41b4bb474b85e00c18b |
Hashes for SuPyMode-1.0.8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 119e81910ac7e1f62d8ac52b88a615ca2c6fbbc50e56641bf9649855f527bd4e |
|
MD5 | de6cc5348e4e8d30b47a5001c3dc142a |
|
BLAKE2b-256 | ff02b68323546cb2aa2155d710c8333c1d0909061d1601860a979e7ce79c70e1 |
Hashes for SuPyMode-1.0.8-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fa8eccc09bc3a1491e56be87dfeec4a6b59e39da5589e2885a679a850cea25c |
|
MD5 | 05ae3a70280c7746c853bc9e8d61207b |
|
BLAKE2b-256 | e88e0684c3f258306880593621f77ed2645369f41b22c88c2e0bac8d9cdfdd62 |
Hashes for SuPyMode-1.0.8-cp310-cp310-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfa6fe865ea13b6ba1fc7be6e7b23aa4c5123834d7c65a31a08df965db759364 |
|
MD5 | f68849cf8d83f8c966ca88b87f54e47a |
|
BLAKE2b-256 | cd6638c2c20a3f6ca4a0bf13ac84a771fa9ccd226167a00d4cac577d12a6129f |