5.7.1. sesame.utils.save_sim¶
-
sesame.utils.save_sim(sys, result, filename, fmt='npy')[source]¶ Utility function that saves a system together with simulation results.
Parameters: sys: Builder :
The discretized system.
result: dictionary :
Dictionary of solution, containing ‘v’, ‘efn’, ‘efp’
filename: string :
Name of outputfile
fmt: string :
Format of output file, set to ‘mat’ for matlab files. With the default numpy format, the Builder object is saved directly.