convnwb.io.io.load_matfile¶
- convnwb.io.io.load_matfile(file_name, folder=None, version=None, **kwargs)[source]¶
Load a .mat file.
- Parameters:
- file_namestr
File name of the file to load.
- folderstr or Path, optional
Folder to load from.
- version{‘scipy’, ‘mat73’}
- Which matfile load function to use:
‘scipy’ : uses scipy.io.loadmat, works for matfiles older than v7.3 ‘mat73’ : uses mat73.loadmat, works for matfile v7.3 files
If not specified, tries both.
- **kwargs
Additional keywork arguments to pass into to matfile load function.
- Returns:
- dict
Loaded data from the matfile.