Skip to content

Commit d633245

Browse files
committed
Add scaling here
1 parent 1a38588 commit d633245

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

examples/external_devices_examples/live_examples/balanced_random_live_rate.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
from pyNN.random import RandomDistribution
2020
from pyNN.utility.plotting import Figure, Panel
2121

22-
p.setup(timestep=0.1)
22+
# We need a time scale factor here as we are interacting live, so too fast
23+
# otherwise!
24+
p.setup(timestep=0.1, time_scale_factor=1.0)
2325
p.set_number_of_neurons_per_core(p.SpikeSourcePoisson, 50)
2426
n_neurons = 500
2527
n_exc = int(round(n_neurons * 0.8))

0 commit comments

Comments
 (0)