pynwb.core module

pynwb.core.prepend_string(string, prepend='    ')[source]
class pynwb.core.NWBMixin(name)[source]

Bases: AbstractContainer

Parameters:

name (str) – the name of this container

get_ancestor(neurodata_type=None)[source]

Traverse parent hierarchy and return first instance of the specified data_type

Parameters:

neurodata_type (str) – the data_type to search for

class pynwb.core.NWBContainer(name)[source]

Bases: NWBMixin, Container

Parameters:

name (str) – the name of this container

namespace = 'core'
neurodata_type = 'NWBContainer'
class pynwb.core.NWBDataInterface(name)[source]

Bases: NWBContainer

Parameters:

name (str) – the name of this container

namespace = 'core'
neurodata_type = 'NWBDataInterface'
class pynwb.core.NWBData(name, data)[source]

Bases: NWBMixin, Data

Parameters:
property data
__getitem__(args)[source]
append(arg)[source]
extend(arg)[source]

The extend_data method adds all the elements of the iterable arg to the end of the data of this Data container.

Parameters:

arg – The iterable to add to the end of this VectorData

namespace = 'core'
neurodata_type = 'NWBData'
class pynwb.core.ScratchData(name, data, notes='', description=None)[source]

Bases: NWBData

Parameters:
property notes
namespace = 'core'
neurodata_type = 'ScratchData'
class pynwb.core.NWBTable(columns, name, data=[])[source]

Bases: Table

Defined in PyNWB for API backward compatibility. See HDMF Table for details.

Parameters:
class pynwb.core.MultiContainerInterface(name)[source]

Bases: NWBDataInterface, MultiContainerInterface

Defined in PyNWB for API backward compatibility. See HDMF MultiContainterInterface for details.

Parameters:

name (str) – the name of this container