wormsim 0.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (796) hide show
  1. wormsim/__init__.py +0 -0
  2. wormsim/abstract_circuit.py +172 -0
  3. wormsim/circuit.pkl +0 -0
  4. wormsim/components/__init__.py +0 -0
  5. wormsim/components/mechanism/__init__.py +0 -0
  6. wormsim/components/mechanism/modfile/__init__.py +0 -0
  7. wormsim/components/mechanism/modfile/cainternm.mod +75 -0
  8. wormsim/components/mechanism/modfile/cca1.mod +87 -0
  9. wormsim/components/mechanism/modfile/egl19.mod +100 -0
  10. wormsim/components/mechanism/modfile/egl2.mod +76 -0
  11. wormsim/components/mechanism/modfile/egl36.mod +92 -0
  12. wormsim/components/mechanism/modfile/exc_syn_advance.mod +91 -0
  13. wormsim/components/mechanism/modfile/gapjunction.mod +41 -0
  14. wormsim/components/mechanism/modfile/gapjunction_advance.mod +40 -0
  15. wormsim/components/mechanism/modfile/inh_syn_advance.mod +91 -0
  16. wormsim/components/mechanism/modfile/irk.mod +76 -0
  17. wormsim/components/mechanism/modfile/kcnl.mod +76 -0
  18. wormsim/components/mechanism/modfile/kqt3.mod +110 -0
  19. wormsim/components/mechanism/modfile/kvs1.mod +87 -0
  20. wormsim/components/mechanism/modfile/nca.mod +41 -0
  21. wormsim/components/mechanism/modfile/neuron_to_neuron_exc_syn.mod +92 -0
  22. wormsim/components/mechanism/modfile/neuron_to_neuron_inh_syn.mod +92 -0
  23. wormsim/components/mechanism/modfile/shk1.mod +86 -0
  24. wormsim/components/mechanism/modfile/shl1.mod +101 -0
  25. wormsim/components/mechanism/modfile/slo1_egl19.mod +148 -0
  26. wormsim/components/mechanism/modfile/slo1_unc2.mod +139 -0
  27. wormsim/components/mechanism/modfile/slo2_egl19.mod +148 -0
  28. wormsim/components/mechanism/modfile/slo2_unc2.mod +138 -0
  29. wormsim/components/mechanism/modfile/unc2.mod +90 -0
  30. wormsim/components/mechanism/x86_64/__init__.py +0 -0
  31. wormsim/components/mechanism/x86_64/cainternm.c +594 -0
  32. wormsim/components/mechanism/x86_64/cainternm.o +0 -0
  33. wormsim/components/mechanism/x86_64/cca1.c +621 -0
  34. wormsim/components/mechanism/x86_64/cca1.o +0 -0
  35. wormsim/components/mechanism/x86_64/egl19.c +681 -0
  36. wormsim/components/mechanism/x86_64/egl19.o +0 -0
  37. wormsim/components/mechanism/x86_64/egl2.c +569 -0
  38. wormsim/components/mechanism/x86_64/egl2.o +0 -0
  39. wormsim/components/mechanism/x86_64/egl36.c +615 -0
  40. wormsim/components/mechanism/x86_64/egl36.o +0 -0
  41. wormsim/components/mechanism/x86_64/exc_syn_advance.c +587 -0
  42. wormsim/components/mechanism/x86_64/exc_syn_advance.o +0 -0
  43. wormsim/components/mechanism/x86_64/gapjunction.c +364 -0
  44. wormsim/components/mechanism/x86_64/gapjunction.o +0 -0
  45. wormsim/components/mechanism/x86_64/gapjunction_advance.c +378 -0
  46. wormsim/components/mechanism/x86_64/gapjunction_advance.o +0 -0
  47. wormsim/components/mechanism/x86_64/inh_syn_advance.c +587 -0
  48. wormsim/components/mechanism/x86_64/inh_syn_advance.o +0 -0
  49. wormsim/components/mechanism/x86_64/irk.c +577 -0
  50. wormsim/components/mechanism/x86_64/irk.o +0 -0
  51. wormsim/components/mechanism/x86_64/kcnl.c +565 -0
  52. wormsim/components/mechanism/x86_64/kcnl.o +0 -0
  53. wormsim/components/mechanism/x86_64/kqt3.c +723 -0
  54. wormsim/components/mechanism/x86_64/kqt3.o +0 -0
  55. wormsim/components/mechanism/x86_64/kvs1.c +621 -0
  56. wormsim/components/mechanism/x86_64/kvs1.o +0 -0
  57. wormsim/components/mechanism/x86_64/makemod2c_inc +185 -0
  58. wormsim/components/mechanism/x86_64/mod_func.c +82 -0
  59. wormsim/components/mechanism/x86_64/mod_func.o +0 -0
  60. wormsim/components/mechanism/x86_64/nca.c +366 -0
  61. wormsim/components/mechanism/x86_64/nca.o +0 -0
  62. wormsim/components/mechanism/x86_64/neuron_to_neuron_exc_syn.c +572 -0
  63. wormsim/components/mechanism/x86_64/neuron_to_neuron_exc_syn.o +0 -0
  64. wormsim/components/mechanism/x86_64/neuron_to_neuron_inh_syn.c +572 -0
  65. wormsim/components/mechanism/x86_64/neuron_to_neuron_inh_syn.o +0 -0
  66. wormsim/components/mechanism/x86_64/shk1.c +616 -0
  67. wormsim/components/mechanism/x86_64/shk1.o +0 -0
  68. wormsim/components/mechanism/x86_64/shl1.c +676 -0
  69. wormsim/components/mechanism/x86_64/shl1.o +0 -0
  70. wormsim/components/mechanism/x86_64/slo1_egl19.c +820 -0
  71. wormsim/components/mechanism/x86_64/slo1_egl19.o +0 -0
  72. wormsim/components/mechanism/x86_64/slo1_unc2.c +777 -0
  73. wormsim/components/mechanism/x86_64/slo1_unc2.o +0 -0
  74. wormsim/components/mechanism/x86_64/slo2_egl19.c +820 -0
  75. wormsim/components/mechanism/x86_64/slo2_egl19.o +0 -0
  76. wormsim/components/mechanism/x86_64/slo2_unc2.c +775 -0
  77. wormsim/components/mechanism/x86_64/slo2_unc2.o +0 -0
  78. wormsim/components/mechanism/x86_64/special +17 -0
  79. wormsim/components/mechanism/x86_64/unc2.c +636 -0
  80. wormsim/components/mechanism/x86_64/unc2.o +0 -0
  81. wormsim/components/model/ADAL.hoc +135 -0
  82. wormsim/components/model/ADAR.hoc +135 -0
  83. wormsim/components/model/ADEL.hoc +183 -0
  84. wormsim/components/model/ADER.hoc +183 -0
  85. wormsim/components/model/ADFL.hoc +164 -0
  86. wormsim/components/model/ADFR.hoc +164 -0
  87. wormsim/components/model/ADLL.hoc +185 -0
  88. wormsim/components/model/ADLR.hoc +185 -0
  89. wormsim/components/model/AFDL.hoc +164 -0
  90. wormsim/components/model/AFDR.hoc +164 -0
  91. wormsim/components/model/AIAL.hoc +129 -0
  92. wormsim/components/model/AIAR.hoc +129 -0
  93. wormsim/components/model/AIBL.hoc +147 -0
  94. wormsim/components/model/AIBR.hoc +147 -0
  95. wormsim/components/model/AIML.hoc +130 -0
  96. wormsim/components/model/AIMR.hoc +130 -0
  97. wormsim/components/model/AINL.hoc +157 -0
  98. wormsim/components/model/AINR.hoc +157 -0
  99. wormsim/components/model/AIYL.hoc +129 -0
  100. wormsim/components/model/AIYR.hoc +129 -0
  101. wormsim/components/model/AIZL.hoc +137 -0
  102. wormsim/components/model/AIZR.hoc +137 -0
  103. wormsim/components/model/ALA.hoc +148 -0
  104. wormsim/components/model/ALML.hoc +203 -0
  105. wormsim/components/model/ALMR.hoc +203 -0
  106. wormsim/components/model/ALNL.hoc +175 -0
  107. wormsim/components/model/ALNR.hoc +175 -0
  108. wormsim/components/model/AQR.hoc +187 -0
  109. wormsim/components/model/AS01.hoc +151 -0
  110. wormsim/components/model/AS02.hoc +152 -0
  111. wormsim/components/model/AS03.hoc +151 -0
  112. wormsim/components/model/AS04.hoc +154 -0
  113. wormsim/components/model/AS05.hoc +155 -0
  114. wormsim/components/model/AS06.hoc +153 -0
  115. wormsim/components/model/AS07.hoc +156 -0
  116. wormsim/components/model/AS08.hoc +158 -0
  117. wormsim/components/model/AS09.hoc +154 -0
  118. wormsim/components/model/AS10.hoc +153 -0
  119. wormsim/components/model/AS11.hoc +154 -0
  120. wormsim/components/model/ASEL.hoc +173 -0
  121. wormsim/components/model/ASER.hoc +173 -0
  122. wormsim/components/model/ASGL.hoc +160 -0
  123. wormsim/components/model/ASGR.hoc +160 -0
  124. wormsim/components/model/ASHL.hoc +165 -0
  125. wormsim/components/model/ASHR.hoc +165 -0
  126. wormsim/components/model/ASIL.hoc +168 -0
  127. wormsim/components/model/ASIR.hoc +168 -0
  128. wormsim/components/model/ASJL.hoc +167 -0
  129. wormsim/components/model/ASJR.hoc +167 -0
  130. wormsim/components/model/ASKL.hoc +165 -0
  131. wormsim/components/model/ASKR.hoc +165 -0
  132. wormsim/components/model/AUAL.hoc +164 -0
  133. wormsim/components/model/AUAR.hoc +164 -0
  134. wormsim/components/model/AVAL.hoc +197 -0
  135. wormsim/components/model/AVAR.hoc +197 -0
  136. wormsim/components/model/AVBL.hoc +216 -0
  137. wormsim/components/model/AVBR.hoc +216 -0
  138. wormsim/components/model/AVDL.hoc +197 -0
  139. wormsim/components/model/AVDR.hoc +197 -0
  140. wormsim/components/model/AVEL.hoc +149 -0
  141. wormsim/components/model/AVER.hoc +149 -0
  142. wormsim/components/model/AVFL.hoc +195 -0
  143. wormsim/components/model/AVFR.hoc +196 -0
  144. wormsim/components/model/AVG.hoc +166 -0
  145. wormsim/components/model/AVHL.hoc +172 -0
  146. wormsim/components/model/AVHR.hoc +172 -0
  147. wormsim/components/model/AVJL.hoc +173 -0
  148. wormsim/components/model/AVJR.hoc +172 -0
  149. wormsim/components/model/AVKL.hoc +204 -0
  150. wormsim/components/model/AVKR.hoc +204 -0
  151. wormsim/components/model/AVL.hoc +180 -0
  152. wormsim/components/model/AVM.hoc +203 -0
  153. wormsim/components/model/AWAL.hoc +165 -0
  154. wormsim/components/model/AWAR.hoc +165 -0
  155. wormsim/components/model/AWBL.hoc +165 -0
  156. wormsim/components/model/AWBR.hoc +165 -0
  157. wormsim/components/model/AWCL.hoc +168 -0
  158. wormsim/components/model/AWCR.hoc +168 -0
  159. wormsim/components/model/BAGL.hoc +160 -0
  160. wormsim/components/model/BAGR.hoc +160 -0
  161. wormsim/components/model/BDUL.hoc +136 -0
  162. wormsim/components/model/BDUR.hoc +136 -0
  163. wormsim/components/model/CANL.hoc +165 -0
  164. wormsim/components/model/CANR.hoc +165 -0
  165. wormsim/components/model/CEPDL.hoc +182 -0
  166. wormsim/components/model/CEPDR.hoc +182 -0
  167. wormsim/components/model/CEPVL.hoc +179 -0
  168. wormsim/components/model/CEPVR.hoc +179 -0
  169. wormsim/components/model/DA01.hoc +177 -0
  170. wormsim/components/model/DA02.hoc +180 -0
  171. wormsim/components/model/DA03.hoc +160 -0
  172. wormsim/components/model/DA04.hoc +167 -0
  173. wormsim/components/model/DA05.hoc +176 -0
  174. wormsim/components/model/DA06.hoc +187 -0
  175. wormsim/components/model/DA07.hoc +175 -0
  176. wormsim/components/model/DA08.hoc +161 -0
  177. wormsim/components/model/DA09.hoc +161 -0
  178. wormsim/components/model/DB01.hoc +193 -0
  179. wormsim/components/model/DB02.hoc +184 -0
  180. wormsim/components/model/DB03.hoc +181 -0
  181. wormsim/components/model/DB04.hoc +190 -0
  182. wormsim/components/model/DB05.hoc +182 -0
  183. wormsim/components/model/DB06.hoc +166 -0
  184. wormsim/components/model/DB07.hoc +162 -0
  185. wormsim/components/model/DD01.hoc +180 -0
  186. wormsim/components/model/DD02.hoc +203 -0
  187. wormsim/components/model/DD03.hoc +211 -0
  188. wormsim/components/model/DD04.hoc +221 -0
  189. wormsim/components/model/DD05.hoc +208 -0
  190. wormsim/components/model/DD06.hoc +211 -0
  191. wormsim/components/model/DVA.hoc +178 -0
  192. wormsim/components/model/DVB.hoc +137 -0
  193. wormsim/components/model/DVC.hoc +178 -0
  194. wormsim/components/model/FLPL.hoc +261 -0
  195. wormsim/components/model/FLPR.hoc +261 -0
  196. wormsim/components/model/HSNL.hoc +161 -0
  197. wormsim/components/model/HSNR.hoc +161 -0
  198. wormsim/components/model/I1L.hoc +157 -0
  199. wormsim/components/model/I1R.hoc +157 -0
  200. wormsim/components/model/I2L.hoc +161 -0
  201. wormsim/components/model/I2R.hoc +161 -0
  202. wormsim/components/model/I3.hoc +165 -0
  203. wormsim/components/model/I4.hoc +171 -0
  204. wormsim/components/model/I5.hoc +363 -0
  205. wormsim/components/model/I6.hoc +176 -0
  206. wormsim/components/model/IL1DL.hoc +177 -0
  207. wormsim/components/model/IL1DR.hoc +176 -0
  208. wormsim/components/model/IL1L.hoc +179 -0
  209. wormsim/components/model/IL1R.hoc +179 -0
  210. wormsim/components/model/IL1VL.hoc +151 -0
  211. wormsim/components/model/IL1VR.hoc +151 -0
  212. wormsim/components/model/IL2DL.hoc +151 -0
  213. wormsim/components/model/IL2DR.hoc +151 -0
  214. wormsim/components/model/IL2L.hoc +151 -0
  215. wormsim/components/model/IL2R.hoc +151 -0
  216. wormsim/components/model/IL2VL.hoc +150 -0
  217. wormsim/components/model/IL2VR.hoc +150 -0
  218. wormsim/components/model/LUAL.hoc +129 -0
  219. wormsim/components/model/LUAR.hoc +129 -0
  220. wormsim/components/model/M1.hoc +161 -0
  221. wormsim/components/model/M2L.hoc +131 -0
  222. wormsim/components/model/M2R.hoc +131 -0
  223. wormsim/components/model/M3L.hoc +191 -0
  224. wormsim/components/model/M3R.hoc +191 -0
  225. wormsim/components/model/M4.hoc +192 -0
  226. wormsim/components/model/M5.hoc +256 -0
  227. wormsim/components/model/MCL.hoc +181 -0
  228. wormsim/components/model/MCR.hoc +181 -0
  229. wormsim/components/model/MI.hoc +134 -0
  230. wormsim/components/model/NSML.hoc +165 -0
  231. wormsim/components/model/NSMR.hoc +165 -0
  232. wormsim/components/model/OLLL.hoc +187 -0
  233. wormsim/components/model/OLLR.hoc +187 -0
  234. wormsim/components/model/OLQDL.hoc +175 -0
  235. wormsim/components/model/OLQDR.hoc +175 -0
  236. wormsim/components/model/OLQVL.hoc +150 -0
  237. wormsim/components/model/OLQVR.hoc +150 -0
  238. wormsim/components/model/PDA.hoc +142 -0
  239. wormsim/components/model/PDB.hoc +149 -0
  240. wormsim/components/model/PDEL.hoc +192 -0
  241. wormsim/components/model/PDER.hoc +193 -0
  242. wormsim/components/model/PHAL.hoc +149 -0
  243. wormsim/components/model/PHAR.hoc +149 -0
  244. wormsim/components/model/PHBL.hoc +149 -0
  245. wormsim/components/model/PHBR.hoc +149 -0
  246. wormsim/components/model/PHCL.hoc +154 -0
  247. wormsim/components/model/PHCR.hoc +154 -0
  248. wormsim/components/model/PLML.hoc +216 -0
  249. wormsim/components/model/PLMR.hoc +216 -0
  250. wormsim/components/model/PLNL.hoc +186 -0
  251. wormsim/components/model/PLNR.hoc +187 -0
  252. wormsim/components/model/PQR.hoc +153 -0
  253. wormsim/components/model/PVCL.hoc +173 -0
  254. wormsim/components/model/PVCR.hoc +175 -0
  255. wormsim/components/model/PVDL.hoc +8568 -0
  256. wormsim/components/model/PVDR.hoc +8566 -0
  257. wormsim/components/model/PVM.hoc +151 -0
  258. wormsim/components/model/PVNL.hoc +322 -0
  259. wormsim/components/model/PVNR.hoc +287 -0
  260. wormsim/components/model/PVPL.hoc +166 -0
  261. wormsim/components/model/PVPR.hoc +164 -0
  262. wormsim/components/model/PVQL.hoc +178 -0
  263. wormsim/components/model/PVQR.hoc +177 -0
  264. wormsim/components/model/PVR.hoc +205 -0
  265. wormsim/components/model/PVT.hoc +174 -0
  266. wormsim/components/model/PVWL.hoc +131 -0
  267. wormsim/components/model/PVWR.hoc +131 -0
  268. wormsim/components/model/RIAL.hoc +141 -0
  269. wormsim/components/model/RIAR.hoc +141 -0
  270. wormsim/components/model/RIBL.hoc +231 -0
  271. wormsim/components/model/RIBR.hoc +231 -0
  272. wormsim/components/model/RICL.hoc +154 -0
  273. wormsim/components/model/RICR.hoc +154 -0
  274. wormsim/components/model/RID.hoc +207 -0
  275. wormsim/components/model/RIFL.hoc +130 -0
  276. wormsim/components/model/RIFR.hoc +130 -0
  277. wormsim/components/model/RIGL.hoc +129 -0
  278. wormsim/components/model/RIGR.hoc +129 -0
  279. wormsim/components/model/RIH.hoc +172 -0
  280. wormsim/components/model/RIML.hoc +198 -0
  281. wormsim/components/model/RIMR.hoc +198 -0
  282. wormsim/components/model/RIPL.hoc +227 -0
  283. wormsim/components/model/RIPR.hoc +227 -0
  284. wormsim/components/model/RIR.hoc +167 -0
  285. wormsim/components/model/RIS.hoc +151 -0
  286. wormsim/components/model/RIVL.hoc +187 -0
  287. wormsim/components/model/RIVR.hoc +187 -0
  288. wormsim/components/model/RMDDL.hoc +130 -0
  289. wormsim/components/model/RMDDR.hoc +130 -0
  290. wormsim/components/model/RMDL.hoc +132 -0
  291. wormsim/components/model/RMDR.hoc +132 -0
  292. wormsim/components/model/RMDVL.hoc +132 -0
  293. wormsim/components/model/RMDVR.hoc +132 -0
  294. wormsim/components/model/RMED.hoc +161 -0
  295. wormsim/components/model/RMEL.hoc +132 -0
  296. wormsim/components/model/RMER.hoc +132 -0
  297. wormsim/components/model/RMEV.hoc +205 -0
  298. wormsim/components/model/RMFL.hoc +168 -0
  299. wormsim/components/model/RMFR.hoc +168 -0
  300. wormsim/components/model/RMGL.hoc +134 -0
  301. wormsim/components/model/RMGR.hoc +134 -0
  302. wormsim/components/model/RMHL.hoc +168 -0
  303. wormsim/components/model/RMHR.hoc +168 -0
  304. wormsim/components/model/SAADL.hoc +207 -0
  305. wormsim/components/model/SAADR.hoc +207 -0
  306. wormsim/components/model/SAAVL.hoc +167 -0
  307. wormsim/components/model/SAAVR.hoc +167 -0
  308. wormsim/components/model/SABD.hoc +192 -0
  309. wormsim/components/model/SABVL.hoc +143 -0
  310. wormsim/components/model/SABVR.hoc +143 -0
  311. wormsim/components/model/SDQL.hoc +150 -0
  312. wormsim/components/model/SDQR.hoc +135 -0
  313. wormsim/components/model/SIADL.hoc +191 -0
  314. wormsim/components/model/SIADR.hoc +191 -0
  315. wormsim/components/model/SIAVL.hoc +159 -0
  316. wormsim/components/model/SIAVR.hoc +159 -0
  317. wormsim/components/model/SIBDL.hoc +192 -0
  318. wormsim/components/model/SIBDR.hoc +192 -0
  319. wormsim/components/model/SIBVL.hoc +227 -0
  320. wormsim/components/model/SIBVR.hoc +227 -0
  321. wormsim/components/model/SMBDL.hoc +161 -0
  322. wormsim/components/model/SMBDR.hoc +161 -0
  323. wormsim/components/model/SMBVL.hoc +172 -0
  324. wormsim/components/model/SMBVR.hoc +172 -0
  325. wormsim/components/model/SMDDL.hoc +162 -0
  326. wormsim/components/model/SMDDR.hoc +162 -0
  327. wormsim/components/model/SMDVL.hoc +166 -0
  328. wormsim/components/model/SMDVR.hoc +166 -0
  329. wormsim/components/model/URADL.hoc +152 -0
  330. wormsim/components/model/URADR.hoc +152 -0
  331. wormsim/components/model/URAVL.hoc +150 -0
  332. wormsim/components/model/URAVR.hoc +150 -0
  333. wormsim/components/model/URBL.hoc +164 -0
  334. wormsim/components/model/URBR.hoc +164 -0
  335. wormsim/components/model/URXL.hoc +172 -0
  336. wormsim/components/model/URXR.hoc +172 -0
  337. wormsim/components/model/URYDL.hoc +160 -0
  338. wormsim/components/model/URYDR.hoc +160 -0
  339. wormsim/components/model/URYVL.hoc +150 -0
  340. wormsim/components/model/URYVR.hoc +150 -0
  341. wormsim/components/model/VA01.hoc +191 -0
  342. wormsim/components/model/VA02.hoc +144 -0
  343. wormsim/components/model/VA03.hoc +147 -0
  344. wormsim/components/model/VA04.hoc +148 -0
  345. wormsim/components/model/VA05.hoc +147 -0
  346. wormsim/components/model/VA06.hoc +156 -0
  347. wormsim/components/model/VA07.hoc +157 -0
  348. wormsim/components/model/VA08.hoc +156 -0
  349. wormsim/components/model/VA09.hoc +154 -0
  350. wormsim/components/model/VA10.hoc +145 -0
  351. wormsim/components/model/VA11.hoc +141 -0
  352. wormsim/components/model/VA12.hoc +123 -0
  353. wormsim/components/model/VB01.hoc +195 -0
  354. wormsim/components/model/VB02.hoc +192 -0
  355. wormsim/components/model/VB03.hoc +157 -0
  356. wormsim/components/model/VB04.hoc +159 -0
  357. wormsim/components/model/VB05.hoc +159 -0
  358. wormsim/components/model/VB06.hoc +158 -0
  359. wormsim/components/model/VB07.hoc +155 -0
  360. wormsim/components/model/VB08.hoc +155 -0
  361. wormsim/components/model/VB09.hoc +148 -0
  362. wormsim/components/model/VB10.hoc +149 -0
  363. wormsim/components/model/VB11.hoc +146 -0
  364. wormsim/components/model/VC01.hoc +159 -0
  365. wormsim/components/model/VC02.hoc +157 -0
  366. wormsim/components/model/VC03.hoc +275 -0
  367. wormsim/components/model/VC04.hoc +255 -0
  368. wormsim/components/model/VC05.hoc +255 -0
  369. wormsim/components/model/VC06.hoc +143 -0
  370. wormsim/components/model/VD01.hoc +194 -0
  371. wormsim/components/model/VD02.hoc +186 -0
  372. wormsim/components/model/VD03.hoc +187 -0
  373. wormsim/components/model/VD04.hoc +190 -0
  374. wormsim/components/model/VD05.hoc +190 -0
  375. wormsim/components/model/VD06.hoc +190 -0
  376. wormsim/components/model/VD07.hoc +194 -0
  377. wormsim/components/model/VD08.hoc +197 -0
  378. wormsim/components/model/VD09.hoc +189 -0
  379. wormsim/components/model/VD10.hoc +190 -0
  380. wormsim/components/model/VD11.hoc +190 -0
  381. wormsim/components/model/VD12.hoc +190 -0
  382. wormsim/components/model/VD13.hoc +189 -0
  383. wormsim/components/model/__init__.py +0 -0
  384. wormsim/components/param/__init__.py +0 -0
  385. wormsim/components/param/cell/ADAL.json +30 -0
  386. wormsim/components/param/cell/ADAR.json +30 -0
  387. wormsim/components/param/cell/ADEL.json +30 -0
  388. wormsim/components/param/cell/ADER.json +30 -0
  389. wormsim/components/param/cell/ADFL.json +30 -0
  390. wormsim/components/param/cell/ADFR.json +30 -0
  391. wormsim/components/param/cell/ADLL.json +30 -0
  392. wormsim/components/param/cell/ADLR.json +30 -0
  393. wormsim/components/param/cell/AFDL.json +30 -0
  394. wormsim/components/param/cell/AFDR.json +30 -0
  395. wormsim/components/param/cell/AIAL.json +30 -0
  396. wormsim/components/param/cell/AIAR.json +30 -0
  397. wormsim/components/param/cell/AIBL.json +30 -0
  398. wormsim/components/param/cell/AIBR.json +30 -0
  399. wormsim/components/param/cell/AIML.json +30 -0
  400. wormsim/components/param/cell/AIMR.json +30 -0
  401. wormsim/components/param/cell/AINL.json +30 -0
  402. wormsim/components/param/cell/AINR.json +30 -0
  403. wormsim/components/param/cell/AIYL.json +30 -0
  404. wormsim/components/param/cell/AIYR.json +30 -0
  405. wormsim/components/param/cell/AIZL.json +30 -0
  406. wormsim/components/param/cell/AIZR.json +30 -0
  407. wormsim/components/param/cell/ALA.json +30 -0
  408. wormsim/components/param/cell/ALML.json +30 -0
  409. wormsim/components/param/cell/ALMR.json +30 -0
  410. wormsim/components/param/cell/ALNL.json +30 -0
  411. wormsim/components/param/cell/ALNR.json +30 -0
  412. wormsim/components/param/cell/AQR.json +30 -0
  413. wormsim/components/param/cell/AS01.json +30 -0
  414. wormsim/components/param/cell/AS02.json +30 -0
  415. wormsim/components/param/cell/AS03.json +30 -0
  416. wormsim/components/param/cell/AS04.json +30 -0
  417. wormsim/components/param/cell/AS05.json +30 -0
  418. wormsim/components/param/cell/AS06.json +30 -0
  419. wormsim/components/param/cell/AS07.json +30 -0
  420. wormsim/components/param/cell/AS08.json +30 -0
  421. wormsim/components/param/cell/AS09.json +30 -0
  422. wormsim/components/param/cell/AS10.json +30 -0
  423. wormsim/components/param/cell/AS11.json +30 -0
  424. wormsim/components/param/cell/ASEL.json +30 -0
  425. wormsim/components/param/cell/ASER.json +30 -0
  426. wormsim/components/param/cell/ASGL.json +30 -0
  427. wormsim/components/param/cell/ASGR.json +30 -0
  428. wormsim/components/param/cell/ASHL.json +30 -0
  429. wormsim/components/param/cell/ASHR.json +30 -0
  430. wormsim/components/param/cell/ASIL.json +30 -0
  431. wormsim/components/param/cell/ASIR.json +30 -0
  432. wormsim/components/param/cell/ASJL.json +30 -0
  433. wormsim/components/param/cell/ASJR.json +30 -0
  434. wormsim/components/param/cell/ASKL.json +30 -0
  435. wormsim/components/param/cell/ASKR.json +30 -0
  436. wormsim/components/param/cell/AUAL.json +30 -0
  437. wormsim/components/param/cell/AUAR.json +30 -0
  438. wormsim/components/param/cell/AVAL.json +30 -0
  439. wormsim/components/param/cell/AVAR.json +30 -0
  440. wormsim/components/param/cell/AVBL.json +30 -0
  441. wormsim/components/param/cell/AVBR.json +30 -0
  442. wormsim/components/param/cell/AVDL.json +30 -0
  443. wormsim/components/param/cell/AVDR.json +30 -0
  444. wormsim/components/param/cell/AVEL.json +30 -0
  445. wormsim/components/param/cell/AVER.json +30 -0
  446. wormsim/components/param/cell/AVFL.json +30 -0
  447. wormsim/components/param/cell/AVFR.json +30 -0
  448. wormsim/components/param/cell/AVG.json +30 -0
  449. wormsim/components/param/cell/AVHL.json +30 -0
  450. wormsim/components/param/cell/AVHR.json +30 -0
  451. wormsim/components/param/cell/AVJL.json +30 -0
  452. wormsim/components/param/cell/AVJR.json +30 -0
  453. wormsim/components/param/cell/AVKL.json +30 -0
  454. wormsim/components/param/cell/AVKR.json +30 -0
  455. wormsim/components/param/cell/AVL.json +30 -0
  456. wormsim/components/param/cell/AVM.json +30 -0
  457. wormsim/components/param/cell/AWAL.json +30 -0
  458. wormsim/components/param/cell/AWAR.json +30 -0
  459. wormsim/components/param/cell/AWBL.json +30 -0
  460. wormsim/components/param/cell/AWBR.json +30 -0
  461. wormsim/components/param/cell/AWCL.json +30 -0
  462. wormsim/components/param/cell/AWCR.json +30 -0
  463. wormsim/components/param/cell/BAGL.json +30 -0
  464. wormsim/components/param/cell/BAGR.json +30 -0
  465. wormsim/components/param/cell/BDUL.json +30 -0
  466. wormsim/components/param/cell/BDUR.json +30 -0
  467. wormsim/components/param/cell/CANL.json +30 -0
  468. wormsim/components/param/cell/CANR.json +30 -0
  469. wormsim/components/param/cell/CEPDL.json +30 -0
  470. wormsim/components/param/cell/CEPDR.json +30 -0
  471. wormsim/components/param/cell/CEPVL.json +30 -0
  472. wormsim/components/param/cell/CEPVR.json +30 -0
  473. wormsim/components/param/cell/DA01.json +30 -0
  474. wormsim/components/param/cell/DA02.json +30 -0
  475. wormsim/components/param/cell/DA03.json +30 -0
  476. wormsim/components/param/cell/DA04.json +30 -0
  477. wormsim/components/param/cell/DA05.json +30 -0
  478. wormsim/components/param/cell/DA06.json +30 -0
  479. wormsim/components/param/cell/DA07.json +30 -0
  480. wormsim/components/param/cell/DA08.json +30 -0
  481. wormsim/components/param/cell/DA09.json +30 -0
  482. wormsim/components/param/cell/DB01.json +30 -0
  483. wormsim/components/param/cell/DB02.json +30 -0
  484. wormsim/components/param/cell/DB03.json +30 -0
  485. wormsim/components/param/cell/DB04.json +30 -0
  486. wormsim/components/param/cell/DB05.json +30 -0
  487. wormsim/components/param/cell/DB06.json +30 -0
  488. wormsim/components/param/cell/DB07.json +30 -0
  489. wormsim/components/param/cell/DD01.json +30 -0
  490. wormsim/components/param/cell/DD02.json +30 -0
  491. wormsim/components/param/cell/DD03.json +30 -0
  492. wormsim/components/param/cell/DD04.json +30 -0
  493. wormsim/components/param/cell/DD05.json +30 -0
  494. wormsim/components/param/cell/DD06.json +30 -0
  495. wormsim/components/param/cell/DVA.json +30 -0
  496. wormsim/components/param/cell/DVB.json +30 -0
  497. wormsim/components/param/cell/DVC.json +30 -0
  498. wormsim/components/param/cell/FLPL.json +30 -0
  499. wormsim/components/param/cell/FLPR.json +30 -0
  500. wormsim/components/param/cell/HSNL.json +30 -0
  501. wormsim/components/param/cell/HSNR.json +30 -0
  502. wormsim/components/param/cell/I1L.json +30 -0
  503. wormsim/components/param/cell/I1R.json +30 -0
  504. wormsim/components/param/cell/I2L.json +30 -0
  505. wormsim/components/param/cell/I2R.json +30 -0
  506. wormsim/components/param/cell/I3.json +30 -0
  507. wormsim/components/param/cell/I4.json +30 -0
  508. wormsim/components/param/cell/I5.json +30 -0
  509. wormsim/components/param/cell/I6.json +30 -0
  510. wormsim/components/param/cell/IL1DL.json +30 -0
  511. wormsim/components/param/cell/IL1DR.json +30 -0
  512. wormsim/components/param/cell/IL1L.json +30 -0
  513. wormsim/components/param/cell/IL1R.json +30 -0
  514. wormsim/components/param/cell/IL1VL.json +30 -0
  515. wormsim/components/param/cell/IL1VR.json +30 -0
  516. wormsim/components/param/cell/IL2DL.json +30 -0
  517. wormsim/components/param/cell/IL2DR.json +30 -0
  518. wormsim/components/param/cell/IL2L.json +30 -0
  519. wormsim/components/param/cell/IL2R.json +30 -0
  520. wormsim/components/param/cell/IL2VL.json +30 -0
  521. wormsim/components/param/cell/IL2VR.json +30 -0
  522. wormsim/components/param/cell/LUAL.json +30 -0
  523. wormsim/components/param/cell/LUAR.json +30 -0
  524. wormsim/components/param/cell/M1.json +30 -0
  525. wormsim/components/param/cell/M2L.json +30 -0
  526. wormsim/components/param/cell/M2R.json +30 -0
  527. wormsim/components/param/cell/M3L.json +30 -0
  528. wormsim/components/param/cell/M3R.json +30 -0
  529. wormsim/components/param/cell/M4.json +30 -0
  530. wormsim/components/param/cell/M5.json +30 -0
  531. wormsim/components/param/cell/MCDL01.json +25 -0
  532. wormsim/components/param/cell/MCDL02.json +25 -0
  533. wormsim/components/param/cell/MCDL03.json +25 -0
  534. wormsim/components/param/cell/MCDL04.json +25 -0
  535. wormsim/components/param/cell/MCDL05.json +25 -0
  536. wormsim/components/param/cell/MCDL06.json +25 -0
  537. wormsim/components/param/cell/MCDL07.json +25 -0
  538. wormsim/components/param/cell/MCDL08.json +25 -0
  539. wormsim/components/param/cell/MCDL09.json +25 -0
  540. wormsim/components/param/cell/MCDL10.json +25 -0
  541. wormsim/components/param/cell/MCDL11.json +25 -0
  542. wormsim/components/param/cell/MCDL12.json +25 -0
  543. wormsim/components/param/cell/MCDL13.json +25 -0
  544. wormsim/components/param/cell/MCDL14.json +25 -0
  545. wormsim/components/param/cell/MCDL15.json +25 -0
  546. wormsim/components/param/cell/MCDL16.json +25 -0
  547. wormsim/components/param/cell/MCDL17.json +25 -0
  548. wormsim/components/param/cell/MCDL18.json +25 -0
  549. wormsim/components/param/cell/MCDL19.json +25 -0
  550. wormsim/components/param/cell/MCDL20.json +25 -0
  551. wormsim/components/param/cell/MCDL21.json +25 -0
  552. wormsim/components/param/cell/MCDL22.json +25 -0
  553. wormsim/components/param/cell/MCDL23.json +25 -0
  554. wormsim/components/param/cell/MCDL24.json +25 -0
  555. wormsim/components/param/cell/MCDR01.json +25 -0
  556. wormsim/components/param/cell/MCDR02.json +25 -0
  557. wormsim/components/param/cell/MCDR03.json +25 -0
  558. wormsim/components/param/cell/MCDR04.json +25 -0
  559. wormsim/components/param/cell/MCDR05.json +25 -0
  560. wormsim/components/param/cell/MCDR06.json +25 -0
  561. wormsim/components/param/cell/MCDR07.json +25 -0
  562. wormsim/components/param/cell/MCDR08.json +25 -0
  563. wormsim/components/param/cell/MCDR09.json +25 -0
  564. wormsim/components/param/cell/MCDR10.json +25 -0
  565. wormsim/components/param/cell/MCDR11.json +25 -0
  566. wormsim/components/param/cell/MCDR12.json +25 -0
  567. wormsim/components/param/cell/MCDR13.json +25 -0
  568. wormsim/components/param/cell/MCDR14.json +25 -0
  569. wormsim/components/param/cell/MCDR15.json +25 -0
  570. wormsim/components/param/cell/MCDR16.json +25 -0
  571. wormsim/components/param/cell/MCDR17.json +25 -0
  572. wormsim/components/param/cell/MCDR18.json +25 -0
  573. wormsim/components/param/cell/MCDR19.json +25 -0
  574. wormsim/components/param/cell/MCDR20.json +25 -0
  575. wormsim/components/param/cell/MCDR21.json +25 -0
  576. wormsim/components/param/cell/MCDR22.json +25 -0
  577. wormsim/components/param/cell/MCDR23.json +25 -0
  578. wormsim/components/param/cell/MCDR24.json +25 -0
  579. wormsim/components/param/cell/MCL.json +30 -0
  580. wormsim/components/param/cell/MCR.json +30 -0
  581. wormsim/components/param/cell/MCVL01.json +25 -0
  582. wormsim/components/param/cell/MCVL02.json +25 -0
  583. wormsim/components/param/cell/MCVL03.json +25 -0
  584. wormsim/components/param/cell/MCVL04.json +25 -0
  585. wormsim/components/param/cell/MCVL05.json +25 -0
  586. wormsim/components/param/cell/MCVL06.json +25 -0
  587. wormsim/components/param/cell/MCVL07.json +25 -0
  588. wormsim/components/param/cell/MCVL08.json +25 -0
  589. wormsim/components/param/cell/MCVL09.json +25 -0
  590. wormsim/components/param/cell/MCVL10.json +25 -0
  591. wormsim/components/param/cell/MCVL11.json +25 -0
  592. wormsim/components/param/cell/MCVL12.json +25 -0
  593. wormsim/components/param/cell/MCVL13.json +25 -0
  594. wormsim/components/param/cell/MCVL14.json +25 -0
  595. wormsim/components/param/cell/MCVL15.json +25 -0
  596. wormsim/components/param/cell/MCVL16.json +25 -0
  597. wormsim/components/param/cell/MCVL17.json +25 -0
  598. wormsim/components/param/cell/MCVL18.json +25 -0
  599. wormsim/components/param/cell/MCVL19.json +25 -0
  600. wormsim/components/param/cell/MCVL20.json +25 -0
  601. wormsim/components/param/cell/MCVL21.json +25 -0
  602. wormsim/components/param/cell/MCVL22.json +25 -0
  603. wormsim/components/param/cell/MCVL23.json +25 -0
  604. wormsim/components/param/cell/MCVL24.json +25 -0
  605. wormsim/components/param/cell/MCVR01.json +25 -0
  606. wormsim/components/param/cell/MCVR02.json +25 -0
  607. wormsim/components/param/cell/MCVR03.json +25 -0
  608. wormsim/components/param/cell/MCVR04.json +25 -0
  609. wormsim/components/param/cell/MCVR05.json +25 -0
  610. wormsim/components/param/cell/MCVR06.json +25 -0
  611. wormsim/components/param/cell/MCVR07.json +25 -0
  612. wormsim/components/param/cell/MCVR08.json +25 -0
  613. wormsim/components/param/cell/MCVR09.json +25 -0
  614. wormsim/components/param/cell/MCVR10.json +25 -0
  615. wormsim/components/param/cell/MCVR11.json +25 -0
  616. wormsim/components/param/cell/MCVR12.json +25 -0
  617. wormsim/components/param/cell/MCVR13.json +25 -0
  618. wormsim/components/param/cell/MCVR14.json +25 -0
  619. wormsim/components/param/cell/MCVR15.json +25 -0
  620. wormsim/components/param/cell/MCVR16.json +25 -0
  621. wormsim/components/param/cell/MCVR17.json +25 -0
  622. wormsim/components/param/cell/MCVR18.json +25 -0
  623. wormsim/components/param/cell/MCVR19.json +25 -0
  624. wormsim/components/param/cell/MCVR20.json +25 -0
  625. wormsim/components/param/cell/MCVR21.json +25 -0
  626. wormsim/components/param/cell/MCVR22.json +25 -0
  627. wormsim/components/param/cell/MCVR23.json +25 -0
  628. wormsim/components/param/cell/MCVR24.json +25 -0
  629. wormsim/components/param/cell/MI.json +30 -0
  630. wormsim/components/param/cell/MuscleCell.json +25 -0
  631. wormsim/components/param/cell/NSML.json +30 -0
  632. wormsim/components/param/cell/NSMR.json +30 -0
  633. wormsim/components/param/cell/OLLL.json +30 -0
  634. wormsim/components/param/cell/OLLR.json +30 -0
  635. wormsim/components/param/cell/OLQDL.json +30 -0
  636. wormsim/components/param/cell/OLQDR.json +30 -0
  637. wormsim/components/param/cell/OLQVL.json +30 -0
  638. wormsim/components/param/cell/OLQVR.json +30 -0
  639. wormsim/components/param/cell/PDA.json +30 -0
  640. wormsim/components/param/cell/PDB.json +30 -0
  641. wormsim/components/param/cell/PDEL.json +30 -0
  642. wormsim/components/param/cell/PDER.json +30 -0
  643. wormsim/components/param/cell/PHAL.json +30 -0
  644. wormsim/components/param/cell/PHAR.json +30 -0
  645. wormsim/components/param/cell/PHBL.json +30 -0
  646. wormsim/components/param/cell/PHBR.json +30 -0
  647. wormsim/components/param/cell/PHCL.json +30 -0
  648. wormsim/components/param/cell/PHCR.json +30 -0
  649. wormsim/components/param/cell/PLML.json +30 -0
  650. wormsim/components/param/cell/PLMR.json +30 -0
  651. wormsim/components/param/cell/PLNL.json +30 -0
  652. wormsim/components/param/cell/PLNR.json +30 -0
  653. wormsim/components/param/cell/PQR.json +30 -0
  654. wormsim/components/param/cell/PVCL.json +30 -0
  655. wormsim/components/param/cell/PVCR.json +30 -0
  656. wormsim/components/param/cell/PVDL.json +30 -0
  657. wormsim/components/param/cell/PVDR.json +30 -0
  658. wormsim/components/param/cell/PVM.json +30 -0
  659. wormsim/components/param/cell/PVNL.json +30 -0
  660. wormsim/components/param/cell/PVNR.json +30 -0
  661. wormsim/components/param/cell/PVPL.json +30 -0
  662. wormsim/components/param/cell/PVPR.json +30 -0
  663. wormsim/components/param/cell/PVQL.json +30 -0
  664. wormsim/components/param/cell/PVQR.json +30 -0
  665. wormsim/components/param/cell/PVR.json +30 -0
  666. wormsim/components/param/cell/PVT.json +30 -0
  667. wormsim/components/param/cell/PVWL.json +30 -0
  668. wormsim/components/param/cell/PVWR.json +30 -0
  669. wormsim/components/param/cell/RIAL.json +30 -0
  670. wormsim/components/param/cell/RIAR.json +30 -0
  671. wormsim/components/param/cell/RIBL.json +30 -0
  672. wormsim/components/param/cell/RIBR.json +30 -0
  673. wormsim/components/param/cell/RICL.json +30 -0
  674. wormsim/components/param/cell/RICR.json +30 -0
  675. wormsim/components/param/cell/RID.json +30 -0
  676. wormsim/components/param/cell/RIFL.json +30 -0
  677. wormsim/components/param/cell/RIFR.json +30 -0
  678. wormsim/components/param/cell/RIGL.json +30 -0
  679. wormsim/components/param/cell/RIGR.json +30 -0
  680. wormsim/components/param/cell/RIH.json +30 -0
  681. wormsim/components/param/cell/RIML.json +30 -0
  682. wormsim/components/param/cell/RIMR.json +30 -0
  683. wormsim/components/param/cell/RIPL.json +30 -0
  684. wormsim/components/param/cell/RIPR.json +30 -0
  685. wormsim/components/param/cell/RIR.json +30 -0
  686. wormsim/components/param/cell/RIS.json +30 -0
  687. wormsim/components/param/cell/RIVL.json +30 -0
  688. wormsim/components/param/cell/RIVR.json +30 -0
  689. wormsim/components/param/cell/RMDDL.json +30 -0
  690. wormsim/components/param/cell/RMDDR.json +30 -0
  691. wormsim/components/param/cell/RMDL.json +30 -0
  692. wormsim/components/param/cell/RMDR.json +30 -0
  693. wormsim/components/param/cell/RMDVL.json +30 -0
  694. wormsim/components/param/cell/RMDVR.json +30 -0
  695. wormsim/components/param/cell/RMED.json +30 -0
  696. wormsim/components/param/cell/RMEL.json +30 -0
  697. wormsim/components/param/cell/RMER.json +30 -0
  698. wormsim/components/param/cell/RMEV.json +30 -0
  699. wormsim/components/param/cell/RMFL.json +30 -0
  700. wormsim/components/param/cell/RMFR.json +30 -0
  701. wormsim/components/param/cell/RMGL.json +30 -0
  702. wormsim/components/param/cell/RMGR.json +30 -0
  703. wormsim/components/param/cell/RMHL.json +30 -0
  704. wormsim/components/param/cell/RMHR.json +30 -0
  705. wormsim/components/param/cell/SAADL.json +30 -0
  706. wormsim/components/param/cell/SAADR.json +30 -0
  707. wormsim/components/param/cell/SAAVL.json +30 -0
  708. wormsim/components/param/cell/SAAVR.json +30 -0
  709. wormsim/components/param/cell/SABD.json +30 -0
  710. wormsim/components/param/cell/SABVL.json +30 -0
  711. wormsim/components/param/cell/SABVR.json +30 -0
  712. wormsim/components/param/cell/SDQL.json +30 -0
  713. wormsim/components/param/cell/SDQR.json +30 -0
  714. wormsim/components/param/cell/SIADL.json +30 -0
  715. wormsim/components/param/cell/SIADR.json +30 -0
  716. wormsim/components/param/cell/SIAVL.json +30 -0
  717. wormsim/components/param/cell/SIAVR.json +30 -0
  718. wormsim/components/param/cell/SIBDL.json +30 -0
  719. wormsim/components/param/cell/SIBDR.json +30 -0
  720. wormsim/components/param/cell/SIBVL.json +30 -0
  721. wormsim/components/param/cell/SIBVR.json +30 -0
  722. wormsim/components/param/cell/SMBDL.json +30 -0
  723. wormsim/components/param/cell/SMBDR.json +30 -0
  724. wormsim/components/param/cell/SMBVL.json +30 -0
  725. wormsim/components/param/cell/SMBVR.json +30 -0
  726. wormsim/components/param/cell/SMDDL.json +30 -0
  727. wormsim/components/param/cell/SMDDR.json +30 -0
  728. wormsim/components/param/cell/SMDVL.json +30 -0
  729. wormsim/components/param/cell/SMDVR.json +30 -0
  730. wormsim/components/param/cell/URADL.json +30 -0
  731. wormsim/components/param/cell/URADR.json +30 -0
  732. wormsim/components/param/cell/URAVL.json +30 -0
  733. wormsim/components/param/cell/URAVR.json +30 -0
  734. wormsim/components/param/cell/URBL.json +30 -0
  735. wormsim/components/param/cell/URBR.json +30 -0
  736. wormsim/components/param/cell/URXL.json +30 -0
  737. wormsim/components/param/cell/URXR.json +30 -0
  738. wormsim/components/param/cell/URYDL.json +30 -0
  739. wormsim/components/param/cell/URYDR.json +30 -0
  740. wormsim/components/param/cell/URYVL.json +30 -0
  741. wormsim/components/param/cell/URYVR.json +30 -0
  742. wormsim/components/param/cell/VA01.json +30 -0
  743. wormsim/components/param/cell/VA02.json +30 -0
  744. wormsim/components/param/cell/VA03.json +30 -0
  745. wormsim/components/param/cell/VA04.json +30 -0
  746. wormsim/components/param/cell/VA05.json +30 -0
  747. wormsim/components/param/cell/VA06.json +30 -0
  748. wormsim/components/param/cell/VA07.json +30 -0
  749. wormsim/components/param/cell/VA08.json +30 -0
  750. wormsim/components/param/cell/VA09.json +30 -0
  751. wormsim/components/param/cell/VA10.json +30 -0
  752. wormsim/components/param/cell/VA11.json +30 -0
  753. wormsim/components/param/cell/VA12.json +30 -0
  754. wormsim/components/param/cell/VB01.json +30 -0
  755. wormsim/components/param/cell/VB02.json +30 -0
  756. wormsim/components/param/cell/VB03.json +30 -0
  757. wormsim/components/param/cell/VB04.json +30 -0
  758. wormsim/components/param/cell/VB05.json +30 -0
  759. wormsim/components/param/cell/VB06.json +30 -0
  760. wormsim/components/param/cell/VB07.json +30 -0
  761. wormsim/components/param/cell/VB08.json +30 -0
  762. wormsim/components/param/cell/VB09.json +30 -0
  763. wormsim/components/param/cell/VB10.json +30 -0
  764. wormsim/components/param/cell/VB11.json +30 -0
  765. wormsim/components/param/cell/VC01.json +30 -0
  766. wormsim/components/param/cell/VC02.json +30 -0
  767. wormsim/components/param/cell/VC03.json +30 -0
  768. wormsim/components/param/cell/VC04.json +30 -0
  769. wormsim/components/param/cell/VC05.json +30 -0
  770. wormsim/components/param/cell/VC06.json +30 -0
  771. wormsim/components/param/cell/VD01.json +30 -0
  772. wormsim/components/param/cell/VD02.json +30 -0
  773. wormsim/components/param/cell/VD03.json +30 -0
  774. wormsim/components/param/cell/VD04.json +30 -0
  775. wormsim/components/param/cell/VD05.json +30 -0
  776. wormsim/components/param/cell/VD06.json +30 -0
  777. wormsim/components/param/cell/VD07.json +30 -0
  778. wormsim/components/param/cell/VD08.json +30 -0
  779. wormsim/components/param/cell/VD09.json +30 -0
  780. wormsim/components/param/cell/VD10.json +30 -0
  781. wormsim/components/param/cell/VD11.json +30 -0
  782. wormsim/components/param/cell/VD12.json +30 -0
  783. wormsim/components/param/cell/VD13.json +30 -0
  784. wormsim/components/param/cell/__init__.py +0 -0
  785. wormsim/components/param/cell/template.json +30 -0
  786. wormsim/components/param/connection/SI5-302-RIA.xlsx +0 -0
  787. wormsim/components/param/connection/SI5-302.xlsx +0 -0
  788. wormsim/components/param/connection/__init__.py +0 -0
  789. wormsim/components/param/connection/muscle_neuron.xlsx +0 -0
  790. wormsim/components/param/connection/neuron_muscle.xlsx +0 -0
  791. wormsim/config.json +682 -0
  792. wormsim/simulate.py +660 -0
  793. wormsim-0.0.1.dist-info/METADATA +7 -0
  794. wormsim-0.0.1.dist-info/RECORD +796 -0
  795. wormsim-0.0.1.dist-info/WHEEL +5 -0
  796. wormsim-0.0.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,723 @@
