save

pyvsim.System.save(obj, filename=None, mode='pickle')[source]

Convenience function for saving a Primitives.Assembly object.

Parameters :

obj : Primitives.Assembly

The scenario to be saved.

filename : string

The name of the output file

mode : “pickle” or “json”

Specifies the file format to be used in saving. The default option is pickle (which is fast and bug free), use JSON only if you need to edit the file in a human-readable way.

This Page