Last modified by adavison on 2022/10/04 13:55

From version 12.1
edited by adavison
on 2021/09/30 14:21
Change comment: There is no comment for this version
To version 11.5
edited by adavison
on 2021/09/30 14:20
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -338,8 +338,7 @@
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" %)data1_v = population1.get_data().segments[0].filter(name='v')[0]
342 -data2_v = population1.get_data().segments[0].filter(name='v')[0]
341 +(% style="color:#000000" %)data_v = population1.get_data().segments[0].filter(name='v')[0]
343 343  Figure(
344 344   Panel(
345 345   data_v[:, 0:5],
... ... @@ -346,13 +346,11 @@
346 346   xticks=True, xlabel="Time (ms)",
347 347   yticks=True, ylabel="Membrane potential (mV)"
348 348   ),
349 -
350 -
351 -(% style="color:#000000" %) title="Response of first five neurons with heterogeneous parameters",
348 + title="Response of first five neurons with heterogeneous parameters",
352 352   annotations="Simulated with NEST"
353 353  ).show()
354 354  
355 -**Run script in terminal, show figure**
352 +Run script in terminal, show figure
356 356  )))
357 357  
358 358  (% class="wikigeneratedid" id="HSummary28Inthistutorial2CyouhavelearnedtodoX202629" %)