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 2021 the project is still under development if you want to collaborate it would be a pleasure. I encourage you to contact me.
PyMieSim 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.3-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6edbf80b573593098cc62b441f3d26d12e5f5cb0eeddc0c39e53073d0411cbfd |
|
MD5 | 82b7c2be8c4a167ab5bd559844961e5a |
|
BLAKE2b-256 | 464b14cd6e2d32aaa648096b0b241f94cf65d2e1665b05b76a25e25b807328c6 |
Hashes for SuPyMode-1.0.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44197769a4b3ea2904cfce2f41d903d62f0c7cfdeb070211e536a238527f80dc |
|
MD5 | f10a1d0bf07991cef39281c7e30648c5 |
|
BLAKE2b-256 | be6eae4b26570d4e30db7ab867108d612da751fd445da132b9486b95f58745db |
Hashes for SuPyMode-1.0.3-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 986ae4508477a6257f870616355a17b455c7b577ce90974e355af7528170e75f |
|
MD5 | 468c4a982f374239f2f12296419c4949 |
|
BLAKE2b-256 | 03fa562c2862d731638deac9adde80f537038e65d36fbd07862d053418c1506f |
Hashes for SuPyMode-1.0.3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d008e67cd606228893eb8f69aac0bd9b44639537c97187c4187dcd32ec33cf23 |
|
MD5 | 385cf93b6619cfcaef47f90f6b166b01 |
|
BLAKE2b-256 | 8f4de7911c6ef54f391fa26c86d93cd5f9f9c9f04377f9fac9076f7972c68766 |
Hashes for SuPyMode-1.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69acf313511538e0295ad90400726c4bbaf63155f3547dd8dc6deb7e3dd1acb7 |
|
MD5 | 7520bcb68242c60a777c28c112fcbabb |
|
BLAKE2b-256 | 24faca9d4d3fd50c47cfda41c66974866cc8925bc057383f04c3515e9cee000a |
Hashes for SuPyMode-1.0.3-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6030577308c32fef06e0fb7bdc905a94a2f3370622d476246ddc6036730dae73 |
|
MD5 | 422b7640f8caaaac6d4552f99be32add |
|
BLAKE2b-256 | e70caecc8b71688709da68799f0ae94d3e6a18180e505f157f4b88c321d68327 |