save¶
full name: tenpy.tools.hdf5_io.save
parent module:
tenpy.tools.hdf5_io
type: function
-
tenpy.tools.hdf5_io.
save
(data, filename, mode='w')[source]¶ Save data to file with given filename.
This function guesses the type of the file from the filename ending. Supported endings:
ending
description
.pkl
Pickle without compression
.pklz
Pickle with gzip compression.
.hdf5, .h5
HDF5 file (using h5py).