def __init__(self, alpha, tau=default_parameters['tau']): self.__alpha = alpha self.__tau = tau self.__synapse_structure = SynapseStructureWeightOnly() ts = get_simulator().machine_time_step / 1000.0 self.__tau_data = get_exp_lut_array(ts, self.__tau)
def __init__( self, tau=40.0, peak_time=100.0): AbstractTimingDependence.__init__(self) self._tau = tau self._peak_time = peak_time self._synapse_structure = SynapseStructureWeightOnly()
def __init__(self, tau_plus=20.0, tau_minus=20.0): self._tau_plus = tau_plus self._tau_minus = tau_minus self._synapse_structure = SynapseStructureWeightOnly() # provenance data self._tau_plus_last_entry = None self._tau_minus_last_entry = None
def __init__(self, tau_plus=20.0, tau_minus=20.0): self.__tau_plus = tau_plus self.__tau_minus = tau_minus self.__synapse_structure = SynapseStructureWeightOnly() # provenance data ts = get_simulator().machine_time_step / 1000.0 self.__tau_plus_data = get_exp_lut_array(ts, self.__tau_plus) self.__tau_minus_data = get_exp_lut_array(ts, self.__tau_minus)
def __init__(self, tau_plus=default_parameters['tau_plus'], tau_minus=default_parameters['tau_minus']): self.__tau_plus = tau_plus self.__tau_minus = tau_minus self.__synapse_structure = SynapseStructureWeightOnly() # provenance data self.__tau_plus_last_entry = None self.__tau_minus_last_entry = None
def __init__(self, tau_plus=default_parameters['tau_plus'], tau_minus=default_parameters['tau_minus']): self.__tau_plus = tau_plus self.__tau_minus = tau_minus self.__synapse_structure = SynapseStructureWeightOnly() ts = get_simulator().machine_time_step / 1000.0 self.__tau_plus_data = get_exp_lut_array(ts, self.__tau_plus) self.__tau_minus_data = get_exp_lut_array(ts, self.__tau_minus)
def __init__(self, tau_plus, tau_minus, tau_x, tau_y): self._tau_plus = tau_plus self._tau_minus = tau_minus self._tau_x = tau_x self._tau_y = tau_y self._synapse_structure = SynapseStructureWeightOnly() # provenance data self._tau_plus_last_entry = None self._tau_minus_last_entry = None self._tau_x_last_entry = None self._tau_y_last_entry = None
def __init__(self, tau_plus, tau_minus, tau_x, tau_y): self.__tau_plus = tau_plus self.__tau_minus = tau_minus self.__tau_x = tau_x self.__tau_y = tau_y self.__synapse_structure = SynapseStructureWeightOnly() ts = get_simulator().machine_time_step / 1000.0 self.__tau_plus_data = get_exp_lut_array(ts, self.__tau_plus) self.__tau_minus_data = get_exp_lut_array(ts, self.__tau_minus) self.__tau_x_data = get_exp_lut_array(ts, self.__tau_x, shift=2) self.__tau_y_data = get_exp_lut_array(ts, self.__tau_y, shift=2)
def __init__(self, alpha, tau=default_parameters['tau']): r""" :param float alpha: :math:`\alpha` :param float tau: :math:`\tau` """ self.__alpha = alpha self.__tau = tau self.__synapse_structure = SynapseStructureWeightOnly() ts = get_simulator().machine_time_step ts = ts / MICRO_TO_MILLISECOND_CONVERSION self.__tau_data = get_exp_lut_array(ts, self.__tau)
def __init__( self, # TODO: update parameters my_potentiation_parameter, my_depression_parameter): AbstractTimingDependence.__init__(self) # TODO: Store any parameters self._my_potentiation_parameter = my_potentiation_parameter self._my_depression_parameter = my_depression_parameter # TODO: Update to match the synapse structure in the C code self._synapse_structure = SynapseStructureWeightOnly()
def __init__(self, tau_plus=20.0, tau_minus=20.0): r""" :param float tau_plus: :math:`\tau_+` :param float tau_minus: :math:`\tau_-` """ self.__tau_plus = tau_plus self.__tau_minus = tau_minus self.__synapse_structure = SynapseStructureWeightOnly() # provenance data ts = get_simulator().machine_time_step ts = ts / MICRO_TO_MILLISECOND_CONVERSION self.__tau_plus_data = get_exp_lut_array(ts, self.__tau_plus) self.__tau_minus_data = get_exp_lut_array(ts, self.__tau_minus)
def __init__( self, # TODO: update parameters my_potentiation_parameter, my_depression_parameter, A_plus=0.01, A_minus=0.01): # TODO: Store any parameters self._my_potentiation_parameter = my_potentiation_parameter self._my_depression_parameter = my_depression_parameter # TODO: Update to match the synapse structure in the C code self._synapse_structure = SynapseStructureWeightOnly() # Are these in the c code? self._a_plus = A_plus self._a_minus = A_minus
def __init__(self, alpha, tau=default_parameters['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^-` """ self.__alpha = alpha self.__tau = tau self.__a_plus = A_plus self.__a_minus = A_minus self.__synapse_structure = SynapseStructureWeightOnly() self.__tau_data = get_exp_lut_array(machine_time_step_ms(), self.__tau)
def __init__(self, tau_plus, tau_minus, tau_x, tau_y): r""" :param float tau_plus: :math:`\tau_+` :param float tau_minus: :math:`\tau_-` :param float tau_x: :math:`\tau_x` :param float tau_y: :math:`\tau_y` """ self.__tau_plus = tau_plus self.__tau_minus = tau_minus self.__tau_x = tau_x self.__tau_y = tau_y self.__synapse_structure = SynapseStructureWeightOnly() ts = get_simulator().machine_time_step ts = ts / MICRO_TO_MILLISECOND_CONVERSION self.__tau_plus_data = get_exp_lut_array(ts, self.__tau_plus) self.__tau_minus_data = get_exp_lut_array(ts, self.__tau_minus) self.__tau_x_data = get_exp_lut_array(ts, self.__tau_x, shift=2) self.__tau_y_data = get_exp_lut_array(ts, self.__tau_y, shift=2)
def __init__(self, tau_plus=default_parameters['tau_plus'], tau_minus=default_parameters['tau_minus'], A_plus=0.01, A_minus=0.01): r""" :param float tau_plus: :math:`\tau_+` :param float tau_minus: :math:`\tau_-` :param float A_plus: :math:`A^+` :param float A_minus: :math:`A^-` """ self.__tau_plus = tau_plus self.__tau_minus = tau_minus self.__a_plus = A_plus self.__a_minus = A_minus self.__synapse_structure = SynapseStructureWeightOnly() ts = machine_time_step_ms() self.__tau_plus_data = get_exp_lut_array(ts, self.__tau_plus) self.__tau_minus_data = get_exp_lut_array(ts, self.__tau_minus)
def __init__(self, tau_plus, tau_minus, tau_x, tau_y, A_plus, A_minus): r""" :param float tau_plus: :math:`\tau_+` :param float tau_minus: :math:`\tau_-` :param float tau_x: :math:`\tau_x` :param float tau_y: :math:`\tau_y` :param float A_plus: :math:`A^+` :param float A_minus: :math:`A^-` """ self.__tau_plus = tau_plus self.__tau_minus = tau_minus self.__tau_x = tau_x self.__tau_y = tau_y self.__a_plus = A_plus self.__a_minus = A_minus self.__synapse_structure = SynapseStructureWeightOnly() ts = machine_time_step_ms() self.__tau_plus_data = get_exp_lut_array(ts, self.__tau_plus) self.__tau_minus_data = get_exp_lut_array(ts, self.__tau_minus) self.__tau_x_data = get_exp_lut_array(ts, self.__tau_x, shift=2) self.__tau_y_data = get_exp_lut_array(ts, self.__tau_y, shift=2)
def __init__(self, alpha, tau=default_parameters['tau']): self._alpha = alpha self._tau = tau self._synapse_structure = SynapseStructureWeightOnly()