tidy3d.web.api.container.BatchData#
- class BatchData[source]#
- Bases: - Tidy3dBaseModel- Holds a collection of - SimulationDatareturned by- Batch.- Parameters:
- task_paths (Mapping[str, str]) β Mapping of task_name to path to corresponding data for each task in batch. 
- task_ids (Mapping[str, str]) β Mapping of task_name to task_id for each task in batch. 
- verbose (bool = True) β Whether to print info messages and progressbars. 
 
 - Notes - When the batch is completed, the output is not a - SimulationDatabut rather a- BatchData. The data within this- BatchDataobject can either be indexed directly- batch_results[task_name]or can be looped through- batch_results.items()to get the- SimulationDatafor each task.- See also - Batch:
- Interface for submitting several - Simulationobjects to sever.
- SimulationData:
- Stores data from a collection of - Monitorobjects in a- Simulation.
- Notebooks
 - Attributes - Methods - items()- Iterate through the simulations for each task_name. - load([path_dir])- Load - Batchfrom file, download results, and load them.- load_sim_data(task_name)- Load a simulation data object from file by task name. - task_paths#
 - task_ids#
 - verbose#
 - classmethod load(path_dir='.')[source]#
- Load - Batchfrom file, download results, and load them.- Parameters:
- path_dir (str = './') β Base directory where data will be downloaded, by default current working directory. A batch.hdf5 file must be present in the directory. 
- Returns:
- Contains Union[ - SimulationData,- HeatSimulationData] for each Union[- Simulation,- HeatSimulation] in- Batch.
- Return type:
 
 - __hash__()#
- Hash method.