load_file("LoadModel_mul2.hoc")

objref savdata
objref savparam
savdata = new File()
savparam = new File()
savdata.wopen("simulationData_10.dat")
savparam.wopen("simulationData_param_10.dat")


// Analyze timing and distance dependence of Ca-inhibition

numi = 1	// loop over location
numj = 13	// loop over time differences, odd number
numk = 8	// loop over conductances, at least 2

dt = 0.025
tstop = 20
stimstart = 5
timestart = 3
tau = 1
tau1 = 0.6
tau2 = 1.7
tau3 = 1

// inhibitory synapse conductance in uS
gi_0 = 0.002
gi_inc = 0.006

access soma[4]
distance(0,1)

dendr=16
synpos=0.3
objref dendr_pre, dendr_post, dendr_side, ident_side
objref sl,sl_orig
dendr_pre = new Vector(0)
dendr_post = new Vector(0)
dendr_side = new Vector(0)
ident_side = new Vector(0)
sl = new Vector(0)
sl_orig = new Vector(0)

dendr_pre.append(15,14,6,4,0)
dendr_post.append(22,23,25,26,27,41,42,46)
dendr_side.append(113)
sl.append(5,10,20,20,20,20,50,50)
sl_orig = sl.c

load_file("ExpProcedure_mul2.hoc")