Source code for spynnaker8.models.synapse_dynamics.timing_dependence.timing_dependence_vogels_2011

# Copyright (c) 2017-2019 The University of Manchester
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

from spynnaker.pyNN.models.neuron.plasticity.stdp.timing_dependence import (
    TimingDependenceVogels2011 as
    _BaseClass)

_defaults = _BaseClass.default_parameters


[docs]class TimingDependenceVogels2011(_BaseClass): __slots__ = [ "__a_plus", "__a_minus"] def __init__( self, alpha, tau=_defaults['tau'], A_plus=0.01, A_minus=0.01): r""" :param float alpha: :math:`\alpha` :param float tau: :math:`\tau` :param float A_plus: :math:`A^+` :param float A_minus: :math:`A^-` """ super(TimingDependenceVogels2011, self).__init__(tau=tau, alpha=alpha) self.__a_plus = A_plus self.__a_minus = A_minus @property def A_plus(self): return self.__a_plus @A_plus.setter def A_plus(self, new_value): self.__a_plus = new_value @property def A_minus(self): return self.__a_minus @A_minus.setter def A_minus(self, new_value): self.__a_minus = new_value