Computational Photonics in Python
Project description
GYPTIS
Computational Photonics in Python
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gyptis-0.3.1.tar.gz
.
File metadata
- Download URL: gyptis-0.3.1.tar.gz
- Upload date:
- Size: 48.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 158dfcce0c7c64447d9ad158ee3b6e5c4b6de7a59365965d53dff8f200f0d7fd |
|
MD5 | d5a6d7519a8f1d628cfe3b91f67725b3 |
|
BLAKE2b-256 | c93f2aa2577a9ee95370859b6e150ba08fdf2af212e3717abd8b484e73613203 |
File details
Details for the file gyptis-0.3.1-py2.py3-none-any.whl
.
File metadata
- Download URL: gyptis-0.3.1-py2.py3-none-any.whl
- Upload date:
- Size: 55.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 489c9fd44dcbd47a9da074a683145bdac635bf0328305418221590ec0f8af89b |
|
MD5 | 347bec23ea8a5a6f028b51593d629954 |
|
BLAKE2b-256 | e7ed31c54550da8ac494e89a2c20afa973008f1799e30b4435345e8a8c0b556e |