Td.simulationdata.from_file?

Contents

Td.simulationdata.from_file?#

Date

Category

2025-09-16 13:50:36

Web API

The SimulationData.from_file method allows you to load a SimulationData object directly from a locally saved file. It is a good alternative to the web.load to avoid the time of downloading the simulation from the cloud.

The file can be saved with the SimulationData.to_file method. For more details, check this tutorial.

Example#

python
# Load a Simulation from an HDF5 file
sim_data = SimulationData.from_file(fname="folder/sim.hdf5")