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

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

Summary

Details

Page properties
Content
... ... @@ -334,24 +334,21 @@
334 334  population2.set(i_offset=0)
335 335  population1.record("v")
336 336  population2.record("v")(%%)
337 -(% style="color:#000000" %)connection_algorithm = sim.FixedProbabilityConnector(p=0.5)
337 +(% style="color:#e74c3c" %)connection_algorithm = sim.FixedProbabilityConnector(p=0.5)
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:#e74c3c" %)data1_v(% style="color:#000000" %) = population1.get_data().segments[0].filter(name='v')[0](%%)
342 -(% style="color:#e74c3c" %)data2_v = population2.get_data().segments[0].filter(name='v')[0](%%)
343 -(% style="color:#000000" %)Figure(
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]
343 +Figure(
344 344   Panel(
345 - (% style="color:#e74c3c" %)data1_v(% style="color:#000000" %)[:, 0:5],
346 - xticks=True, (% style="color:#e74c3c" %)--xlabel="Time (ms)",--(%%)
347 -(% style="color:#000000" %) yticks=True, ylabel="Membrane potential (mV)"
348 - ),
349 - (% style="color:#e74c3c" %)Panel(
350 - data2_v[:, 0:5],
345 + data_v[:, 0:5],
351 351   xticks=True, xlabel="Time (ms)",
352 - yticks=True"
353 - ),(%%)
354 -(% style="color:#000000" %) title="Response of (% style="color:#e74c3c" %)simple network(% style="color:#000000" %)",
347 + yticks=True, ylabel="Membrane potential (mV)"
348 + ),
349 +
350 +
351 +(% style="color:#000000" %) title="Response of first five neurons with heterogeneous parameters",
355 355   annotations="Simulated with NEST"
356 356  ).show()
357 357