Skip to main content

Computational Photonics in Python

Project description

Release

Release

Deployment

PyPI

Conda (channel only)

Build Status

pipeline status

Metrics

coverage report

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 includes predefined models and setup commonly used in Photonics.

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gyptis-1.1.1-py3-none-any.whl (100.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gyptis-1.1.1.tar.gz
  • Upload date:
  • Size: 83.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for gyptis-1.1.1.tar.gz
Algorithm Hash digest
SHA256 ae92c86056c4468cdac47d40c1557705fa29cf8155b3de34cd8d419a55500b78
MD5 afbdba2d3e2be5c789aa3bf10899e354
BLAKE2b-256 6bb9a7c97d915981c48ee8d9c647d394605e3fc3c59a943cf3a9629fcd49d224

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gyptis-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 100.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for gyptis-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56f17b8584a6d70eb27fe105fa2d1b56f572f8fa833361a237d7fefc02684cfd
MD5 5ec86889724af0a00b8d3ae5fb0d6dab
BLAKE2b-256 bbf529e1ed5f5f87a70a00caa1078f08cdf66ff1ee405c364cff41d8c5b57907

See more details on using hashes here.

Supported by

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