Next: External excitation sources, Previous: Models, Up: Top [Contents][Index]
Units populating a model are uniquely identified by their label, set at creation time. Where a single unit needs to be selected for a function, the corresponding argument to that function is designated L. Or, if an operation is supposed to affect many units, selected by a regex pattern on their labels, that argument is designated R.
Apart from the (arbitrary) label, units are classified as belonging to either Neuron or Synapse class, further belonging to a certain family and species. These categories are built-in, each species defining a set of parameters and state variables.
All available unit species are listed in Unit species.
Return the following attributes and properties of unit L, in order: label, class_name, family, species, as strings, followed by flags has_sources and is_not_altered.
Get the value of unit L’s parameter P.
Set unit L’s parameter P to a value of V.
Get the values of all state variables of unit L, returned as floats in the order they are listed in Unit species table.
Reset all state variables of unit L.
Return all units with labels matching regex R.
Return all units of a species sp.
Set the value of parameter P to V in all neurons labelled matching regex R.
Set the value of parameter P to V in all synapses connecting, resp., any neurons labelled matching regexes Rs and Rt.
Revert to defaults all parameters of units labelled matching regex R.
Delete a random frac of all units matching regex R.
Delete all units matching regex R.
Next: External excitation sources, Previous: Models, Up: Top [Contents][Index]