Package providing groups such as NeuronGroup or PoissonGroup.
This module defines the Group object, a mix-in class for everything that
saves state variables, e.g. NeuronGroup or StateMonitor.
|CodeRunner(group, template[, code, ...])
||A “code runner” that runs a CodeObject every timestep and keeps a reference to the Group.
||Mix-in class for accessing arrays by attribute.
||Convenience class to allow access to the indices via indexing syntax.
||Object responsible for calculating flat index arrays from arbitrary group- specific indices.
This model defines the NeuronGroup, the core of most simulations.
|NeuronGroup(N, model[, method, threshold, ...])
||A group of neurons.
||The CodeRunner that applies the reset statement(s) to the state variables of neurons that have spiked in this timestep.
||The CodeRunner that applies the threshold condition to the state variables of a NeuronGroup at every timestep and sets its spikes and refractory_until attributes.