tidy3d.web.api.container.Job.to_file#
- class to_file#
Bases:
Exports
Tidy3dBaseModel
instance to .yaml, .json, or .hdf5 file- Parameters:
fname (str) β Full path to the .yaml or .json file to save the
Tidy3dBaseModel
to.
Example
>>> simulation.to_file(fname='folder/sim.json')
Inherited Common Usage