vice.output.zip¶
Compress a VICE output into a zipfile.
Signature: vice.output.zip(name)
New in version 1.1.0.
Parameters¶
- name
str
or output The full or relative path to an output, or the output object itself. The ‘.vice’ extension is not required.
Raises¶
- IOError
Output is not found
Directory could not be interpreted as a VICE output.
Example Code¶
>>> import numpy as np
>>> import vice
>>> vice.singlezone(name = "example").run(np.linspace(0, 10, 1001))
>>> vice.output.zip("example")