Skip to content

Commit

Permalink
dont save unused values
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Dec 18, 2024
1 parent 19a71fb commit b2751bd
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ class TestSimple(BaseTestCase):

def test_simple(self):
sim.setup(timestep=1.0, n_boards_required=1)
machine = sim.get_machine()
sim.get_machine()
sim.set_number_of_neurons_per_core(sim.IF_curr_exp, 100)

pop_1 = sim.Population(1, sim.IF_curr_exp(), label="pop_1")
input_pop = sim.Population(
1, sim.SpikeSourceArray(spike_times=[0]), label="input")
input_proj = sim.Projection(input_pop, pop_1, sim.OneToOneConnector(),
synapse_type=sim.StaticSynapse(weight=5,
delay=1))
sim.Projection(input_pop, pop_1, sim.OneToOneConnector(),
synapse_type=sim.StaticSynapse(weight=5, delay=1))
pop_1.record(["spikes", "v"])
simtime = 10
sim.run(simtime)
Expand Down

0 comments on commit b2751bd

Please sign in to comment.