-
Notifications
You must be signed in to change notification settings - Fork 0
/
cellwrapper3.py
221 lines (219 loc) · 8.13 KB
/
cellwrapper3.py
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
from neuron import h
import os, pathlib
import sys
import tmsneurosim
from tmsneurosim.nrn import cells
def loadCell_tmsneurosim(cellName, id):
print(cellName)
cell = cellClass[cellName](id)
cell.load()
return cell
cellClass = {
"L1_DAC_bNAC": cells.L1_DAC_bNAC,
"L1_DAC_cNAC": cells.L1_DAC_cNAC,
"L1_DLAC_cNAC": cells.L1_DLAC_cNAC,
"L1_HAC_bNAC": cells.L1_HAC_bNAC,
"L1_HAC_cIR": cells.L1_HAC_cIR,
"L1_HAC_cNAC": cells.L1_HAC_cNAC,
"L1_NGC_DA_bNAC": cells.L1_NGC_DA_bNAC,
"L1_NGC_DA_cACint": cells.L1_NGC_DA_cACint,
"L1_NGC_DA_cNAC": cells.L1_NGC_DA_cNAC,
"L1_NGC_DA_cSTUT": cells.L1_NGC_DA_cSTUT,
"L1_NGC_SA_cNAC": cells.L1_NGC_SA_cNAC,
"L1_SLAC_bNAC": cells.L1_SLAC_bNAC,
"L1_SLAC_cACint": cells.L1_SLAC_cACint,
"L1_SLAC_cNAC": cells.L1_SLAC_cNAC,
"L23_BP_bAC": cells.L23_BP_bAC,
"L23_BP_bIR": cells.L23_BP_bIR,
"L23_BP_bNAC": cells.L23_BP_bNAC,
"L23_BP_cACint": cells.L23_BP_cACint,
"L23_BP_cNAC": cells.L23_BP_cNAC,
"L23_BP_dSTUT": cells.L23_BP_dSTUT,
"L23_BTC_bAC": cells.L23_BTC_bAC,
"L23_BTC_bIR": cells.L23_BTC_bIR,
"L23_BTC_bNAC": cells.L23_BTC_bNAC,
"L23_BTC_cACint": cells.L23_BTC_cACint,
"L23_BTC_cNAC": cells.L23_BTC_cNAC,
"L23_ChC_cACint": cells.L23_ChC_cACint,
"L23_ChC_cNAC": cells.L23_ChC_cNAC,
"L23_ChC_dNAC": cells.L23_ChC_dNAC,
"L23_DBC_bAC": cells.L23_DBC_bAC,
"L23_DBC_bIR": cells.L23_DBC_bIR,
"L23_DBC_bNAC": cells.L23_DBC_bNAC,
"L23_DBC_cACint": cells.L23_DBC_cACint,
"L23_LBC_bAC": cells.L23_LBC_bAC,
"L23_LBC_bNAC": cells.L23_LBC_bNAC,
"L23_LBC_cACint": cells.L23_LBC_cACint,
"L23_LBC_cNAC": cells.L23_LBC_cNAC,
"L23_LBC_cSTUT": cells.L23_LBC_cSTUT,
"L23_LBC_dNAC": cells.L23_LBC_dNAC,
"L23_MC_bAC": cells.L23_MC_bAC,
"L23_MC_bNAC": cells.L23_MC_bNAC,
"L23_MC_cACint": cells.L23_MC_cACint,
"L23_MC_cNAC": cells.L23_MC_cNAC,
"L23_MC_dNAC": cells.L23_MC_dNAC,
"L23_NBC_bAC": cells.L23_NBC_bAC,
"L23_NBC_bNAC": cells.L23_NBC_bNAC,
"L23_NBC_cACint": cells.L23_NBC_cACint,
"L23_NBC_cIR": cells.L23_NBC_cIR,
"L23_NBC_cNAC": cells.L23_NBC_cNAC,
"L23_NBC_dNAC": cells.L23_NBC_dNAC,
"L23_NGC_bNAC": cells.L23_NGC_bNAC,
"L23_NGC_cACint": cells.L23_NGC_cACint,
"L23_NGC_cNAC": cells.L23_NGC_cNAC,
"L23_NGC_cSTUT": cells.L23_NGC_cSTUT,
"L23_PC_cADpyr": cells.L23_PC_cADpyr,
"L23_SBC_bNAC": cells.L23_SBC_bNAC,
"L23_SBC_cACint": cells.L23_SBC_cACint,
"L23_SBC_dNAC": cells.L23_SBC_dNAC,
"L4_BP_bAC": cells.L4_BP_bAC,
"L4_BP_bIR": cells.L4_BP_bIR,
"L4_BP_bNAC": cells.L4_BP_bNAC,
"L4_BP_cACint": cells.L4_BP_cACint,
"L4_BP_cNAC": cells.L4_BP_cNAC,
"L4_BP_dSTUT": cells.L4_BP_dSTUT,
"L4_BTC_bAC": cells.L4_BTC_bAC,
"L4_BTC_bIR": cells.L4_BTC_bIR,
"L4_BTC_bSTUT": cells.L4_BTC_bSTUT,
"L4_BTC_cACint": cells.L4_BTC_cACint,
"L4_BTC_cNAC": cells.L4_BTC_cNAC,
"L4_BTC_dNAC": cells.L4_BTC_dNAC,
"L4_ChC_cACint": cells.L4_ChC_cACint,
"L4_ChC_cNAC": cells.L4_ChC_cNAC,
"L4_ChC_dNAC": cells.L4_ChC_dNAC,
"L4_DBC_bAC": cells.L4_DBC_bAC,
"L4_DBC_bIR": cells.L4_DBC_bIR,
"L4_DBC_bNAC": cells.L4_DBC_bNAC,
"L4_DBC_bSTUT": cells.L4_DBC_bSTUT,
"L4_DBC_cACint": cells.L4_DBC_cACint,
"L4_DBC_cIR": cells.L4_DBC_cIR,
"L4_DBC_cNAC": cells.L4_DBC_cNAC,
"L4_LBC_cACint": cells.L4_LBC_cACint,
"L4_LBC_cNAC": cells.L4_LBC_cNAC,
"L4_LBC_cSTUT": cells.L4_LBC_cSTUT,
"L4_LBC_dNAC": cells.L4_LBC_dNAC,
"L4_LBC_dSTUT": cells.L4_LBC_dSTUT,
"L4_MC_bAC": cells.L4_MC_bAC,
"L4_MC_bNAC": cells.L4_MC_bNAC,
"L4_MC_cACint": cells.L4_MC_cACint,
"L4_MC_cNAC": cells.L4_MC_cNAC,
"L4_MC_dNAC": cells.L4_MC_dNAC,
"L4_NBC_cACint": cells.L4_NBC_cACint,
"L4_NBC_cIR": cells.L4_NBC_cIR,
"L4_NBC_cNAC": cells.L4_NBC_cNAC,
"L4_NBC_dNAC": cells.L4_NBC_dNAC,
"L4_NGC_bNAC": cells.L4_NGC_bNAC,
"L4_NGC_cACint": cells.L4_NGC_cACint,
"L4_NGC_cNAC": cells.L4_NGC_cNAC,
"L4_NGC_cSTUT": cells.L4_NGC_cSTUT,
"L4_PC_cADpyr": cells.L4_PC_cADpyr,
"L4_SBC_bNAC": cells.L4_SBC_bNAC,
"L4_SBC_cACint": cells.L4_SBC_cACint,
"L4_SBC_dNAC": cells.L4_SBC_dNAC,
"L4_SP_cADpyr": cells.L4_SP_cADpyr,
"L4_SS_cADpyr": cells.L4_SS_cADpyr,
"L5_BP_bAC": cells.L5_BP_bAC,
"L5_BP_bIR": cells.L5_BP_bIR,
"L5_BP_bNAC": cells.L5_BP_bNAC,
"L5_BP_cACint": cells.L5_BP_cACint,
"L5_BP_cNAC": cells.L5_BP_cNAC,
"L5_BP_dSTUT": cells.L5_BP_dSTUT,
"L5_BTC_bAC": cells.L5_BTC_bAC,
"L5_BTC_cACint": cells.L5_BTC_cACint,
"L5_BTC_cNAC": cells.L5_BTC_cNAC,
"L5_ChC_cACint": cells.L5_ChC_cACint,
"L5_ChC_cNAC": cells.L5_ChC_cNAC,
"L5_ChC_dNAC": cells.L5_ChC_dNAC,
"L5_DBC_bAC": cells.L5_DBC_bAC,
"L5_DBC_bIR": cells.L5_DBC_bIR,
"L5_DBC_bNAC": cells.L5_DBC_bNAC,
"L5_DBC_bSTUT": cells.L5_DBC_bSTUT,
"L5_DBC_cACint": cells.L5_DBC_cACint,
"L5_DBC_cIR": cells.L5_DBC_cIR,
"L5_DBC_cNAC": cells.L5_DBC_cNAC,
"L5_LBC_bAC": cells.L5_LBC_bAC,
"L5_LBC_cACint": cells.L5_LBC_cACint,
"L5_LBC_cIR": cells.L5_LBC_cIR,
"L5_LBC_cNAC": cells.L5_LBC_cNAC,
"L5_LBC_cSTUT": cells.L5_LBC_cSTUT,
"L5_LBC_dNAC": cells.L5_LBC_dNAC,
"L5_LBC_dSTUT": cells.L5_LBC_dSTUT,
"L5_MC_bAC": cells.L5_MC_bAC,
"L5_MC_bIR": cells.L5_MC_bIR,
"L5_MC_bSTUT": cells.L5_MC_bSTUT,
"L5_MC_cACint": cells.L5_MC_cACint,
"L5_MC_cNAC": cells.L5_MC_cNAC,
"L5_MC_cSTUT": cells.L5_MC_cSTUT,
"L5_MC_dNAC": cells.L5_MC_dNAC,
"L5_NBC_bAC": cells.L5_NBC_bAC,
"L5_NBC_bIR": cells.L5_NBC_bIR,
"L5_NBC_bSTUT": cells.L5_NBC_bSTUT,
"L5_NBC_cACint": cells.L5_NBC_cACint,
"L5_NBC_cIR": cells.L5_NBC_cIR,
"L5_NBC_cNAC": cells.L5_NBC_cNAC,
"L5_NBC_cSTUT": cells.L5_NBC_cSTUT,
"L5_NBC_dSTUT": cells.L5_NBC_dSTUT,
"L5_NGC_bNAC": cells.L5_NGC_bNAC,
"L5_NGC_cACint": cells.L5_NGC_cACint,
"L5_NGC_cNAC": cells.L5_NGC_cNAC,
"L5_NGC_cSTUT": cells.L5_NGC_cSTUT,
"L5_SBC_bNAC": cells.L5_SBC_bNAC,
"L5_SBC_cACint": cells.L5_SBC_cACint,
"L5_SBC_dNAC": cells.L5_SBC_dNAC,
"L5_STPC_cADpyr": cells.L5_STPC_cADpyr,
"L5_TTPC1_cADpyr": cells.L5_TTPC1_cADpyr,
"L5_TTPC2_cADpyr": cells.L5_TTPC2_cADpyr,
"L5_UTPC_cADpyr": cells.L5_UTPC_cADpyr,
"L6_BPC_cADpyr": cells.L6_BPC_cADpyr,
"L6_BP_bAC": cells.L6_BP_bAC,
"L6_BP_bIR": cells.L6_BP_bIR,
"L6_BP_bNAC": cells.L6_BP_bNAC,
"L6_BP_cACint": cells.L6_BP_cACint,
"L6_BP_cNAC": cells.L6_BP_cNAC,
"L6_BP_dSTUT": cells.L6_BP_dSTUT,
"L6_BTC_bAC": cells.L6_BTC_bAC,
"L6_BTC_cACint": cells.L6_BTC_cACint,
"L6_BTC_cNAC": cells.L6_BTC_cNAC,
"L6_ChC_cACint": cells.L6_ChC_cACint,
"L6_ChC_cNAC": cells.L6_ChC_cNAC,
"L6_ChC_dNAC": cells.L6_ChC_dNAC,
"L6_DBC_bAC": cells.L6_DBC_bAC,
"L6_DBC_bIR": cells.L6_DBC_bIR,
"L6_DBC_bNAC": cells.L6_DBC_bNAC,
"L6_DBC_bSTUT": cells.L6_DBC_bSTUT,
"L6_DBC_cACint": cells.L6_DBC_cACint,
"L6_DBC_cIR": cells.L6_DBC_cIR,
"L6_DBC_cNAC": cells.L6_DBC_cNAC,
"L6_IPC_cADpyr": cells.L6_IPC_cADpyr,
"L6_LBC_bAC": cells.L6_LBC_bAC,
"L6_LBC_bIR": cells.L6_LBC_bIR,
"L6_LBC_bNAC": cells.L6_LBC_bNAC,
"L6_LBC_bSTUT": cells.L6_LBC_bSTUT,
"L6_LBC_cNAC": cells.L6_LBC_cNAC,
"L6_LBC_cSTUT": cells.L6_LBC_cSTUT,
"L6_MC_bAC": cells.L6_MC_bAC,
"L6_MC_bIR": cells.L6_MC_bIR,
"L6_MC_bNAC": cells.L6_MC_bNAC,
"L6_MC_bSTUT": cells.L6_MC_bSTUT,
"L6_MC_cACint": cells.L6_MC_cACint,
"L6_MC_cIR": cells.L6_MC_cIR,
"L6_MC_cNAC": cells.L6_MC_cNAC,
"L6_NBC_bAC": cells.L6_NBC_bAC,
"L6_NBC_bIR": cells.L6_NBC_bIR,
"L6_NBC_bSTUT": cells.L6_NBC_bSTUT,
"L6_NBC_cACint": cells.L6_NBC_cACint,
"L6_NBC_cIR": cells.L6_NBC_cIR,
"L6_NBC_cNAC": cells.L6_NBC_cNAC,
"L6_NBC_cSTUT": cells.L6_NBC_cSTUT,
"L6_NBC_dSTUT": cells.L6_NBC_dSTUT,
"L6_NGC_bNAC": cells.L6_NGC_bNAC,
"L6_NGC_cACint": cells.L6_NGC_cACint,
"L6_NGC_cNAC": cells.L6_NGC_cNAC,
"L6_NGC_cSTUT": cells.L6_NGC_cSTUT,
"L6_SBC_bNAC": cells.L6_SBC_bNAC,
"L6_SBC_cACint": cells.L6_SBC_cACint,
"L6_SBC_dNAC": cells.L6_SBC_dNAC,
"L6_TPC_L1_cADpyr": cells.L6_TPC_L1_cADpyr,
"L6_TPC_L4_cADpyr": cells.L6_TPC_L4_cADpyr,
"L6_UTPC_cADpyr": cells.L6_UTPC_cADpyr,
}