tidy3d.web.api.webapi.load#
- class load[source]#
- Bases: - Download and Load simulation results into - SimulationDataobject.- Notes - After the simulation is complete, you can load the results into a - SimulationDataobject by its- task_idusing:- sim_data = web.load(task_id, path="outt/sim.hdf5", verbose=verbose) - 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_chunkas argument.
 
- Returns:
- Object containing simulation data. 
- Return type:
- Union[ - SimulationData,- HeatSimulationData,- EMESimulationData]
 - Inherited Common Usage