pynwb.io.core module
- class pynwb.io.core.NWBBaseTypeMapper(spec)[source]
Bases:
ObjectMapperCreate a map from AbstractContainer attributes to specifications
- Parameters:
spec (
DatasetSpecorGroupSpec) – The specification for mapping objects to builders
- constructor_args = {'name': <function ObjectMapper.get_container_name>}
- obj_attrs = {}
- class pynwb.io.core.NWBContainerMapper(spec)[source]
Bases:
NWBBaseTypeMapperCreate a map from AbstractContainer attributes to specifications
- Parameters:
spec (
DatasetSpecorGroupSpec) – The specification for mapping objects to builders
- constructor_args = {'name': <function ObjectMapper.get_container_name>}
- obj_attrs = {}
- class pynwb.io.core.NWBDataMap(spec)[source]
Bases:
NWBBaseTypeMapperCreate a map from AbstractContainer attributes to specifications
- Parameters:
spec (
DatasetSpecorGroupSpec) – The specification for mapping objects to builders
- constructor_args = {'name': <function ObjectMapper.get_container_name>}
- obj_attrs = {}
- class pynwb.io.core.ScratchDataMap(spec)[source]
Bases:
NWBContainerMapperCreate a map from AbstractContainer attributes to specifications
- Parameters:
spec (
DatasetSpecorGroupSpec) – The specification for mapping objects to builders
- constructor_args = {'name': <function ObjectMapper.get_container_name>}
- obj_attrs = {}
- class pynwb.io.core.VectorDataMap(spec)[source]
Bases:
ObjectMapperCreate a map from AbstractContainer attributes to specifications
- Parameters:
spec (
DatasetSpecorGroupSpec) – The specification for mapping objects to builders
- get_attr_value(spec, container, manager)[source]
Get the value of the attribute corresponding to this spec from the given container
- Parameters:
spec (
AttributeSpec) – the spec to get the attribute value forcontainer (
VectorData) – the container to get the attribute value frommanager (
BuildManager) – the BuildManager used for managing this build
- constructor_args = {'name': <function ObjectMapper.get_container_name>}
- obj_attrs = {}