spynnaker.pyNN.models.neuron.plasticity.stdp.synapse_structure package

Module contents

class spynnaker.pyNN.models.neuron.plasticity.stdp.synapse_structure.AbstractSynapseStructure

Bases: object

Base for classes that describe synaptic structure for STDP.

abstract get_n_half_words_per_connection() int[source]

Get the number of bytes for each connection.

Return type:

int

abstract get_weight_half_word() int[source]

The index of the half-word where the weight should be written.

Return type:

int

class spynnaker.pyNN.models.neuron.plasticity.stdp.synapse_structure.SynapseStructureWeightAccumulator

Bases: AbstractSynapseStructure

Structured synapse with accumulated weight

get_n_half_words_per_connection() int[source]

Get the number of bytes for each connection.

Return type:

int

get_weight_half_word() int[source]

The index of the half-word where the weight should be written.

Return type:

int

class spynnaker.pyNN.models.neuron.plasticity.stdp.synapse_structure.SynapseStructureWeightOnly

Bases: AbstractSynapseStructure

Structured synapse with only weights

get_n_half_words_per_connection() int[source]

Get the number of bytes for each connection.

Return type:

int

get_weight_half_word() int[source]

The index of the half-word where the weight should be written.

Return type:

int