tidy3d.web.api.webapi.load#
- class load[source]#
Bases:
Download and Load simulation results into
SimulationData
object.Notes
After the simulation is complete, you can load the results into a
SimulationData
object by itstask_id
using:The
tidy3d.web.api.webapi.load()
method is very convenient to load and postprocess results from simulations created using Tidy3D GUI.- Parameters:
task_id (str) β Unique identifier of task on server. Returned by
upload()
.path (str) β Download path to .hdf5 data file (including filename).
replace_existing (bool = True) β Downloads the data even if path exists (overwriting the existing).
verbose (bool = True) β If
True
, will print progressbars and status, otherwise, will run silently.progress_callback (Callable[[float], None] = None) β Optional callback function called when downloading file with
bytes_in_chunk
as argument.
- Returns:
Object containing simulation data.
- Return type:
Union[
SimulationData
,HeatSimulationData
,EMESimulationData
]
Inherited Common Usage