Skip to main content

Computational Photonics in Python

Project description

Release pipeline status Conda (channel only) Conda Conda PyPI PyPI - Downloads PyPI - Status Code style: black coverage report Code Climate maintainability https://img.shields.io/badge/DOI-10.5281/zenodo.4938573-5fadad?logo=google-scholar&logoColor=ffffff&style=for-the-badge license

GYPTIS

Computational Photonics in Python

https://gyptis.gitlab.io

landing

Gyptis is a package to solve Maxwell’s equations with the finite element method. It is in early stage and currently being actively developed, so features might come and go.

Installation

Conda

The easiest way is using conda. First, add conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, gyptis can be installed with:

conda install gyptis

Alternatively, we provide an environment.yml file with all the dependencies for the master branch. First create the environment:

conda env create -f environment.yml

and then activate it with

conda activate gyptis

Pipy

The package is available on pipy. To install, use:

pip install gyptis

Docker

Prebuilt container images are available at DockerHub

A quick way of testing is to get the installation script

curl -s https://gyptis.gitlab.io/get | bash

You will then be able to run the container with

gyptis run

Alternatively, you can pull the docker image

docker pull gyptis/gyptis:latest

To run the image, use

docker run -it gyptis/gyptis:latest

Documentation and examples

See the documentation website. A good starting point is to look at examples of application for typical problems encountered in photonics.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT, see LICENSE.txt.

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

gyptis-0.4.0.tar.gz (66.2 kB view details)

Uploaded Source

Built Distribution

gyptis-0.4.0-py2.py3-none-any.whl (59.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file gyptis-0.4.0.tar.gz.

File metadata

  • Download URL: gyptis-0.4.0.tar.gz
  • Upload date:
  • Size: 66.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for gyptis-0.4.0.tar.gz
Algorithm Hash digest
SHA256 6142e396e2b12ee1f695477e0d5bf280084370e8b85e6dc3fe57710118ed609f
MD5 eeb080bbba38d2373edd051f03cd0278
BLAKE2b-256 2daa3b712cddaf7f42c01c1ab89e95d0d540bbadaa66a5d0aafd7b5c43457447

See more details on using hashes here.

File details

Details for the file gyptis-0.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: gyptis-0.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 59.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for gyptis-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d6ce60a764c3f5088675dbe42d46bb865945bf128dc804b0927e7574658e9ff5
MD5 3de21ec85e0dde3d482ba6452fe199c2
BLAKE2b-256 49b356bafd1041e1815a8fd65b8c7ad1ba041a65341470fffc1c405519703eb6

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