Hi everyone. Dear Marcel I need your help again! I should reset two potentials in a neuron group for a threshold voltage but it doesn’t work.
I wish it work in brian!
eqsfsi = Equations(’’’
dv_fsi/dt = ((0.04 * v_fsi**2) + 5.v_fsi + 140. - u_fsi - I_eictx )/(ms) : 1
du_fsi/dt = (a_fsi((b_fsi*v_fsi)-u_fsi))/(ms) : 1
Gictx = NeuronGroup(num_neuronsictx, model=eqsfsi,
method=‘euler’, threshold = ‘v_fsi >= 30.’, reset = ‘the below condition’ )
‘’’)
condition " v_fsi=c_fsi and u_fsi=b_fsi*c_fsi"