convnwb.io.io.open_h5file

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

Open a hdf5 file.

Parameters:
file_namestr

File name of the h5file to open.

folderstr or Path, optional

Folder to open the file from.

extstr, optional default: ‘.h5’

The extension to check and use for the file.

**kwargs

Additional keyword arguments to pass into h5py.File.

Yields:
h5file

Open h5file object.

Notes

This function is a wrapper for h5py.File.