hdmf.common.multi module¶
- class hdmf.common.multi.SimpleMultiContainer(name, containers=None)¶
Bases:
MultiContainerInterface
- Parameters
- property containers¶
a dictionary containing the Container or Data in this SimpleMultiContainer
- __getitem__(name=None)¶
Get a Container from this SimpleMultiContainer
- Parameters
name (
str
) – the name of the Container or Data- Returns
the Container or Data with the given name
- Return type
(<class ‘hdmf.container.Container’>, <class ‘hdmf.container.Data’>)
- add_container(containers)¶
Add one or multiple Container or Data objects to this SimpleMultiContainer
- data_type = 'SimpleMultiContainer'¶
- get_container(name=None)¶
Get a Container from this SimpleMultiContainer
- Parameters
name (
str
) – the name of the Container or Data- Returns
the Container or Data with the given name
- Return type
(<class ‘hdmf.container.Container’>, <class ‘hdmf.container.Data’>)
- namespace = 'hdmf-common'¶