Skip to main content

A minimalist package for simulating photonics designs.

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 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


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.0.tar.gz (19.1 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.0-py2.py3-none-any.whl (21.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for gds_fdtd-0.3.0.tar.gz
Algorithm Hash digest
SHA256 acccd318902c4d77cc972fe0824ca64e10ae177c67204b9aa8ffa3032f7de80c
MD5 08ea7dd4e7120011825b1856934d0f19
BLAKE2b-256 dd4daeddf862679ed6b7fdaba3e7d9f9721170fb5a6451926de42a41a7173116

See more details on using hashes here.

File details

Details for the file gds_fdtd-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: gds_fdtd-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for gds_fdtd-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e965bb571f9f1846ac9d0632a4229746afe2089ca6ac0cd346c441a2a67ff319
MD5 086e20cf5a926b916adc9a7f9dfc6f23
BLAKE2b-256 19ecf0bca01fab7e4bde4d46a5302d44865f83ee7727034e01b73ee0c51c33b1

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