save

Class method.

save(self, path)

Saving the system to a given file with dill.

The path can be absolut or relative and the ending of the file is arbitrary.

Parameters:

path (str) – String defining the path to the desired file.

For example

>>> system.save('system.pickle')

will create a file system.pickle containing the nMPyC system object.