tidy3d.web.load_simulation#

tidy3d.web.load_simulation(task_id: str, path: str = 'simulation.json', verbose: bool = True) Union[tidy3d.components.simulation.Simulation, tidy3d.components.heat.simulation.HeatSimulation]#

Download the .json file of a task and load the associated simulation.

Parameters
  • task_id (str) – Unique identifier of task on server. Returned by upload().

  • path (str = "simulation.json") – Download path to .json file of simulation (including filename).

  • verbose (bool = True) – If True, will print progressbars and status, otherwise, will run silently.

Returns

Simulation loaded from downloaded json file.

Return type

Union[Simulation, HeatSimulation]