convnwb.io.io.save_to_h5file

convnwb.io.io.save_to_h5file(data, file_name, folder=None, ext='.h5', **kwargs)[source]

Save data to a HDF5 file.

Parameters:
datadict

Dictionary of data to save to the HDF5 file. Each key will be used as the HDF5 dataset label. Each set of values will be saved as the HDF5 dataset data.

file_namestr

File name of the h5file to save to.

folderstr or Path, optional

Folder to save the file to.

extstr, optional default: ‘.h5’

The extension to check and use for the file.

**kwargs

Additional keyword arguments to pass into h5py.File.