superneuromat.accessor_classes.ModelAccessorList#
- class superneuromat.accessor_classes.ModelAccessorList(model: SNN)[source]#
Base class for
NeuronList
andSynapseList
.Inherits from
collections.abc.Sequence
.- Attributes:
indices
A sorted list of all valid indices for accessors on the SNN.
- num_onmodel
Methods
count
(value)index
(value, [start, [stop]])Raises ValueError if the value is not present.
tolist
()A list of all the accessors on the SNN.
info
Methods
__init__
(model)count
(value)index
(value, [start, [stop]])Raises ValueError if the value is not present.
info
()tolist
()A list of all the accessors on the SNN.
Attributes
indices
A sorted list of all valid indices for accessors on the SNN.
num_onmodel
accessor_type
listview_type