-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path30possec.g
53 lines (37 loc) · 1.02 KB
/
30possec.g
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//30posSec.g
str cellpath = "/cell"
setfield /data/soma overlay 1
reset
//start stim for 0 ms isi
step 0.22 -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 -time
setfield {cellpath}/soma inject 0.65e-9
step 0.03 -time
setfield {cellpath}/soma inject 0
step {0.47-0} -time
reset
//for loop to run through rest
float isi = 0.01
reset
int i
for (i=1; i<9; i=i+1)
echo {isi}
step 0.22 -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 {isi} -time
setfield {cellpath}/soma inject 0.65e-9
step 0.03 -time
setfield {cellpath}/soma inject 0
step {0.47-{isi}} -time
isi = {isi}+0.01
reset
end