Skip to main content

Artifical Neural Networks for use with Silicon Photonics

Project description

Pypi Version Documentation Status License Latest Commit build

Silicon Photonics with Artificial Neural Networks. SiPANN aims to implement various silicon photonics simulators based on machine learning techniques found in literature. The majority of these techniques are linear regression or neural networks. As a results SiPANN can return scattering parameters of (but not limited to)

  • Half Rings

  • Arbitrarily shaped directional couplers

  • Racetrack Resonators

  • Waveguides

And with the help of simphony and SiPANN’s accompanying simphony wrapper

  • Ring Resonators

  • Doubly Coupled Rings

  • Hybrid Devices (ie Green Machine)

Installation

SiPANN is distributed on PyPI and can be installed with pip:

pip install SiPANN

Developmental Build

If you want a developmental build, it can be had by executing

git clone https://github.com/contagon/SiPANN.git
pip install -e SiPANN/

This development version allows you to make changes to this code directly (or pull changes from GitHub) without having to reinstall SiPANN each time.

You should then be able to run the examples and tutorials in the examples folder, and call SiPANN from any other python file.

References

SiPANN is based on a variety of methods found in various papers, including:

[1] A. Hammond, E. Potokar, and R. Camacho, “Accelerating silicon photonic parameter extraction using artificial neural networks,” OSA Continuum 2, 1964-1973 (2019).

Bibtex citation

@misc{SiP-ANN_2019,
        title={SiP-ANN},
        author={Easton Potokar, Alec M. Hammond, Ryan M. Camacho},
        year={2019},
        publisher={GitHub},
        howpublished={{https://github.com/contagon/SiP-ANN}}
}

Releasing

Make sure you have committed a changelog file titled “[major].[minor].[patch]-changelog.md” before bumping version.

To bump version prior to a release, run one of the following commands:

bumpversion major
bumpversion minor
bumpversion patch

This will automatically create a git tag in the repository with the corrresponding version number and commit the modified files (where version numbers were updated). Pushing the tags (a manual process) to the remote will automatically create a new release. Releases are automatically published to PyPI and GitHub when git tags matching the “v*” pattern are created (e.g. “v0.2.1”), as bumpversion does.

To view the tags on the local machine, run git tag. To push the tags to the remote server, you can run git push origin <tagname>.

For code quality, please run isort and black before committing (note that the latest release of isort may not work through VSCode’s integrated terminal, and it’s safest to run it separately through another terminal).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SiPANN-1.3.2.tar.gz (761.3 kB view details)

Uploaded Source

Built Distribution

SiPANN-1.3.2-py3-none-any.whl (759.4 kB view details)

Uploaded Python 3

File details

Details for the file SiPANN-1.3.2.tar.gz.

File metadata

  • Download URL: SiPANN-1.3.2.tar.gz
  • Upload date:
  • Size: 761.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for SiPANN-1.3.2.tar.gz
Algorithm Hash digest
SHA256 9a13a693cca4b2c324f8ab30bdc377f984af24e45769e752c46ed40f05e523fb
MD5 b63ed377e905d1edd7340462ccab2a4e
BLAKE2b-256 73aa3bbd980991fe8104e8683b3fc667a0602f0fe7147d3cfc8069b36c130a29

See more details on using hashes here.

File details

Details for the file SiPANN-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: SiPANN-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 759.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for SiPANN-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c25b3fa34bc96dea77d69ffa934e4f3e3f8bb5b39e2960e888d4169869e78f6f
MD5 44fbf50431b09a65e99f21f6a36324ff
BLAKE2b-256 4ef816b475621b00ec8dce51e6a7c1941b29fa152153f19e9ef14f2439e3f8da

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page