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.1-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abb831b5a8d8a06a8234f4708a852462c2929d6910079593773de02865956cf2 |
|
MD5 | 0a0f6c71bdf35b5474ac873c3df4b488 |
|
BLAKE2b-256 | 6d66ef45ccc9be37c3995f2fbb4f35c682cad31359c9b0f402239848e20bb926 |
Hashes for SuPyMode-1.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf3c970dd97f2168a034437444d99bbf5e9eee2c9cf964f632caaef10ec3eb1d |
|
MD5 | f79b3222d2f669a402a3e8c9777a6282 |
|
BLAKE2b-256 | a965f59b8de38dcfb4852f0fda042a128008aa56ef54d0f1adca1e5edb712673 |
Hashes for SuPyMode-1.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c522aebc07259827c31799e79befddff93af9ac343fb0d9bc6db861d9451e32 |
|
MD5 | 3a2fea9744a00a9c12fbf9e3038a2d25 |
|
BLAKE2b-256 | 8240502d6c570e38fb3d9f14794a19079950dd1f5a89f06d928cda31f38c90ac |
Hashes for SuPyMode-1.1.1-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7d9f9cfb1dde1faf81cff3efcd3b1ebfd801eb7cb659bd7a07371d63c81f860 |
|
MD5 | 43b9972783b9d00cc238eded48f67c19 |
|
BLAKE2b-256 | ce9cf1958d6f5143a03047168f16d83d6dbf059d870cb680c0c9ff34f77154cc |
Hashes for SuPyMode-1.1.1-cp312-cp312-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d24480f2640f837f698d9352e84339f0ea98fb0ba6e89ab7334283c32abff535 |
|
MD5 | 0a796703fecdba622175aa3020e323e2 |
|
BLAKE2b-256 | d9a9df96ccff7eb65fb4f98cbe3699d780333959db1f529c269d0cf65c1ea79b |
Hashes for SuPyMode-1.1.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d7888e23ca68bdd40dced8f85c936cfdfbe7ac3abf0748c437dfcd369ff36ae |
|
MD5 | 55f961585478f633cf61120873f9e5a7 |
|
BLAKE2b-256 | ad44a5db2ea7a83b433f4240453bdc2629207062ad115f4be64c7e5d05c55cb4 |
Hashes for SuPyMode-1.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d86f02fee8d7bd4b3be8b65c3be0e6495e389c4b3b6bae76deed00ed07714fd |
|
MD5 | f548015cea678562c2f35799f43c5631 |
|
BLAKE2b-256 | ce9e6466bc872af69cab8a6d2476f8d451682c6734efe16515c3c3bcf6056357 |
Hashes for SuPyMode-1.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1d251286152dbad55b8486d5a040c7777760cf8b9ee64bed5ae1334e8ad5d15 |
|
MD5 | b9f8a38c978c3768b276cf1b34e92511 |
|
BLAKE2b-256 | 2ca351138756b2cbb68977ae14dce3bde41601b1034c740840a4b349b4f80c48 |
Hashes for SuPyMode-1.1.1-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e90c083e0cb907eee291fd5721ef986e1396d67b16cbea7c7153e62fa5f9eb10 |
|
MD5 | 29911731e9271114e1b7c0589a3d73c7 |
|
BLAKE2b-256 | 754a04d1a6b948c59444c219905bb0f0bab5e53f25f457e3fa6c8afcd4a6e4a4 |
Hashes for SuPyMode-1.1.1-cp311-cp311-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd782c95d6b42058e7a22b9ed932be86003209cc997187b33c392104345aa048 |
|
MD5 | 63241488b90631b6218906576d6683f1 |
|
BLAKE2b-256 | b68a0f40ecfa00e5c1d31f1b3da97863eb3fd59dd98df6b2743871a69af13c5b |