PyNWB Containers#
Tools for making an abstract interface to work with pynwb Containers
Functions:
|
Get and list pyNWB containers by name. |
|
Get argument schema for a pyNWB container. |
- onice_conversion.containers.get_container(container_name: Optional[str] = None) Union[List[pynwb.core.NWBContainer], pynwb.core.NWBContainer] #
Get and list pyNWB containers by name.
If called with no arguments, returns all container objects. Otherwise return the container named
'container_name'
.Eg. get
pynwb.file.NWBFile
by calling with'NWBFile'
- Parameters
container_name (str, None) – if None, return all containers. Otherwise return container by name
- Returns
list of Containers, or Container itself.
- onice_conversion.containers.get_container_schema(container: Union[pynwb.core.NWBContainer, str]) Tuple[dict] #
Get argument schema for a pyNWB container.
- Parameters
container (
pynwb.NWBContainer
, str) – Either the container itself, or a string to callget_container()
with- Returns
tuple of dicts that describe each parameter
Classes:
Mixin to give pynwb containers the classmethods expected by nwb-conversion-tools |