bb9f5f36c24eaa5cb320c9ef157cc9fbed295b10,spynnaker/pyNN/models/neuron/synapse_dynamics/synapse_dynamics_structural_stdp.py,SynapseDynamicsStructuralSTDP,get_weight_maximum,#SynapseDynamicsStructuralSTDP#Any#Any#,204

Before Change



    @overrides(SynapseDynamicsSTDP.get_weight_maximum)
    def get_weight_maximum(self, connector, weights):
        w_max = super(SynapseDynamicsStructuralSTDP, self).get_weight_maximum(
            connector, weights)
        return max(w_max, self.__common_sp.initial_weight)

After Change


            if not self.__common_sp.is_same_as(synapse_dynamics):
                raise SynapticConfigurationException(
                    "Synapse dynamics must match exactly when using multiple"
                    " edges to the same population")
        // If other is STDP, check STDP matches
        if isinstance(synapse_dynamics, SynapseDynamicsSTDP):
            if not super(SynapseDynamicsStructuralSTDP, self).is_same_as(
                    synapse_dynamics):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: bb9f5f36c24eaa5cb320c9ef157cc9fbed295b10
Time: 2019-10-28
Author: andrew.gait@manchester.ac.uk
File Name: spynnaker/pyNN/models/neuron/synapse_dynamics/synapse_dynamics_structural_stdp.py
Class Name: SynapseDynamicsStructuralSTDP
Method Name: get_weight_maximum


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: bb9f5f36c24eaa5cb320c9ef157cc9fbed295b10
Time: 2019-10-28
Author: andrew.gait@manchester.ac.uk
File Name: spynnaker/pyNN/models/neuron/synapse_dynamics/synapse_dynamics_stdp.py
Class Name: SynapseDynamicsSTDP
Method Name: get_weight_maximum


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: bb9f5f36c24eaa5cb320c9ef157cc9fbed295b10
Time: 2019-10-28
Author: andrew.gait@manchester.ac.uk
File Name: spynnaker/pyNN/models/neuron/synapse_dynamics/synapse_dynamics_structural_static.py
Class Name: SynapseDynamicsStructuralStatic
Method Name: get_weight_maximum