SiPANN


NameSiPANN JSON
Version 2.0.1 PyPI version JSON
download
home_pagehttps://github.com/contagon/SiPANN
SummaryArtifical Neural Networks for use with Silicon Photonics
upload_time2025-11-01 01:48:32
maintainerNone
docs_urlNone
authorEaston Potokar, Alec Hammond, R Scott Collings
requires_pythonNone
licenseNone
keywords artificial neural networks silicon photonics coupling
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            **************************
SiPANN 2.0.1
**************************
.. image:: https://img.shields.io/pypi/v/SiPANN.svg
   :target: https://pypi.python.org/pypi/SiPANN
   :alt: Pypi Version
.. image:: https://readthedocs.org/projects/sipann/badge/?version=latest
  :target: https://sipann.readthedocs.io/en/latest/?badge=latest
  :alt: Documentation Status
.. image:: https://img.shields.io/pypi/l/sphinx_rtd_theme.svg
   :target: https://pypi.python.org/pypi/sphinx_rtd_theme/
   :alt: License
.. image:: https://img.shields.io/github/last-commit/contagon/SiPANN.svg
  :target: https://github.com/contagon/SiPANN/commits/master
  :alt: Latest Commit
.. image:: https://github.com/contagon/SiPANN/workflows/build%20(pip)/badge.svg
  :target: https://github.com/contagon/SiPANN/actions?query=workflow%3A%22build+%28pip%29%22
  :alt: build

**Si**\ licon **P**\ hotonics with **A**\ rtificial **N**\ eural **N**\ etworks. 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)

.. _simphony: https://github.com/BYUCamachoLab/simphony

Installation
=============

SiPANN is distributed on PyPI_ and can be installed with ``pip``:

.. code:: console

   pip install SiPANN

Developmental Build
#####################


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

.. code:: console

   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.

.. note::
    If installing on Windows, one of SiPANN's dependencies, ``gdspy``, requires a C compiler for installation. This can be bypassed by first installing the ``gdspy`` wheel. This is done by downloading the wheel from gdspy_, navigating to the location of the wheel, and executing

    .. code:: console

        pip install gds*.whl

    After this simply install SiPANN using your desired method.

.. _gdspy: https://github.com/heitzmann/gdspy/releases
.. _PyPI: https://pypi.org/project/SiPANN/


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
===============

.. code::

    @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:

.. code:: bash

   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 :code:`git tag`. To push the tags to
