Skip to content

Commit

Permalink
check for activity in test performance
Browse files Browse the repository at this point in the history
  • Loading branch information
djanloo committed Jul 12, 2024
1 parent 95f6c69 commit 58808b6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_performances.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,11 @@

sn = SpikingNetwork.from_yaml("bg_analysis/ortone_network_dispersive.yaml", "bg_analysis/ortone_neurons.yaml")

sn.monitorize_spikes()
sn.build()
sn.run(dt=0.1, time=600)
sn.run(dt=0.1, time=60)

import matplotlib.pyplot as plt

plt.plot(sn.populations["D1"].get_data('spikes'))
plt.show()

0 comments on commit 58808b6

Please sign in to comment.