save_workspace

Workspace.save_workspace(filename=None)[source]

Saves all projects in the current workspace as a single file

Parameters

filename (str) – The filename to use when saving. If not provided, the present date and time are used.

Notes

The file is actually zip archive containing pnm files, one for each project in the workspace. This archive can be extracted and each pnm file can be loaded manually using load_project or the openpnm.io.PNM class.