//30posFillin.g

str cellpath = "/cell"
setfield /data/soma overlay 1
reset

float isi = 0.005
int i
for (i=1; i<7; i=i+1)
	echo {isi}

	step 0.22 -time
	
	setfield {cellpath}/soma inject 0.65e-9 

	step {isi} -time
	
	setfield {cellpath}/secdend1/spine_1/presyn_ext z {1/{getclock 0}}
	setfield {cellpath}/secdend1/spine_2/presyn_ext z {1/{getclock 0}}

	step 1

	setfield {cellpath}/secdend1/spine_1/presyn_ext z 0
	setfield {cellpath}/secdend1/spine_2/presyn_ext z 0

	step {0.03 - {isi}} -time
	setfield {cellpath}/soma inject 0
	step {0.47-0} -time
	reset
	isi={{isi}+0.005}
end