convnwb.io.io.load_nwbfile¶
- convnwb.io.io.load_nwbfile(file_name, folder=None, return_io=False)[source]¶
Load an NWB file.
- Parameters:
- file_namestr or dict
The file name to load. If dict, is passed into make_session_name to create the file name.
- folderstr
The folder to load the file from.
- return_iobool, optional, default: False
Whether to return the pynwb IO object.
- Returns:
- nwbfilepynwb.file.NWBFile
The NWB file object.
- iopynwb.NWBHDF5IO
The IO object for managing the file status. Only returned if return_io is True.