groups package¶
Package providing groups such as NeuronGroup or PoissonGroup.
Exported members:
CodeRunner, Group, VariableOwner, NeuronGroup
group module¶
This module defines the VariableOwner class, a mix-in class for everything
that saves state variables, e.g. Clock or NeuronGroup, the class Group
for objects that in addition to storing state variables also execute code, i.e.
objects such as NeuronGroup or StateMonitor but not Clock, and finally
CodeRunner, a class to run code in the context of a Group.
Exported members:
Group, VariableOwner, CodeRunner
Classes
|
A “code runner” that runs a |
|
Methods |
|
Convenience class to allow access to the indices via indexing syntax. |
|
Object responsible for calculating flat index arrays from arbitrary group- specific indices. |
|
Mix-in class for accessing arrays by attribute. |
Functions
|
Helper function to interpret the |
neurongroup module¶
This model defines the NeuronGroup, the core of most simulations.
Exported members:
NeuronGroup
Classes
|
A group of neurons. |
|
The |
|
The |
|
The |
|
The |
Functions
|
Do not allow names ending in |
|
Helper function to transform a single number, a slice or an array of contiguous indices to a start and stop value. |