A minimalist package for simulating photonics designs.
Project description
gds_fdtd
gds_fdtd is a minimal Python module to assist in setting up FDTD simulations for planar nanophotonic devices using FDTD solvers such as Tidy3D.
Features
- Automated FDTD Setup: Easily set up Tidy3D simulations for devices designed in GDS.
- Integration with gdsfactory: Generate Tidy3D simulations directly from gdsfactory designs by identifying ports and simulation regions from an input technology stack.
- S-Parameter Extraction: Automatically generate and export S-parameters of your photonic devices in standard formats.
- Multimode/Dual Polarization Simulations: Set up simulations that support multimode or dual polarization configurations for advanced device analysis.
Installation
You can install gds_fdtd using the following options:
Option 1: Basic Installation
To install the core functionality of gds_fdtd, clone the repository and install using pip:
git clone git@github.com:mustafacc/gds_fdtd.git
cd gds_fdtd
pip install .
Option 2: Development Installation
For contributing to the development or if you need testing utilities, install with the dev dependencies:
git clone git@github.com:mustafacc/gds_fdtd.git
cd gds_fdtd
pip install -e .[dev]
This will install additional tools like pytest and coverage for testing.
Optional Dependencies
If your workflow includes specific dependencies such as gdsfactory or prefab, you can install those optional extras:
with gdsfactory:
pip install -e .[gdsfactory]
Refer to gdsfactory example for usage.
with prefab:
pip install -e .[prefab]
Refer to prefab example for usage.
If you want everything installed for both development and optional features, run the following command:
pip install -e .[dev,gdsfactory,prefab]
Running tests
If you've installed the dev dependencies, you can run the test suite with:
pytest --cov=gds_fdtd tests
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gds_fdtd-0.3.2.tar.gz.
File metadata
- Download URL: gds_fdtd-0.3.2.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55d1960be0f2262c9d09ebe6cac2163fada36d19e1c669255c0db0def3e9349d
|
|
| MD5 |
5074a318e13ad940da2d7c88f84889d2
|
|
| BLAKE2b-256 |
d3f970e38f8112904207bc1340c8c7bf4f191ab1e07884c2a6281e1273866b86
|
File details
Details for the file gds_fdtd-0.3.2-py2.py3-none-any.whl.
File metadata
- Download URL: gds_fdtd-0.3.2-py2.py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1477d9356aa5232831ea4a78e9d158d836d064473cea99b38783d1792ec1ae1
|
|
| MD5 |
6c5fd88f15e2af83bc7f954390097edc
|
|
| BLAKE2b-256 |
e77f2ea815164b171b91c3f1cc334ca1ac934289fd079830b3a067f8a1ee742c
|