Skip to main content

Minimalist utilities for photonic FDTD workflows.

Project description

gds_fdtd

alternative text

codecov build

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 parameter‑sweep utilities 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gds_fdtd-0.3.7.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

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

gds_fdtd-0.3.7-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file gds_fdtd-0.3.7.tar.gz.

File metadata

  • Download URL: gds_fdtd-0.3.7.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gds_fdtd-0.3.7.tar.gz
Algorithm Hash digest
SHA256 67faf31c24694e5c209cf65e9268abf4a7f48b5fa90688a4b81e0deb1e124277
MD5 621f9b95e0d594ba99c1e30fa7c57298
BLAKE2b-256 9b5d4e3cce95a9eaa8e1e9ef3a8756efcaa783d5e998febc36649f0208470471

See more details on using hashes here.

File details

Details for the file gds_fdtd-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: gds_fdtd-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gds_fdtd-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 422ad412746e089e85d4654e28824f3399d5fa5398d659e2e6f128e78da2855b
MD5 df4e31978c1a875551a9daaf52e617eb
BLAKE2b-256 6fcbdd27eac10e079ac19f668cca82fc205294b1f5cf29b8aef61f564afe5daa

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