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, clock, order) 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.
SynapticIndexing(synapses)

Methods

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.
SynapticSubgroup(synapses, indices) A simple subgroup of Synapses that can be used for indexing.

Functions

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