def __init__(self, n_neurons, machine_time_step, v_init, v_rest, tau_m, cm, i_offset, v_reset, tau_refrac): NeuronModelLeakyIntegrate.__init__(self, n_neurons, machine_time_step, v_init, v_rest, tau_m, cm, i_offset) self._v_reset = utility_calls.convert_param_to_numpy( v_reset, n_neurons) self._tau_refrac = utility_calls.convert_param_to_numpy( tau_refrac, n_neurons)
def __init__(self, n_neurons, machine_time_step, v_init, v_rest, tau_m, cm, i_offset, v_reset, tau_refrac): NeuronModelLeakyIntegrate.__init__( self, n_neurons, machine_time_step, v_init, v_rest, tau_m, cm, i_offset) self._v_reset = utility_calls.convert_param_to_numpy( v_reset, n_neurons) self._tau_refrac = utility_calls.convert_param_to_numpy( tau_refrac, n_neurons)
def __init__(self, n_neurons, v_init, v_rest, tau_m, cm, i_offset, v_reset, tau_refrac): NeuronModelLeakyIntegrate.__init__(self, n_neurons, v_init, v_rest, tau_m, cm, i_offset) self._v_reset = utility_calls.convert_param_to_numpy( v_reset, n_neurons) self._tau_refrac = utility_calls.convert_param_to_numpy( tau_refrac, n_neurons) self._countdown_to_refactory_period = \ utility_calls.convert_param_to_numpy(0, n_neurons) self._my_units = {'v_reset': 'mV', 'tau_refac': 'ms'}