convnwb.io.io.load_from_h5file¶
- convnwb.io.io.load_from_h5file(field, file_name, folder=None, ext='.h5', **kwargs)[source]¶
Load a specified field from a HDF5 file.
- Parameters:
- fieldstr
Name of the field to load from the HDF5 file.
- Returns:
- data
Loaded data field from the file.
Notes
This function uses open_h5file which itself wraps h5py.File. This function is useful for extracting a single data field. For working with files with multiple files, it should be opened with open_h5file.