Changes for page 03. Building and simulating a simple model
Last modified by adavison on 2022/10/04 13:55
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. shailesh1 +XWiki.adavison - Content
-
... ... @@ -169,9 +169,9 @@ 169 169 (% style="color:#e74c3c" %)from pyNN.random import RandomDistribution(%%) 170 170 (% style="color:#000000" %)sim.setup(timestep=0.1)(%%) 171 171 (% style="color:#000000" %)cell_type = sim.IF_curr_exp( 172 - (% style="color:#e74c3c" %) v_rest=RandomDistribution('normal', {'mu':-65.0,'sigma':1.0}),173 - v_thresh=RandomDistribution('normal', {'mu':-55.0,'sigma':1.0}),174 - v_reset=RandomDistribution('normal', {'mu':-65.0,'sigma':1.0}), (%%)172 + (% style="color:#e74c3c" %) v_rest=RandomDistribution('normal', mu=-65.0, sigma=1.0), 173 + v_thresh=RandomDistribution('normal', mu=-55.0, sigma=1.0), 174 + v_reset=RandomDistribution('normal', mu=-65.0, sigma=1.0), (%%) 175 175 (% style="color:#000000" %) tau_refrac=1, tau_m=10, cm=1, i_offset=0.1)(%%) 176 176 177 177 ... ... @@ -289,7 +289,7 @@ 289 289 (% style="color:#e74c3c" %)Panel( 290 290 data2_v[:, 0:5], 291 291 xticks=True, xlabel="Time (ms)", 292 - yticks=True "292 + yticks=True 293 293 ),(%%) 294 294 (% style="color:#000000" %) title="Response of (% style="color:#e74c3c" %)simple network(% style="color:#000000" %)", 295 295 annotations="Simulated with NEST" ... ... @@ -310,9 +310,9 @@ 310 310 (% style="color:#000000" %)from pyNN.random import RandomDistribution(%%) 311 311 (% style="color:#000000" %)sim.setup(timestep=0.1)(%%) 312 312 (% style="color:#000000" %)cell_type = sim.IF_curr_exp( 313 - (% style="color:#e74c3c" %) (% style="color:#000000" %)v_rest=RandomDistribution('normal', {'mu':-65.0,'sigma':1.0}),314 - v_thresh=RandomDistribution('normal', {'mu':-55.0,'sigma':1.0}),315 - v_reset=RandomDistribution('normal', {'mu':-65.0,'sigma':1.0}), (%%)313 + (% style="color:#e74c3c" %) (% style="color:#000000" %)v_rest=RandomDistribution('normal', mu=-65.0, sigma=1.0), 314 + v_thresh=RandomDistribution('normal', mu=-55.0, sigma=1.0), 315 + v_reset=RandomDistribution('normal', mu=-65.0, sigma=1.0), (%%) 316 316 (% style="color:#000000" %) tau_refrac=1, tau_m=10, cm=1, i_offset=0.1)(%%) 317 317 (% style="color:#000000" %)population1 = sim.Population(100, cell_type, label="Population 1")(%%) 318 318 (% style="color:#000000" %)population2 = sim.Population(100, cell_type, label="Population 2") ... ... @@ -334,7 +334,7 @@ 334 334 Panel( 335 335 data2_v[:, 0:5], 336 336 xticks=True, xlabel="Time (ms)", 337 - yticks=True "337 + yticks=True 338 338 ),(%%) 339 339 (% style="color:#000000" %) title="Response of simple network", 340 340 annotations="Simulated with (% style="color:#e74c3c" %)NEURON(% style="color:#000000" %)"