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.4.tar.gz (19.4 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.4-py2.py3-none-any.whl (21.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: gds_fdtd-0.3.4.tar.gz
  • Upload date:
  • Size: 19.4 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.4.tar.gz
Algorithm Hash digest
SHA256 e4da657d0865678391e34d3de6bdb1d5d3318d9f164e6dfb877e5e04003b17fd
MD5 a01cce882e812601a1ebd723ea59a34b
BLAKE2b-256 1982abf1629f09ed4ea92798f56a5f97f68e2798b4915b1c853dffa2c175917b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gds_fdtd-0.3.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 2, 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.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 da679f4f034df6b2dad6210bfeffac2bee9e9adc4a4ac5f14fea9d683f9fdcf1
MD5 418209c50e300811258cb7bbe15aacf4
BLAKE2b-256 d8941a5628633b7f7f893e9ed077e1949fdf582194622c2b70209f6f783a25a7

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