Skip to main content

A fast FDTD solver

Project description

Tidy3D

PyPI Name PyPI version shields.io Documentation Status Tests License Black Coverage

Notebooks

Tidy3D is a software package for solving extremely large electrodynamics problems using the finite-difference time-domain (FDTD) method. It can be controlled through either an open source python package or a web-based graphical user interface.

This repository contains the python API to allow you to:

  • Programmatically define FDTD simulations.
  • Submit and manage simulations running on Flexcompute's servers.
  • Download and postprocess the results from the simulations.

Installation

Signing up for tidy3d

Note that while this front end package is open source, to run simulations on Flexcompute servers requires an account with credits. You can sign up for an account here. After that, you can install the front end with the instructions below, or visit this page in our documentation for more details.

Quickstart Installation

To install the Tidy3D Python API locally, the following instructions should work for most users.

pip install --user tidy3d
tidy3d configure --apikey=XXX

Where XXX is your API key, which can be copied from your account page in the web interface.

In a hosted jupyter notebook environment (eg google colab), it may be more convenient to install and configure via the following lines at the top of the notebook.

!pip install tidy3d
import tidy3d.web as web
web.configure("XXX")

Advanced installation instructions for all platforms is available in the documentation installation guides.

Authentication Verification

To test the authentication, you may try importing the web interface via.

python -c "import tidy3d; tidy3d.web.test()"

It should pass without any errors if the API key is set up correctly.

To get started, our documentation has a lot of examples for inspiration.

Common Documentation References

API Resource URL
Installation Guide https://docs.flexcompute.com/projects/tidy3d/en/latest/install.html
Documentation https://docs.flexcompute.com/projects/tidy3d/en/latest/index.html
Example Library https://docs.flexcompute.com/projects/tidy3d/en/latest/notebooks/docs/index.html
FAQ https://docs.flexcompute.com/projects/tidy3d/en/latest/faq/docs/index.html

Related Source Repositories

Name Repository
Source Code https://github.com/flexcompute/tidy3d
Notebooks Source https://github.com/flexcompute/tidy3d-notebooks
FAQ Source Code https://github.com/flexcompute/tidy3d-faq

Issues / Feedback / Bug Reporting

Your feedback helps us immensely!

If you find bugs, file an Issue. For more general discussions, questions, comments, anything else, open a topic in the Discussions Tab.

License

GNU LGPL

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

tidy3d-2.7.7.tar.gz (921.8 kB view details)

Uploaded Source

Built Distribution

tidy3d-2.7.7-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

Details for the file tidy3d-2.7.7.tar.gz.

File metadata

  • Download URL: tidy3d-2.7.7.tar.gz
  • Upload date:
  • Size: 921.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for tidy3d-2.7.7.tar.gz
Algorithm Hash digest
SHA256 706c10e11a77dd3285df977de2c631f8523d91070d9743a77d1c1c2f3e3c9612
MD5 a941605d7e0bf8bb61a8b54e0910d63c
BLAKE2b-256 41473ac5fcde548a0af3c14fae9f910aebfd57aedef5bef0ee6aca50c32f6215

See more details on using hashes here.

File details

Details for the file tidy3d-2.7.7-py3-none-any.whl.

File metadata

  • Download URL: tidy3d-2.7.7-py3-none-any.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for tidy3d-2.7.7-py3-none-any.whl
Algorithm Hash digest
SHA256 806bb046acf446565d8ae718ed9218dac766ec980e175c65da3a675d557bec59
MD5 73bbcd7fe63323df4435caf68a4e98b1
BLAKE2b-256 8eb57927be16adeab2e2e7e15a4b637b373faddef7fe48772e6499d564d63f50

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page