def save_h5(filename, **kwargs):
'''Save data to an hdf5 file.
Parameters
----------
filename : str
Path to the file
kwargs
key-value pairs of data
See Also
--------
load_h5
'''
with h5py.File(filename, 'w') as hf:
hf.update(kwargs)
评论列表
文章目录