save

Class method.

save(self, path)

Saving the result 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

>>> result.save('result.pickle')

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