API Reference¶
Tidy3D API¶
Simulation¶
|
Main class for building a simulation model. |
|
Load the probe data recorded from a Tidy3D run. |
Return a dictionary with all simulation parameters and objects. |
|
|
Export the simulation to a JSON file. |
|
Import a simulation from a JSON file. |
Materials¶
|
Base class for a custom defined material. |
|
Define a material through the real and imaginary part of the refractive index at a given frequency. |
Perfect electric conductor. |
|
Perfect magnetic conductor. |
Structures¶
|
Box structure, i.e. a 3D rectangular block. |
|
Sphere structre. |
|
Cylinder structre. |
|
A structure defined as polygon in x and y with a constnant extent in z. |
|
A structure defined through a GDSII cell imported through |
Sources¶
|
Electric current source with Gaussian-pulse time dependence in a rectangular 3D region. |
|
Electric current source with Gaussian-pulse time dependence spanning a 2D plane inside the simulation. |
Probes¶
|
Probe recording the time-domain fields within a 3D region. |
|
Probe recording a Fourier transform of the fields within a 3D region, for a given list of frequencies. |
Plotting tools¶
|
Plot the relative permittivity distribution in a 2D cross-section. |
|
Plot the time dependence of a given source. |
|
Plot a 2D cross-section of the field stored in a FreqProbe object at a given frequency. |
|
Plot a 2D cross-section of the field stored in a TimeProbe object at a given time step. |
Task submission¶
|
Create new project. |
|
Get all project details from a given taskId. |
|
Delete a project from a given taskId. |
|
Monitor the status of a given project every second. |
|
Print a summary of all projects of the current user, in chronological order of submission. |
|
Download the results of a solver run, including a json file defining the simulation, a single file containing all the probe data, and a log file. |