Skip to main content

Computational Photonics in Python

Project description

Release

Release

Deployment

PyPI

Conda (channel only)

Build Status

pipeline status

Metrics

coverage report

Code Climate maintainability

Activity

PyPI - Downloads

Conda

Citation

zenodo

License

license

Formatter

Code style: black

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

See the github repository where development happens for conda-forge.

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

From source

git clone https://gitlab.com/gyptis/gyptis.git
cd gyptis && pip install -e .

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.3.tar.gz (75.5 kB view details)

Uploaded Source

Built Distribution

gyptis-0.4.3-py3-none-any.whl (87.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gyptis-0.4.3.tar.gz
  • Upload date:
  • Size: 75.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for gyptis-0.4.3.tar.gz
Algorithm Hash digest
SHA256 378967e33a6cfc8e6dcae794800f2030760244befc941d6885f40a5bb2618d87
MD5 958d495069dde66fd93e1ea95a21ad9e
BLAKE2b-256 7b03a48ace0b6bb1685c6a99b460a67cb2cac52c9f53b7eedd789a2c64353844

See more details on using hashes here.

File details

Details for the file gyptis-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: gyptis-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 87.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for gyptis-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9d8fcf26c6dd77ca92a2d600c6882455c5d679503f8a3351e204e742ec9fd8d7
MD5 7d48970e4c97e33208754b852960119a
BLAKE2b-256 330079f201b6c0777126114d5fe2757961f72630fc949a7ff6810e9e7b4f220c

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