synapses package

Package providing synapse support.

spikequeue module

The spike queue class stores future synaptic events produced by a given presynaptic neuron group (or postsynaptic for backward propagation in STDP).

Exported members: SpikeQueue

Classes

SpikeQueue(source_start, source_end[, ...]) Data structure saving the spikes and taking care of delays.

synapses module

Module providing the Synapses class and related helper classes/functions.

Exported members: Synapses

Classes

StateUpdater(group, method) The CodeRunner that updates the state variables of a Synapses at every timestep.
SummedVariableUpdater(expression, ...) The CodeRunner that updates a value in the target group with the sum over values in the Synapses object.
Synapses(source[, target, model, pre, post, ...]) Class representing synaptic connections.
SynapticPathway(synapses, code, prepost[, ...]) The CodeRunner that applies the pre/post statement(s) to the state variables of synapses where the pre-/postsynaptic group spiked in this time step.

Functions

find_synapses(index, synaptic_neuron)
slice_to_test(x) Returns a testing function corresponding to whether an index is in slice x.