hdmf_zarr.nwb module¶
Module with Zarr backend for NWB for integration with PyNWB
- class hdmf_zarr.nwb.NWBZarrIO(path, mode, manager=None, synchronizer=None, object_codec_class=None, load_namespaces=False, extensions=None)¶
Bases:
ZarrIO
IO backend for PyNWB for writing NWB files
This class is similar to the
NWBHDF5IO
class in PyNWB. The main purpose of this class is to perform default setup for BuildManager, loading or namespaces etc., in the context of the NWB format.- Parameters:
path (
str
orDirectoryStore
orTempStore
orNestedDirectoryStore
) – the path to the Zarr file or a supported Zarr storemode (
str
) – the mode to open the Zarr file with, one of (“w”, “r”, “r+”, “a”, “w-“)manager (
BuildManager
) – the BuildManager to use for I/Osynchronizer (
ProcessSynchronizer
orThreadSynchronizer
orbool
) – Zarr synchronizer to use for parallel I/O. If set to True a ProcessSynchronizer is used.object_codec_class (None) – Set the numcodec object codec class to be used to encode objects.Use numcodecs.pickles.Pickle by default.
load_namespaces (
bool
) – whether or not to load cached namespaces from given path - not applicable in write modeextensions (
str
orTypeMap
orlist
) – a path to a namespace, a TypeMap, or a list consisting paths to namespaces and TypeMaps