pynwb.form.container module

class pynwb.form.container.Container(name, parent=None, container_source=None)

Bases: object

Parameters:
  • name (str) – the name of this container
  • parent (Container) – the Container that holds this Container
  • container_source (str) – the source of this container
modified
set_modified(modified=True)
Parameters:modified (bool) – whether or not this Container has been modified
children
add_child(child=None)
Parameters:child (Container) – the child Container for this Container
classmethod type_hierarchy()
name

The name of this Container

container_source

The source of this Container

parent

The parent Container of this Container

class pynwb.form.container.Data(name, parent=None, container_source=None)

Bases: pynwb.form.container.Container

Parameters:
  • name (str) – the name of this container
  • parent (Container) – the Container that holds this Container
  • container_source (str) – the source of this container
data

The data that is held by this Container

class pynwb.form.container.DataRegion(name, parent=None, container_source=None)

Bases: pynwb.form.container.Data

Parameters:
  • name (str) – the name of this container
  • parent (Container) – the Container that holds this Container
  • container_source (str) – the source of this container
data

The target data that this region applies to

region

The region that indexes into data e.g. slice or list of indices