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.4-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 488df06ff678c61ddf5ed72792c7253598d2408af2a016af7a86f20b03510f0f |
|
MD5 | d4277a8412c504a492b8794ef2f9371f |
|
BLAKE2b-256 | ce61b5b1810f7c3e7a367419ccf1928ce56b2eaa5da075fea6d3875d37faf90e |
Hashes for SuPyMode-1.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfff7a383dd8fdabab327db759beadc2b0a469d8e0fb1ced19fd449531227800 |
|
MD5 | 9c960b6cd81a0fed64710eeb71bbde18 |
|
BLAKE2b-256 | da4a67f88ad8f41f60aef184bde8f258eca5b0494b4d1a4ddad311fbe32fac45 |
Hashes for SuPyMode-1.0.4-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 694651e1da2df3ad05e9a6a0bcabbc4b4f460017068209cfd50812211ff1c39c |
|
MD5 | fbdc9838f3ec319c26c5e57b397f075d |
|
BLAKE2b-256 | e8dc6eb5e92854ed4833052fe1f64e247f8e8d206e9caa5ac4f2a8064a9b9675 |
Hashes for SuPyMode-1.0.4-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0abba22be2d7cf1628e0f64f17dcb7b317c2deeacd8b504ffad656cdba0729df |
|
MD5 | de23e14d40c8dcdaf2374e7593d5bf4e |
|
BLAKE2b-256 | 7b807f144d9473ded5a3a050abb1e71fb82ba0ae09b02c7859cff59a6134658c |
Hashes for SuPyMode-1.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98364051d982de8687eda161097b0f195e4a7b41cf4639d270e8334c2b3013a8 |
|
MD5 | 3a7c2a8a9c7f680a77d7c9739ee9c4ff |
|
BLAKE2b-256 | 5752a37eb5d7c7210a9540b089e65dc23c4e65d320fb77532d1b2867cdc8afbf |
Hashes for SuPyMode-1.0.4-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ed815a5e5c9eb15093579d8825e1cfaa52c7d4101c6462eefcf9b5982e37aa7 |
|
MD5 | dde875dd6eac2590886cb77c43468df0 |
|
BLAKE2b-256 | 44e20bfce35a059a5922083c5f098f3234db72bdbb6065fd39dc713a19ef2b43 |