Changes for page 03. Building and simulating a simple model
Last modified by adavison on 2022/10/04 13:55
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -338,7 +338,8 @@ 338 338 synapse_type = sim.StaticSynapse(weight=0.5, delay=0.5) 339 339 connections = sim.Projection(population1, population2, connection_algorithm, synapse_type)(%%) 340 340 (% style="color:#000000" %)sim.run(100.0)(%%) 341 -(% style="color:#000000" %)data_v = population1.get_data().segments[0].filter(name='v')[0] 341 +(% style="color:#000000" %)data1_v = population1.get_data().segments[0].filter(name='v')[0] 342 +data2_v = population1.get_data().segments[0].filter(name='v')[0] 342 342 Figure( 343 343 Panel( 344 344 data_v[:, 0:5], ... ... @@ -345,11 +345,13 @@ 345 345 xticks=True, xlabel="Time (ms)", 346 346 yticks=True, ylabel="Membrane potential (mV)" 347 347 ), 348 - title="Response of first five neurons with heterogeneous parameters", 349 + 350 + 351 +(% style="color:#000000" %) title="Response of first five neurons with heterogeneous parameters", 349 349 annotations="Simulated with NEST" 350 350 ).show() 351 351 352 -Run script in terminal, show figure 355 +**Run script in terminal, show figure** 353 353 ))) 354 354 355 355 (% class="wikigeneratedid" id="HSummary28Inthistutorial2CyouhavelearnedtodoX202629" %)