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.0-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22aa94bd4a14c27e1cc71ab72f357ec0203aff3bd2117c47681cbb3b2436547a |
|
MD5 | a0db54ba3a87def47146c37bf6991887 |
|
BLAKE2b-256 | a1374f6a7e777ba1d3f5a635e9a62dcf93766cd159a99968cc61daba83a76725 |
Hashes for SuPyMode-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49e8bb68000aa33b7df9d1fcfe5566e470fbafdae4119485f89b8dc842804e63 |
|
MD5 | c476a957498210637a88f50f12b77b98 |
|
BLAKE2b-256 | 303a5aa3e652b161b1b9ac3e9aa688a407408bc5a1f82bbae63f1be574d2f2a1 |
Hashes for SuPyMode-1.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d0eed5b32f7fd357b7815078e4b07964f8d2fd38bb5835fceeccf92a6844030 |
|
MD5 | 0d1653d12e27aa28ee3afb9881cb8572 |
|
BLAKE2b-256 | 1725745d2db48476d08011768b9ea02917b49c4f13b139e5bc70619705a9f934 |
Hashes for SuPyMode-1.1.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cc6075fab5b7e3dc56fd0e6ebfaf03ea61c54c1ed04e7806b590c674f8b310c |
|
MD5 | 0056462ec0485e5c912b4d8d5c021038 |
|
BLAKE2b-256 | 7ff1c3f4231115a0ec67318c61b129f14006d9ede04f007cda40e4deaededbc7 |
Hashes for SuPyMode-1.1.0-cp312-cp312-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09e7aef364b3bacc56ced26748e7daa6257e40ff3561f34158ddf9393d73aa27 |
|
MD5 | 1944ff7914d23b14689d0e4f906ac425 |
|
BLAKE2b-256 | 9e4daae2cdece195efc78805d3e60588e04c25052e89ad632235bd36240be6c2 |
Hashes for SuPyMode-1.1.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87d00ad6d1040ca89aa459820ff643e6779d43a9bd9b53f29e7351f4a2183dc7 |
|
MD5 | fadee4d2de1bfaa2cb1768a9f241646c |
|
BLAKE2b-256 | 10afc565336046d29e1c97e555995c633dec8b4db1ddf5201483c3378d652609 |
Hashes for SuPyMode-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b55227c5be8e17b91a0dc0c4716ba40ad4a76fbba3320b1070e0c1c7a29e4227 |
|
MD5 | 829e725304113833c668e0185ae4658f |
|
BLAKE2b-256 | 204d207f4f43472d3de3099158085f17c8f7b239379b0a5cc6787cdb8cb1b6e8 |
Hashes for SuPyMode-1.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1f1f682838e7456714fb2926dcf25e895f253b6fd46057485b7c1ddc469f0fd |
|
MD5 | aa81ad6b54953b9da4b810e19aa39167 |
|
BLAKE2b-256 | ed7c544db8288d163f7a02b3420c94fdfa8a7fbfe2eedb84708d33fc41a35d0c |
Hashes for SuPyMode-1.1.0-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f44e483a2035d8f743ddd354daba6570f609e92a95047aa9788d987e8192a48c |
|
MD5 | 287acf70f667349f0b784716a4f9694f |
|
BLAKE2b-256 | c0594fdd2064e9aca10fb996c1863972fe3869b5a458af0396641ad9f76d2027 |
Hashes for SuPyMode-1.1.0-cp311-cp311-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 775919a26aeb2e1c771a3051b8429f961196ac81a691816c43dde08752df1e42 |
|
MD5 | d838183e187f90d9f7fce78e100c155e |
|
BLAKE2b-256 | d28088947aba9d5ee7eae6be2d88c30338195adae1b28e2f09d74403ebfa0f38 |
Hashes for SuPyMode-1.1.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5b1dd42d3af4829bf0768eff3f8d12407689e664d1983cf716a722fcdd77835 |
|
MD5 | 92d3ff027d16cb021c6697085de8b0ba |
|
BLAKE2b-256 | d3542d3a70dc353db66aac02641afcbc628cbb0dda63be3388ec2d8a8da16dca |
Hashes for SuPyMode-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b20163e86d804a45a60a7f92ff8663f41d635283ca522260758e3c5148a1cfc |
|
MD5 | 9b529f1b2f40a451d232e53442d4cd80 |
|
BLAKE2b-256 | bd939a2a25146a87294c8554041c6a2d0373db06a18c162a880f937057c65466 |
Hashes for SuPyMode-1.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 795b62b7a437441b8f7dae9ea508afbfb9bcd383def7d0769ce7cee2945fd00f |
|
MD5 | 3ca034d2a3fbce45c20e863e21d8b0be |
|
BLAKE2b-256 | 2b81f2c6e8fdd9f549d3dfe8652b32a1578657ac6dc923990c2bb8578928b8d6 |
Hashes for SuPyMode-1.1.0-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d31c72c67de490086fc7d2844016a3fead572e94bb21e8c6095f53eebc7cd702 |
|
MD5 | 9b6c30da280f80fdccdb4ea3cef3bde1 |
|
BLAKE2b-256 | d22d862aa1593b0c7f5db5ec68c64d12e23aebad1dafbb52fc6a7df9ee634fb7 |
Hashes for SuPyMode-1.1.0-cp310-cp310-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64ecd709c9e75beae82be930b5bf50c0416e082b503bc7b327294aedea9c4b6e |
|
MD5 | b9c9ea030d6bf00b42cb9a6221f5a3d0 |
|
BLAKE2b-256 | 8a96cfb0a5de72ea0b7b7cdaeb134a433cc138da0a232424dd1846d2069a078b |