-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetupSynapseTypes.m
More file actions
150 lines (115 loc) · 3.1 KB
/
setupSynapseTypes.m
File metadata and controls
150 lines (115 loc) · 3.1 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
% Produces a list of synapse types, specifying the reversal potential and
% rise/decay constants. This is a "database" that is used for creating
% the actual synapses in our network.
% 1: RS to RS
% 2: RS to FS
% 3: RS to LTS
% 4: FS to RS
% 5: FS self-synapse
% 6: FS to LTS
% 7: LTS to RS
% 8: LTS to FS
% 9: LTS self-synapse
% 12: LTS to IB
% 13: IB to FS
% 14: IB to LTS
% 19: IB axon to IB basal
% 51: Input to RS
numSynapseTypes=51; % Not all numbers used
rsRsRise=0.125;% This is half of the value specified in the model description (because of the difference in the formula used in the code, see file synapse.m)
rsRsDecay=1;
rsBasketRise=0.125;% This is half of the value specified in the model.
rsBasketDecay=1;
rsLtsRise=1.25;% This is half of the value specified in the model.
rsLtsDecay=1;
basketRsRise=0.25;
basketRsDecay=5;
basketBasketRise=0.25;
basketBasketDecay=5;
basketLtsRise=0.25;
basketLtsDecay=6;
ltsRsRise=0.25;
ltsRsDecay=20;
ltsLtsRise=0.25;
ltsLtsDecay=20;
ltsIbApicalRise=0.25;
ltsIbApicalDecay=20;
ibAxonBasketRise=0.125;
ibAxonBasketDecay=1;
ibAxonLtsRise=1.25;
ibAxonLtsDecay=50;
ibAxonIbBasalRise=0.25;
ibAxonIbBasalDecay=100;
typeVrev=zeros(numSynapseTypes,1);
typeRise=zeros(numSynapseTypes,1);
typeDecay=zeros(numSynapseTypes,1);
% 1: RS to RS
synType=1; % the variable is only used temporarily
typeVrev(synType)=0;
typeRise(synType)=rsRsRise;
typeDecay(synType)=rsRsDecay;
% 2: RS to FS
synType=2;
typeVrev(synType)=0;
typeRise(synType)=rsBasketRise;
typeDecay(synType)=rsBasketDecay;
% 3: RS to LTS
synType=3;
typeVrev(synType)=0;
typeRise(synType)=rsLtsRise;
typeDecay(synType)=rsLtsDecay;
% 4: FS to RS
synType=4;
typeVrev(synType)=-80;
typeRise(synType)=basketRsRise;
typeDecay(synType)=basketRsDecay;
% 5: FS self-synapse
synType=5;
typeVrev(synType)=-75;
typeRise(synType)=basketBasketRise;
typeDecay(synType)=basketBasketDecay;
% 6: FS to LTS
synType=6;
typeVrev(synType)=-80;
typeRise(synType)=basketLtsRise;
typeDecay(synType)=basketLtsDecay;
% 7: LTS to RS
synType=7;
typeVrev(synType)=-80;
typeRise(synType)=ltsRsRise;
typeDecay(synType)=ltsRsDecay;
% 8: LTS to FS
synType=8;
typeVrev(synType)=-80;
typeRise(synType)=ltsRsRise; % use same rise and decay constants as for LTS->RS cell
typeDecay(synType)=ltsRsDecay;
% 9: LTS self-synapse
synType=9;
typeVrev(synType)=-80;
typeRise(synType)=ltsLtsRise;
typeDecay(synType)=ltsLtsDecay;
% 12: LTS to IB
synType=12;
typeVrev(synType)=-80;
typeRise(synType)=ltsIbApicalRise;
typeDecay(synType)=ltsIbApicalDecay;
% 13: IB to FS
synType=13;
typeVrev(synType)=0;
typeRise(synType)=ibAxonBasketRise;
typeDecay(synType)=ibAxonBasketDecay;
% 14: IB to LTS
synType=14;
typeVrev(synType)=0;
typeRise(synType)=ibAxonLtsRise;
typeDecay(synType)=ibAxonLtsDecay;
% 19: IB axon to IB basal
synType=19;
typeVrev(synType)=0;
typeRise(synType)=ibAxonIbBasalRise;
typeDecay(synType)=ibAxonIbBasalDecay;
% 51: Input - Excitatory rhythmic
synType=51;
typeVrev(synType)=0;
typeRise(synType)=0.1;
typeDecay(synType)=0.5;