Types#

Special types for nwb_linkml :)

NDArray#

Extension of nptyping NDArray for pydantic that allows for JSON-Schema serialization

  • Order to store data in (row first)

class NDArrayMeta(name: str, *args: Any, **kwargs: Any)#

Kept here to allow for hooking into metaclass, which has been necessary on and off as we work this class into a stable state

class NDArrayProxy(h5f_file: Path | str, path: str)#

Thin proxy to numpy arrays stored within hdf5 files, only read into memory when accessed, but otherwise passthrough all attempts to access attributes.

Parameters:
  • h5f_file (pathlib.Path) – Path to source HDF5 file

  • path (str) – Location within HDF5 file where this array is located