load_nwb#

syncopy.load_nwb(filename, memuse=3000, container=None)[source]#

Read contents of NWB files

Parameters
  • filename (str) – Name of (may include full path to) NWB file (e.g., “/path/to/mydata.nwb”).

  • memuse (scalar) – Approximate in-memory cache size (in MB) for reading data from disk

  • container (str) – Name of syncopy container folder to create the syncopy data in

Returns

objdict – Any NWB TimeSeries-like data is imported into an AnalogData object. If the NWB file contains TTL pulse data, an additional EventData object is instantiated. The syncopy objects are returned as a dictionary whose keys are the base-names (sans path) of the corresponding files.

Return type

dict