the remote server, you can run :code:`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).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/contagon/SiPANN",
    "name": "SiPANN",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "artificial neural networks silicon photonics coupling",
    "author": "Easton Potokar, Alec Hammond, R Scott Collings",
    "author_email": "eastonpots@byu.edu",
    "download_url": "https://files.pythonhosted.org/packages/c0/82/ca129c7554e932934b094459767aada7f8aaa010f752b0abd675029acb6d/sipann-2.0.1.tar.gz",
    "platform": null,
    "description": "**************************\nSiPANN 2.0.1\n**************************\n.. image:: https://img.shields.io/pypi/v/SiPANN.svg\n   :target: https://pypi.python.org/pypi/SiPANN\n   :alt: Pypi Version\n.. image:: https://readthedocs.org/projects/sipann/badge/?version=latest\n  :target: https://sipann.readthedocs.io/en/latest/?badge=latest\n  :alt: Documentation Status\n.. image:: https://img.shields.io/pypi/l/sphinx_rtd_theme.svg\n   :target: https://pypi.python.org/pypi/sphinx_rtd_theme/\n   :alt: License\n.. image:: https://img.shields.io/github/last-commit/contagon/SiPANN.svg\n  :target: https://github.com/contagon/SiPANN/commits/master\n  :alt: Latest Commit\n.. image:: https://github.com/contagon/SiPANN/workflows/build%20(pip)/badge.svg\n  :target: https://github.com/contagon/SiPANN/actions?query=workflow%3A%22build+%28pip%29%22\n  :alt: build\n\n**Si**\\ licon **P**\\ hotonics with **A**\\ rtificial **N**\\ eural **N**\\ etworks. 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)\n\n* Half Rings\n* Arbitrarily shaped directional couplers\n* Racetrack Resonators\n* Waveguides\n\nAnd with the help of `simphony`_ and SiPANN's accompanying simphony wrapper\n\n* Ring Resonators\n* Doubly Coupled Rings\n* Hybrid Devices (ie Green Machine)\n\n.. _simphony: https://github.com/BYUCamachoLab/simphony\n\nInstallation\n=============\n\nSiPANN is distributed on PyPI_ and can be installed with ``pip``:\n\n.. code:: console\n\n   pip install SiPANN\n\nDevelopmental Build\n#####################\n\n\nIf you want a developmental build, it can be had by executing\n\n.. code:: console\n\n   git clone https://github.com/contagon/SiPANN.git\n   pip install -e SiPANN/\n\n\nThis development version allows you to make changes to this code directly (or pull changes from GitHub) without having to reinstall SiPANN each time.\n\nYou should then be able to run the examples and tutorials in the examples folder, and call SiPANN from any other python file.\n\n.. note::\n    If installing on Windows, one of SiPANN's dependencies, ``gdspy``, requires a C compiler for installation. This can be bypassed by first installing the ``gdspy`` wheel. This is done by downloading the wheel from gdspy_, navigating to the location of the wheel, and executing\n\n    .. code:: console\n\n        pip install gds*.whl\n\n    After this simply install SiPANN using your desired method.\n\n.. _gdspy: https://github.com/heitzmann/gdspy/releases\n.. _PyPI: https://pypi.org/project/SiPANN/\n\n\nReferences\n==========\n\nSiPANN is based on a variety of methods found in various papers, including:\n\n[1] A. Hammond, E. Potokar, and R. Camacho, \"Accelerating silicon photonic parameter extraction using artificial neural networks,\" OSA Continuum  2, 1964-1973 (2019).\n\n\nBibtex citation\n===============\n\n.. code::\n\n    @misc{SiP-ANN_2019,\n    \t    title={SiP-ANN},\n\t    author={Easton Potokar, Alec M. Hammond, Ryan M. Camacho},\n\t    year={2019},\n\t    publisher={GitHub},\n\t    howpublished={{https://github.com/contagon/SiP-ANN}}\n    }\n\n\nReleasing\n=========\n\nMake sure you have committed a changelog file titled\n\"[major].[minor].[patch]-changelog.md\" before bumping version.\n\nTo bump version prior to a release, run one of the following commands:\n\n.. code:: bash\n\n   bumpversion major\n   bumpversion minor\n   bumpversion patch\n\nThis will automatically create a git tag in the repository with the\ncorrresponding version number and commit the modified files (where version\nnumbers were updated). Pushing the tags (a manual process) to the remote will\nautomatically create a new release. Releases are automatically published to\nPyPI and GitHub when git tags matching the \"v*\" pattern are created\n(e.g. \"v0.2.1\"), as bumpversion does.\n\nTo view the tags on the local machine, run :code:`git tag`. To push the tags to\nthe remote server, you can run :code:`git push origin <tagname>`.\n\nFor code quality, please run isort and black before committing (note that the\nlatest release of isort may not work through VSCode's integrated terminal, and\nit's safest to run it separately through another terminal).\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Artifical Neural Networks for use with Silicon Photonics",
    "version": "2.0.1",
    "project_urls": {
        "Homepage": "https://github.com/contagon/SiPANN"
    },
    "split_keywords": [
        "artificial",
        "neural",
        "networks",
        "silicon",
        "photonics",
        "coupling"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "02064fbcf5f91abf065b2e7fcb651fc9d36bc6cd0c872eafc57bd80edd4d5ea4",
                "md5": "9ba1e7e182c400cdf6ea0edc08995c42",
                "sha256": "9c2ba2baa9c11a6c7cf554ca0bba7233c14167d29bf6768458e0640981c4d5f4"
            },
            "downloads": -1,
            "filename": "sipann-2.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9ba1e7e182c400cdf6ea0edc08995c42",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 759685,
            "upload_time": "2025-11-01T01:48:31",
            "upload_time_iso_8601": "2025-11-01T01:48:31.713093Z",
            "url": "https://files.pythonhosted.org/packages/02/06/4fbcf5f91abf065b2e7fcb651fc9d36bc6cd0c872eafc57bd80edd4d5ea4/sipann-2.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c082ca129c7554e932934b094459767aada7f8aaa010f752b0abd675029acb6d",
                "md5": "50a9f4770d04de1de154f7e8660fe5bc",
                "sha256": "bd957a590d2ff2a3ef6be345f532d19761ad6510910f2ce074b462805f72b913"
            },
            "downloads": -1,
            "filename": "sipann-2.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "50a9f4770d04de1de154f7e8660fe5bc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 761801,
            "upload_time": "2025-11-01T01:48:32",
            "upload_time_iso_8601": "2025-11-01T01:48:32.901538Z",
            "url": "https://files.pythonhosted.org/packages/c0/82/ca129c7554e932934b094459767aada7f8aaa010f752b0abd675029acb6d/sipann-2.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-11-01 01:48:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "contagon",
    "github_project": "SiPANN",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "sipann"
}
        
Elapsed time: 1.71330s