Release |
||
Deployment |
||
Build Status |
||
Metrics |
||
Activity |
||
Citation |
||
License |
||
Formatter |
||
GYPTIS
Computational Photonics in Python
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.
Release files for gyptis 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gyptis-1.2.0.tar.gz | 88.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gyptis-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 198.6 kB
Release files / gyptis-1.2.0.tar.gz
| Download URL | gyptis-1.2.0.tar.gz |
|---|---|
| Size | 88.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8cedcc15f0e62e768ff490597e70c3226a065fb9ca716418a7122b84d6b50788
|
|
BLAKE2b-256 checksum How to use checksums |
61f373a4f38c627cdc684cb55b6852c4c27db45f0873cd319358d5a70d5232fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Release files / gyptis-1.2.0-py3-none-any.whl
| Download URL | gyptis-1.2.0-py3-none-any.whl |
|---|---|
| Size | 110.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0615e2eb6629744b8d243c5651a54411922a1964a290728c863cc89387be8439
|
|
BLAKE2b-256 checksum How to use checksums |
f8983024b51546b10ff31a78c6afb2a4ce743abb4ffe03937edf4e8538283014
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|