1
+ /* Created by Language version: 7.7.0 */
2
+ /* VECTORIZED */
3
+ #define NRN_VECTORIZED 1
4
+ #include <stdio.h>
5
+ #include <stdlib.h>
6
+ #include <math.h>
7
+ #include "scoplib_ansi.h"
8
+ #undef PI
9
+ #define nil 0
10
+ #include "md1redef.h"
11
+ #include "section.h"
12
+ #include "nrniv_mf.h"
13
+ #include "md2redef.h"
14
+
15
+ #if METHOD3
16
+ extern int _method3;
17
+ #endif
18
+
19
+ #if !NRNGPU
20
+ #undef exp
21
+ #define exp hoc_Exp
22
+ extern double hoc_Exp(double);
23
+ #endif
24
+
25
+ #define nrn_init _nrn_init__kqt3
26
+ #define _nrn_initial _nrn_initial__kqt3
27
+ #define nrn_cur _nrn_cur__kqt3
28
+ #define _nrn_current _nrn_current__kqt3
29
+ #define nrn_jacob _nrn_jacob__kqt3
30
+ #define nrn_state _nrn_state__kqt3
31
+ #define _net_receive _net_receive__kqt3
32
+ #define setparames setparames__kqt3
33
+ #define states states__kqt3
34
+
35
+ #define _threadargscomma_ _p, _ppvar, _thread, _nt,
36
+ #define _threadargsprotocomma_ double* _p, Datum* _ppvar, Datum* _thread, _NrnThread* _nt,
37
+ #define _threadargs_ _p, _ppvar, _thread, _nt
38
+ #define _threadargsproto_ double* _p, Datum* _ppvar, Datum* _thread, _NrnThread* _nt
39
+ /*SUPPRESS 761*/
40
+ /*SUPPRESS 762*/
41
+ /*SUPPRESS 763*/
42
+ /*SUPPRESS 765*/
43
+ extern double *getarg();
44
+ /* Thread safe. No static _p or _ppvar. */
45
+
46
+ #define t _nt->_t
47
+ #define dt _nt->_dt
48
+ #define gbkqt3 _p[0]
49
+ #define minf _p[1]
50
+ #define tmf _p[2]
51
+ #define tms _p[3]
52
+ #define winf _p[4]
53
+ #define sinf _p[5]
54
+ #define tw _p[6]
55
+ #define ts _p[7]
56
+ #define mf _p[8]
57
+ #define ms _p[9]
58
+ #define w _p[10]
59
+ #define s _p[11]
60
+ #define ek _p[12]
61
+ #define ik _p[13]
62
+ #define Dmf _p[14]
63
+ #define Dms _p[15]
64
+ #define Dw _p[16]
65
+ #define Ds _p[17]
66
+ #define v _p[18]
67
+ #define _g _p[19]
68
+ #define _ion_ek *_ppvar[0]._pval
69
+ #define _ion_ik *_ppvar[1]._pval
70
+ #define _ion_dikdv *_ppvar[2]._pval
71
+
72
+ #if MAC
73
+ #if !defined(v)
74
+ #define v _mlhv
75
+ #endif
76
+ #if !defined(h)
77
+ #define h _mlhh
78
+ #endif
79
+ #endif
80
+
81
+ #if defined(__cplusplus)
82
+ extern "C" {
83
+ #endif
84
+ static int hoc_nrnpointerindex = -1;
85
+ static Datum* _extcall_thread;
86
+ static Prop* _extcall_prop;
87
+ /* external NEURON variables */
88
+ /* declaration of user functions */
89
+ static void _hoc_setparames(void);
90
+ static int _mechtype;
91
+ extern void _nrn_cacheloop_reg(int, int);
92
+ extern void hoc_register_prop_size(int, int, int);
93
+ extern void hoc_register_limits(int, HocParmLimits*);
94
+ extern void hoc_register_units(int, HocParmUnits*);
95
+ extern void nrn_promote(Prop*, int, int);
96
+ extern Memb_func* memb_func;
97
+
98
+ #define NMODL_TEXT 1
99
+ #if NMODL_TEXT
100
+ static const char* nmodl_file_text;
101
+ static const char* nmodl_filename;
102
+ extern void hoc_reg_nmodl_text(int, const char*);
103
+ extern void hoc_reg_nmodl_filename(int, const char*);
104
+ #endif
105
+
106
+ extern void _nrn_setdata_reg(int, void(*)(Prop*));
107
+ static void _setdata(Prop* _prop) {
108
+ _extcall_prop = _prop;
109
+ }
110
+ static void _hoc_setdata() {
111
+ Prop *_prop, *hoc_getdata_range(int);
112
+ _prop = hoc_getdata_range(_mechtype);
113
+ _setdata(_prop);
114
+ hoc_retpushx(1.);
115
+ }
116
+ /* connect user functions to hoc names */
117
+ static VoidFunc hoc_intfunc[] = {
118
+ "setdata_kqt3", _hoc_setdata,
119
+ "setparames_kqt3", _hoc_setparames,
120
+ 0, 0
121
+ };
122
+ /* declare global and static user variables */
123
+ #define ats ats_kqt3
124
+ double ats = 500000;
125
+ #define atw atw_kqt3
126
+ double atw = 0.544;
127
+ #define atms atms_kqt3
128
+ double atms = 5503;
129
+ #define atmf atmf_kqt3
130
+ double atmf = 395.3;
131
+ #define as as_kqt3
132
+ double as = 0.34;
133
+ #define aw aw_kqt3
134
+ double aw = 0.49;
135
+ #define btw btw_kqt3
136
+ double btw = 29.2;
137
+ #define btms btms_kqt3
138
+ double btms = -5345.4;
139
+ #define btmf btmf_kqt3
140
+ double btmf = 38.1;
141
+ #define bs bs_kqt3
142
+ double bs = 0.66;
143
+ #define bw bw_kqt3
144
+ double bw = 0.51;
145
+ #define ctw ctw_kqt3
146
+ double ctw = -48.09;
147
+ #define ctms ctms_kqt3
148
+ double ctms = 0.02827;
149
+ #define ctmf ctmf_kqt3
150
+ double ctmf = 33.59;
151
+ #define dtw dtw_kqt3
152
+ double dtw = 48.83;
153
+ #define dtms dtms_kqt3
154
+ double dtms = -23.9;
155
+ #define etms etms_kqt3
156
+ double etms = -4590.6;
157
+ #define ftms ftms_kqt3
158
+ double ftms = 0.0357;
159
+ #define gtms gtms_kqt3
160
+ double gtms = 14.15;
161
+ #define kis kis_kqt3
162
+ double kis = 12.3;
163
+ #define kiw kiw_kqt3
164
+ double kiw = 28.78;
165
+ #define ka ka_kqt3
166
+ double ka = 15.8008;
167
+ #define vhs vhs_kqt3
168
+ double vhs = -45.3;
169
+ #define vhw vhw_kqt3
170
+ double vhw = -1.084;
171
+ #define vhm vhm_kqt3
172
+ double vhm = -12.6726;
173
+ /* some parameters have upper and lower limits */
174
+ static HocParmLimits _hoc_parm_limits[] = {
175
+ 0,0,0
176
+ };
177
+ static HocParmUnits _hoc_parm_units[] = {
178
+ "vhm_kqt3", "mV",
179
+ "ka_kqt3", "mV",
180
+ "vhw_kqt3", "mV",
181
+ "kiw_kqt3", "mV",
182
+ "vhs_kqt3", "mV",
183
+ "kis_kqt3", "mV",
184
+ "atmf_kqt3", "ms",
185
+ "btmf_kqt3", "mV",
186
+ "ctmf_kqt3", "mV",
187
+ "atms_kqt3", "ms",
188
+ "btms_kqt3", "ms",
189
+ "ctms_kqt3", "1/mV",
190
+ "dtms_kqt3", "mV",
191
+ "etms_kqt3", "ms",
192
+ "ftms_kqt3", "1/mV",
193
+ "gtms_kqt3", "mV",
194
+ "atw_kqt3", "ms",
195
+ "btw_kqt3", "ms",
196
+ "ctw_kqt3", "mV",
197
+ "dtw_kqt3", "mV",
198
+ "ats_kqt3", "ms",
199
+ "gbkqt3_kqt3", "nS/um2",
200
+ "tmf_kqt3", "ms",
201
+ "tms_kqt3", "ms",
202
+ "tw_kqt3", "ms",
203
+ "ts_kqt3", "ms",
204
+ 0,0
205
+ };
206
+ static double delta_t = 0.01;
207
+ static double ms0 = 0;
208
+ static double mf0 = 0;
209
+ static double s0 = 0;
210
+ static double w0 = 0;
211
+ /* connect global user variables to hoc */
212
+ static DoubScal hoc_scdoub[] = {
213
+ "vhm_kqt3", &vhm_kqt3,
214
+ "ka_kqt3", &ka_kqt3,
215
+ "vhw_kqt3", &vhw_kqt3,
216
+ "kiw_kqt3", &kiw_kqt3,
217
+ "aw_kqt3", &aw_kqt3,
218
+ "bw_kqt3", &bw_kqt3,
219
+ "vhs_kqt3", &vhs_kqt3,
220
+ "kis_kqt3", &kis_kqt3,
221
+ "as_kqt3", &as_kqt3,
222
+ "bs_kqt3", &bs_kqt3,
223
+ "atmf_kqt3", &atmf_kqt3,
224
+ "btmf_kqt3", &btmf_kqt3,
225
+ "ctmf_kqt3", &ctmf_kqt3,
226
+ "atms_kqt3", &atms_kqt3,
227
+ "btms_kqt3", &btms_kqt3,
228
+ "ctms_kqt3", &ctms_kqt3,
229
+ "dtms_kqt3", &dtms_kqt3,
230
+ "etms_kqt3", &etms_kqt3,
231
+ "ftms_kqt3", &ftms_kqt3,
232
+ "gtms_kqt3", &gtms_kqt3,
233
+ "atw_kqt3", &atw_kqt3,
234
+ "btw_kqt3", &btw_kqt3,
235
+ "ctw_kqt3", &ctw_kqt3,
236
+ "dtw_kqt3", &dtw_kqt3,
237
+ "ats_kqt3", &ats_kqt3,
238
+ 0,0
239
+ };
240
+ static DoubVec hoc_vdoub[] = {
241
+ 0,0,0
242
+ };
243
+ static double _sav_indep;
244
+ static void nrn_alloc(Prop*);
245
+ static void nrn_init(_NrnThread*, _Memb_list*, int);
246
+ static void nrn_state(_NrnThread*, _Memb_list*, int);
247
+ static void nrn_cur(_NrnThread*, _Memb_list*, int);
248
+ static void nrn_jacob(_NrnThread*, _Memb_list*, int);
249
+
250
+ static int _ode_count(int);
251
+ static void _ode_map(int, double**, double**, double*, Datum*, double*, int);
252
+ static void _ode_spec(_NrnThread*, _Memb_list*, int);
253
+ static void _ode_matsol(_NrnThread*, _Memb_list*, int);
254
+
255
+ #define _cvode_ieq _ppvar[3]._i
256
+ static void _ode_matsol_instance1(_threadargsproto_);
257
+ /* connect range variables in _p that hoc is supposed to know about */
258
+ static const char *_mechanism[] = {
259
+ "7.7.0",
260
+ "kqt3",
261
+ "gbkqt3_kqt3",
262
+ 0,
263
+ "minf_kqt3",
264
+ "tmf_kqt3",
265
+ "tms_kqt3",
266
+ "winf_kqt3",
267
+ "sinf_kqt3",
268
+ "tw_kqt3",
269
+ "ts_kqt3",
270
+ 0,
271
+ "mf_kqt3",
272
+ "ms_kqt3",
273
+ "w_kqt3",
274
+ "s_kqt3",
275
+ 0,
276
+ 0};
277
+ static Symbol* _k_sym;
278
+
279
+ extern Prop* need_memb(Symbol*);
280
+
281
+ static void nrn_alloc(Prop* _prop) {
282
+ Prop *prop_ion;
283
+ double *_p; Datum *_ppvar;
284
+ _p = nrn_prop_data_alloc(_mechtype, 20, _prop);
285
+ /*initialize range parameters*/
286
+ gbkqt3 = 1;
287
+ _prop->param = _p;
288
+ _prop->param_size = 20;
289
+ _ppvar = nrn_prop_datum_alloc(_mechtype, 4, _prop);
290
+ _prop->dparam = _ppvar;
291
+ /*connect ionic variables to this model*/
292
+ prop_ion = need_memb(_k_sym);
293
+ nrn_promote(prop_ion, 0, 1);
294
+ _ppvar[0]._pval = &prop_ion->param[0]; /* ek */
295
+ _ppvar[1]._pval = &prop_ion->param[3]; /* ik */
296
+ _ppvar[2]._pval = &prop_ion->param[4]; /* _ion_dikdv */
297
+
298
+ }
299
+ static void _initlists();
300
+ /* some states have an absolute tolerance */
301
+ static Symbol** _atollist;
302
+ static HocStateTolerance _hoc_state_tol[] = {
303
+ 0,0
304
+ };
305
+ static void _update_ion_pointer(Datum*);
306
+ extern Symbol* hoc_lookup(const char*);
307
+ extern void _nrn_thread_reg(int, int, void(*)(Datum*));
308
+ extern void _nrn_thread_table_reg(int, void(*)(double*, Datum*, Datum*, _NrnThread*, int));
309
+ extern void hoc_register_tolerance(int, HocStateTolerance*, Symbol***);
310
+ extern void _cvode_abstol( Symbol**, double*, int);
311
+
312
+ void _kqt3_reg() {
313
+ int _vectorized = 1;
314
+ _initlists();
315
+ ion_reg("k", -10000.);
316
+ _k_sym = hoc_lookup("k_ion");
317
+ register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 1);
318
+ _mechtype = nrn_get_mechtype(_mechanism[1]);
319
+ _nrn_setdata_reg(_mechtype, _setdata);
320
+ _nrn_thread_reg(_mechtype, 2, _update_ion_pointer);
321
+ #if NMODL_TEXT
322
+ hoc_reg_nmodl_text(_mechtype, nmodl_file_text);
323
+ hoc_reg_nmodl_filename(_mechtype, nmodl_filename);
324
+ #endif
325
+ hoc_register_prop_size(_mechtype, 20, 4);
326
+ hoc_register_dparam_semantics(_mechtype, 0, "k_ion");
327
+ hoc_register_dparam_semantics(_mechtype, 1, "k_ion");
328
+ hoc_register_dparam_semantics(_mechtype, 2, "k_ion");
329
+ hoc_register_dparam_semantics(_mechtype, 3, "cvodeieq");
330
+ hoc_register_cvode(_mechtype, _ode_count, _ode_map, _ode_spec, _ode_matsol);
331
+ hoc_register_tolerance(_mechtype, _hoc_state_tol, &_atollist);
332
+ hoc_register_var(hoc_scdoub, hoc_vdoub, hoc_intfunc);
333
+ ivoc_help("help ?1 kqt3 /home/zjj/8TB/robot_arm/project/BAAIWorm_v1/eworm/components/mechanism/modfile/kqt3.mod\n");
334
+ hoc_register_limits(_mechtype, _hoc_parm_limits);
335
+ hoc_register_units(_mechtype, _hoc_parm_units);
336
+ }
337
+ static int _reset;
338
+ static char *modelname = "kqt3 current for C. elegans neuron model";
339
+
340
+ static int error;
341
+ static int _ninits = 0;
342
+ static int _match_recurse=1;
343
+ static void _modl_cleanup(){ _match_recurse=1;}
344
+ static int setparames(_threadargsprotocomma_ double);
345
+
346
+ static int _ode_spec1(_threadargsproto_);
347
+ /*static int _ode_matsol1(_threadargsproto_);*/
348
+ static int _slist1[4], _dlist1[4];
349
+ static int states(_threadargsproto_);
350
+
351
+ /*CVODE*/
352
+ static int _ode_spec1 (double* _p, Datum* _ppvar, Datum* _thread, _NrnThread* _nt) {int _reset = 0; {
353
+ setparames ( _threadargscomma_ v ) ;
354
+ Dmf = ( minf - mf ) / tmf ;
355
+ Dms = ( minf - ms ) / tms ;
356
+ Dw = ( winf - w ) / tw ;
357
+ Ds = ( sinf - s ) / ts ;
358
+ }
359
+ return _reset;
360
+ }
361
+ static int _ode_matsol1 (double* _p, Datum* _ppvar, Datum* _thread, _NrnThread* _nt) {
362
+ setparames ( _threadargscomma_ v ) ;
363
+ Dmf = Dmf / (1. - dt*( ( ( ( - 1.0 ) ) ) / tmf )) ;
364
+ Dms = Dms / (1. - dt*( ( ( ( - 1.0 ) ) ) / tms )) ;
365
+ Dw = Dw / (1. - dt*( ( ( ( - 1.0 ) ) ) / tw )) ;
366
+ Ds = Ds / (1. - dt*( ( ( ( - 1.0 ) ) ) / ts )) ;
367
+ return 0;
368
+ }
369
+ /*END CVODE*/
370
+ static int states (double* _p, Datum* _ppvar, Datum* _thread, _NrnThread* _nt) { {
371
+ setparames ( _threadargscomma_ v ) ;
372
+ mf = mf + (1. - exp(dt*(( ( ( - 1.0 ) ) ) / tmf)))*(- ( ( ( minf ) ) / tmf ) / ( ( ( ( - 1.0 ) ) ) / tmf ) - mf) ;
373
+ ms = ms + (1. - exp(dt*(( ( ( - 1.0 ) ) ) / tms)))*(- ( ( ( minf ) ) / tms ) / ( ( ( ( - 1.0 ) ) ) / tms ) - ms) ;
374
+ w = w + (1. - exp(dt*(( ( ( - 1.0 ) ) ) / tw)))*(- ( ( ( winf ) ) / tw ) / ( ( ( ( - 1.0 ) ) ) / tw ) - w) ;
375
+ s = s + (1. - exp(dt*(( ( ( - 1.0 ) ) ) / ts)))*(- ( ( ( sinf ) ) / ts ) / ( ( ( ( - 1.0 ) ) ) / ts ) - s) ;
376
+ }
377
+ return 0;
378
+ }
379
+
380
+ static int setparames ( _threadargsprotocomma_ double _lv ) {
381
+ minf = 1.0 / ( 1.0 + exp ( - ( _lv - vhm ) / ka ) ) ;
382
+ tmf = atmf / ( 1.0 + pow( ( ( _lv + btmf ) / ctmf ) , 2.0 ) ) ;
383
+ tms = atms + btms / ( 1.0 + pow( 10.0 , ( - ctms * ( dtms - _lv ) ) ) ) + etms / ( 1.0 + pow( 10.0 , ( - ftms * ( gtms + _lv ) ) ) ) ;
384
+ winf = aw + bw / ( 1.0 + exp ( ( _lv - vhw ) / kiw ) ) ;
385
+ sinf = as + bs / ( 1.0 + exp ( ( _lv - vhs ) / kis ) ) ;
386
+ tw = ( atw + btw / ( 1.0 + pow( ( ( _lv - ctw ) / dtw ) , 2.0 ) ) ) ;
387
+ ts = ats ;
388
+ return 0; }
389
+
390
+ static void _hoc_setparames(void) {
391
+ double _r;
392
+ double* _p; Datum* _ppvar; Datum* _thread; _NrnThread* _nt;
393
+ if (_extcall_prop) {_p = _extcall_prop->param; _ppvar = _extcall_prop->dparam;}else{ _p = (double*)0; _ppvar = (Datum*)0; }
394
+ _thread = _extcall_thread;
395
+ _nt = nrn_threads;
396
+ _r = 1.;
397
+ setparames ( _p, _ppvar, _thread, _nt, *getarg(1) );
398
+ hoc_retpushx(_r);
399
+ }
400
+
401
+ static int _ode_count(int _type){ return 4;}
402
+
403
+ static void _ode_spec(_NrnThread* _nt, _Memb_list* _ml, int _type) {
404
+ double* _p; Datum* _ppvar; Datum* _thread;
405
+ Node* _nd; double _v; int _iml, _cntml;
406
+ _cntml = _ml->_nodecount;
407
+ _thread = _ml->_thread;
408
+ for (_iml = 0; _iml < _cntml; ++_iml) {
409
+ _p = _ml->_data[_iml]; _ppvar = _ml->_pdata[_iml];
410
+ _nd = _ml->_nodelist[_iml];
411
+ v = NODEV(_nd);
412
+ ek = _ion_ek;
413
+ _ode_spec1 (_p, _ppvar, _thread, _nt);
414
+ }}
415
+
416
+ static void _ode_map(int _ieq, double** _pv, double** _pvdot, double* _pp, Datum* _ppd, double* _atol, int _type) {
417
+ double* _p; Datum* _ppvar;
418
+ int _i; _p = _pp; _ppvar = _ppd;
419
+ _cvode_ieq = _ieq;
420
+ for (_i=0; _i < 4; ++_i) {
421
+ _pv[_i] = _pp + _slist1[_i]; _pvdot[_i] = _pp + _dlist1[_i];
422
+ _cvode_abstol(_atollist, _atol, _i);
423
+ }
424
+ }
425
+
426
+ static void _ode_matsol_instance1(_threadargsproto_) {
427
+ _ode_matsol1 (_p, _ppvar, _thread, _nt);
428
+ }
429
+
430
+ static void _ode_matsol(_NrnThread* _nt, _Memb_list* _ml, int _type) {
431
+ double* _p; Datum* _ppvar; Datum* _thread;
432
+ Node* _nd; double _v; int _iml, _cntml;
433
+ _cntml = _ml->_nodecount;
434
+ _thread = _ml->_thread;
435
+ for (_iml = 0; _iml < _cntml; ++_iml) {
436
+ _p = _ml->_data[_iml]; _ppvar = _ml->_pdata[_iml];
437
+ _nd = _ml->_nodelist[_iml];
438
+ v = NODEV(_nd);
439
+ ek = _ion_ek;
440
+ _ode_matsol_instance1(_threadargs_);
441
+ }}
442
+ extern void nrn_update_ion_pointer(Symbol*, Datum*, int, int);
443
+ static void _update_ion_pointer(Datum* _ppvar) {
444
+ nrn_update_ion_pointer(_k_sym, _ppvar, 0, 0);
445
+ nrn_update_ion_pointer(_k_sym, _ppvar, 1, 3);
446
+ nrn_update_ion_pointer(_k_sym, _ppvar, 2, 4);
447
+ }
448
+
449
+ static void initmodel(double* _p, Datum* _ppvar, Datum* _thread, _NrnThread* _nt) {
450
+ int _i; double _save;{
451
+ ms = ms0;
452
+ mf = mf0;
453
+ s = s0;
454
+ w = w0;
455
+ {
456
+ setparames ( _threadargscomma_ v ) ;
457
+ mf = 0.0 ;
458
+ ms = 0.0 ;
459
+ w = winf ;
460
+ s = sinf ;
461
+ }
462
+
463
+ }
464
+ }
465
+
466
+ static void nrn_init(_NrnThread* _nt, _Memb_list* _ml, int _type){
467
+ double* _p; Datum* _ppvar; Datum* _thread;
468
+ Node *_nd; double _v; int* _ni; int _iml, _cntml;
469
+ #if CACHEVEC
470
+ _ni = _ml->_nodeindices;
471
+ #endif
472
+ _cntml = _ml->_nodecount;
473
+ _thread = _ml->_thread;
474
+ for (_iml = 0; _iml < _cntml; ++_iml) {
475
+ _p = _ml->_data[_iml]; _ppvar = _ml->_pdata[_iml];
476
+ #if CACHEVEC
477
+ if (use_cachevec) {
478
+ _v = VEC_V(_ni[_iml]);
479
+ }else
480
+ #endif
481
+ {
482
+ _nd = _ml->_nodelist[_iml];
483
+ _v = NODEV(_nd);
484
+ }
485
+ v = _v;
486
+ ek = _ion_ek;
487
+ initmodel(_p, _ppvar, _thread, _nt);
488
+ }
489
+ }
490
+
491
+ static double _nrn_current(double* _p, Datum* _ppvar, Datum* _thread, _NrnThread* _nt, double _v){double _current=0.;v=_v;{ {
492
+ ik = gbkqt3 * ( 0.3 * mf + 0.7 * ms ) * w * s * ( v - ek ) ;
493
+ }
494
+ _current += ik;
495
+
496
+ } return _current;
497
+ }
498
+
499
+ static void nrn_cur(_NrnThread* _nt, _Memb_list* _ml, int _type) {
500
+ double* _p; Datum* _ppvar; Datum* _thread;
501
+ Node *_nd; int* _ni; double _rhs, _v; int _iml, _cntml;
502
+ #if CACHEVEC
503
+ _ni = _ml->_nodeindices;
504
+ #endif
505
+ _cntml = _ml->_nodecount;
506
+ _thread = _ml->_thread;
507
+ for (_iml = 0; _iml < _cntml; ++_iml) {
508
+ _p = _ml->_data[_iml]; _ppvar = _ml->_pdata[_iml];
509
+ #if CACHEVEC
510
+ if (use_cachevec) {
511
+ _v = VEC_V(_ni[_iml]);
512
+ }else
513
+ #endif
514
+ {
515
+ _nd = _ml->_nodelist[_iml];
516
+ _v = NODEV(_nd);
517
+ }
518
+ ek = _ion_ek;
519
+ _g = _nrn_current(_p, _ppvar, _thread, _nt, _v + .001);
520
+ { double _dik;
521
+ _dik = ik;
522
+ _rhs = _nrn_current(_p, _ppvar, _thread, _nt, _v);
523
+ _ion_dikdv += (_dik - ik)/.001 ;
524
+ }
525
+ _g = (_g - _rhs)/.001;
526
+ _ion_ik += ik ;
527
+ #if CACHEVEC
528
+ if (use_cachevec) {
529
+ VEC_RHS(_ni[_iml]) -= _rhs;
530
+ }else
531
+ #endif
532
+ {
533
+ NODERHS(_nd) -= _rhs;
534
+ }
535
+
536
+ }
537
+
538
+ }
539
+
540
+ static void nrn_jacob(_NrnThread* _nt, _Memb_list* _ml, int _type) {
541
+ double* _p; Datum* _ppvar; Datum* _thread;
542
+ Node *_nd; int* _ni; int _iml, _cntml;
543
+ #if CACHEVEC
544
+ _ni = _ml->_nodeindices;
545
+ #endif
546
+ _cntml = _ml->_nodecount;
547
+ _thread = _ml->_thread;
548
+ for (_iml = 0; _iml < _cntml; ++_iml) {
549
+ _p = _ml->_data[_iml];
550
+ #if CACHEVEC
551
+ if (use_cachevec) {
552
+ VEC_D(_ni[_iml]) += _g;
553
+ }else
554
+ #endif
555
+ {
556
+ _nd = _ml->_nodelist[_iml];
557
+ NODED(_nd) += _g;
558
+ }
559
+
560
+ }
561
+
562
+ }
563
+
564
+ static void nrn_state(_NrnThread* _nt, _Memb_list* _ml, int _type) {
565
+ double* _p; Datum* _ppvar; Datum* _thread;
566
+ Node *_nd; double _v = 0.0; int* _ni; int _iml, _cntml;
567
+ #if CACHEVEC
568
+ _ni = _ml->_nodeindices;
569
+ #endif
570
+ _cntml = _ml->_nodecount;
571
+ _thread = _ml->_thread;
572
+ for (_iml = 0; _iml < _cntml; ++_iml) {
573
+ _p = _ml->_data[_iml]; _ppvar = _ml->_pdata[_iml];
574
+ _nd = _ml->_nodelist[_iml];
575
+ #if CACHEVEC
576
+ if (use_cachevec) {
577
+ _v = VEC_V(_ni[_iml]);
578
+ }else
579
+ #endif
580
+ {
581
+ _nd = _ml->_nodelist[_iml];
582
+ _v = NODEV(_nd);
583
+ }
584
+ v=_v;
585
+ {
586
+ ek = _ion_ek;
587
+ { states(_p, _ppvar, _thread, _nt);
588
+ } }}
589
+
590
+ }
591
+
592
+ static void terminal(){}
593
+
594
+ static void _initlists(){
595
+ double _x; double* _p = &_x;
596
+ int _i; static int _first = 1;
597
+ if (!_first) return;
598
+ _slist1[0] = &(mf) - _p; _dlist1[0] = &(Dmf) - _p;
599
+ _slist1[1] = &(ms) - _p; _dlist1[1] = &(Dms) - _p;
600
+ _slist1[2] = &(w) - _p; _dlist1[2] = &(Dw) - _p;
601
+ _slist1[3] = &(s) - _p; _dlist1[3] = &(Ds) - _p;
602
+ _first = 0;
603
+ }
604
+
605
+ #if defined(__cplusplus)
606
+ } /* extern "C" */
607
+ #endif
608
+
609
+ #if NMODL_TEXT
610
+ static const char* nmodl_filename = "/home/zjj/8TB/robot_arm/project/BAAIWorm_v1/eworm/components/mechanism/modfile/kqt3.mod";
611
+ static const char* nmodl_file_text =
612
+ "TITLE kqt3 current for C. elegans neuron model\n"
613
+ "\n"
614
+ "\n"
615
+ "COMMENT\n"
616
+ "voltage-gated potassium channel\n"
617
+ "ENDCOMMENT\n"
618
+ "\n"
619
+ "\n"
620
+ "UNITS {\n"
621
+ " (nS) = (nanosiemens)\n"
622
+ " (mV) = (millivolt)\n"
623
+ " (pA) = (picoamp)\n"
624
+ " (um) = (micron)\n"
625
+ "}\n"
626
+ "\n"
627
+ "\n"
628
+ "NEURON {\n"
629
+ " SUFFIX kqt3\n"
630
+ " USEION k READ ek WRITE ik\n"
631
+ " RANGE gbkqt3, minf, tmf, tms, winf, sinf, tw, ts, mf, ms, w, s\n"
632
+ "}\n"
633
+ "\n"
634
+ "\n"
635
+ "PARAMETER {\n"
636
+ " gbkqt3 = 1 (nS/um2)\n"
637
+ " vhm = -12.6726 (mV)\n"
638
+ " ka = 15.8008 (mV)\n"
639
+ " vhw = -1.084 (mV)\n"
640
+ " kiw = 28.78 (mV)\n"
641
+ " aw = 0.49\n"
642
+ " bw = 0.51\n"
643
+ " vhs = -45.3 (mV)\n"
644
+ " kis = 12.3 (mV)\n"
645
+ " as = 0.34\n"
646
+ " bs = 0.66\n"
647
+ " atmf = 395.3 (ms)\n"
648
+ " btmf = 38.1 (mV)\n"
649
+ " ctmf = 33.59 (mV)\n"
650
+ " atms = 5503.0 (ms)\n"
651
+ " btms = -5345.4 (ms)\n"
652
+ " ctms = 0.02827 (1/mV)\n"
653
+ " dtms = -23.9 (mV)\n"
654
+ " etms = -4590.6 (ms)\n"
655
+ " ftms = 0.0357 (1/mV)\n"
656
+ " gtms = 14.15 (mV)\n"
657
+ " atw = 0.544 (ms)\n"
658
+ " btw = 29.2 (ms)\n"
659
+ " ctw = -48.09 (mV)\n"
660
+ " dtw = 48.83 (mV)\n"
661
+ " ats = 500e3 (ms)\n"
662
+ "}\n"
663
+ "\n"
664
+ "\n"
665
+ "ASSIGNED {\n"
666
+ " v (mV)\n"
667
+ " ek (mV)\n"
668
+ " ik (pA/um2)\n"
669
+ " minf\n"
670
+ " tmf (ms)\n"
671
+ " tms (ms)\n"
672
+ " winf\n"
673
+ " sinf\n"
674
+ " tw (ms)\n"
675
+ " ts (ms)\n"
676
+ "}\n"
677
+ "\n"
678
+ "\n"
679
+ "STATE {\n"
680
+ " mf\n"
681
+ " ms\n"
682
+ " w\n"
683
+ " s\n"
684
+ "}\n"
685
+ "\n"
686
+ "\n"
687
+ "BREAKPOINT {\n"
688
+ " SOLVE states METHOD cnexp\n"
689
+ " ik = gbkqt3 * (0.3 * mf + 0.7 * ms) * w * s * (v - ek)\n"
690
+ " :ik = gbkqt3 * (0.3 * mf + 0.7 * ms) * (v + 80)\n"
691
+ " :ek = -80\n"
692
+ "}\n"
693
+ "\n"
694
+ "\n"
695
+ "INITIAL {\n"
696
+ " setparames(v)\n"
697
+ " mf = 0\n"
698
+ " ms = 0\n"
699
+ " w = winf\n"
700
+ " s = sinf\n"
701
+ "}\n"
702
+ "\n"
703
+ "\n"
704
+ "DERIVATIVE states {\n"
705
+ " setparames(v)\n"
706
+ " mf' = (minf - mf) / tmf\n"
707
+ " ms' = (minf - ms) / tms\n"
708
+ " w' = (winf - w) / tw\n"
709
+ " s' = (sinf - s) / ts\n"
710
+ "}\n"
711
+ "\n"
712
+ "\n"
713
+ "PROCEDURE setparames(v (mV)) {\n"
714
+ " minf = 1 / (1 + exp(-(v - vhm) / ka))\n"
715
+ " tmf = atmf / (1 + ((v + btmf) / ctmf) ^ 2)\n"
716
+ " tms = atms + btms / (1 + 10 ^ (-ctms * (dtms - v))) + etms / (1 + 10 ^ (-ftms * (gtms + v)))\n"
717
+ " winf = aw + bw / (1 + exp((v - vhw) / kiw))\n"
718
+ " sinf = as + bs / (1 + exp((v - vhs) / kis))\n"
719
+ " tw = (atw + btw / (1 + ((v - ctw) / dtw) ^ 2))\n"
720
+ " ts = ats\n"
721
+ "}\n"
722
+ ;
723
+ #endif