@@ -40,7 +40,7 @@ class ExternalDeviceLifControl(
4040 default_parameters = {
4141 'tau_m' : 20.0 , 'cm' : 1.0 , 'v_rest' : 0.0 , 'v_reset' : 0.0 ,
4242 'tau_syn_E' : 5.0 , 'tau_syn_I' : 5.0 , 'tau_refrac' : 0.1 , 'i_offset' : 0 ,
43- 'initial_input_inh ' : 0 , 'initial_input_exc ' : 0 }
43+ 'isyn_exc ' : 0.0 , 'isyn_inh ' : 0. 0 }
4444
4545 none_pynn_default_parameters = {'v_init' : None }
4646
@@ -71,8 +71,8 @@ def __init__(
7171 tau_refrac = default_parameters ['tau_refrac' ],
7272 i_offset = default_parameters ['i_offset' ],
7373 v_init = none_pynn_default_parameters ['v_init' ],
74- initial_input_inh = default_parameters ['initial_input_inh ' ],
75- initial_input_exc = default_parameters ['initial_input_exc ' ]
74+ isyn_inh = default_parameters ['isyn_inh ' ],
75+ isyn_exc = default_parameters ['isyn_exc ' ]
7676 ):
7777 """
7878
@@ -112,8 +112,8 @@ def __init__(
112112 v_reset , tau_refrac )
113113 synapse_type = SynapseTypeExponential (
114114 n_neurons , tau_syn_E , tau_syn_I ,
115- initial_input_inh = initial_input_inh ,
116- initial_input_exc = initial_input_exc )
115+ initial_input_inh = isyn_inh ,
116+ initial_input_exc = isyn_exc )
117117 input_type = InputTypeCurrent ()
118118 threshold_type = ThresholdTypeMulticastDeviceControl (devices )
119119
0 commit comments