Welcome to Tidy3d#
This page will get you set up with Tidy3D and running a simple example.
This is the documentation for the beta release of Tidy3D. If you were interested in our previous version, it is documented at this page.
You can find our front end python code in its entirety at this github repository. This is also a good place to ask questions or request features through the “Discussions” tab.
Before using Tidy3D, you must first sign up for a user account.
Signing up also grants you access to our browser-based interface for managing simulations.
Quick Start (Binder Notebook)#
Once there, to run the full example, select “Run -> Run All Cells”. Or you can click through the code blocks by pressing the “play” icon.
You will first be prompted to log in using the email and password you used for your user account.
Then the notebook will create a simulation and upload it to our server, where it will run for a few minutes before downloading the results and plotting the field patterns.
To play around with the simulation parameters, you can edit the notebook directly and re-run.
If you have python set up on your computer and wish to run the python API locally, installation is simple.
Tidy3D and its dependencies can be installed from the command line by
$ pip install tidy3d-beta
To test whether the installation was successful you can run
$ python -c "import tidy3d as td; print(td.__version__)"
or download and run an example script from here.
That should get you started!
To see some other examples of Tidy3D being used in large scale photonics simulations, see Examples.
To learn more about the many features of Tidy3D, check out our Feature Walkthrough.
Or, if you’re interested in the API documentation, see API Reference.