Minimalist utilities for photonic FDTD workflows.
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 Lumerical and Tidy3D simulations for devices designed in GDS.
- Integration with SiEPIC: Generate FDTD simulations directly from components defined in SiEPIC EDA and it's associated PDKs (e.g., SiEPIC-EBeam-PDK).
- 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:
Quick install (PyPI)
pip install gds_fdtd
Option: Basic Installation from source
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 -e .
Option: 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.
Editable + dev tools
pip install -e .[dev]
Optional extras
| extra | purpose | install command |
|---|---|---|
| siepic | SiEPIC EDA support | pip install -e .[siepic] |
| tidy3d | Tidy3D simulation support | pip install -e .[tidy3d] |
| gdsfactory | GDSFactory EDA support | pip install -e .[gdsfactory] |
| prefab | PreFab lithography prediction support | pip install -e .[prefab] |
| everything | dev tools + all plugins | pip install -e .[dev,tidy3d,gdsfactory,prefab,siepic] |
Requirements
- Python ≥ 3.11
- Runtime deps: numpy, matplotlib, shapely, PyYAML, klayout
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.10.tar.gz.
File metadata
- Download URL: gds_fdtd-0.3.10.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5314e8e9d6cdccf9b7aac8068c147b40d8328d4ee123a81f9b300eb9efa5b324
|
|
| MD5 |
dacd54cee2ca2ec1904a9d6d53e396fb
|
|
| BLAKE2b-256 |
d4aa4d6ceed91931da9689152d0ab89c40428091a4fbf2c9fc44e6120b39609c
|
File details
Details for the file gds_fdtd-0.3.10-py3-none-any.whl.
File metadata
- Download URL: gds_fdtd-0.3.10-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9666f0945ebb94d41620eefb8316a934949b23fe498207870c7a47e616ff1bbf
|
|
| MD5 |
4162b025ffc2572711a062e61d1f8105
|
|
| BLAKE2b-256 |
c4d25239f14a7af170c3f21e3f7c98ddc446427157e97be08ca6ef76e12b6890
|