netpyne.specs.dicts

Module containing Dict and ODict classes

These classes reproduce normal Dict and ODict behavior, but add support for object-like dot notation (e.g. cell.secs.soma.geom)

Classes:

Dict(**kwargs)

Class for/to <short description of netpyne.specs.dicts.Dict>

ODict(*args, **kwargs)

Class for/to <short description of netpyne.specs.dicts.ODict>

class netpyne.specs.dicts.Dict(**kwargs)[source]

Bases: dict

Class for/to <short description of netpyne.specs.dicts.Dict>

Methods:

todict()

fromdict(d)

dotify(x)

undotify(x)

rename(*args, **kwargs)

todict()[source]
fromdict(d)[source]
dotify(x)[source]
undotify(x)[source]
rename(*args, **kwargs)[source]
class netpyne.specs.dicts.ODict(*args, **kwargs)[source]

Bases: collections.OrderedDict

Class for/to <short description of netpyne.specs.dicts.ODict>

Methods:

toOrderedDict()

fromOrderedDict(d)

dotify(x)

undotify(x)

rename(*args, **kwargs)

toOrderedDict()[source]
fromOrderedDict(d)[source]
dotify(x)[source]
undotify(x)[source]
rename(*args, **kwargs)[source]