I am still working on neural networks with heterogenous conduction delays, inspired by Izhikevich’s work about Polychronization. As I couldn’t find a Python implementation of his script file spnet.m (which is written in Matlab), I wrote it by myself, using the modules Numpy and Matplotlib. It is a more or less direct conversion of the Matlab code to Python thanks to Numpy. Maybe someone else can use this code as well.
Hi Martin,
I could not run spnet.py program after window openning, it does not give any response.
Could you please check it if there is any proplem at your program?
B.Regards,
Hasan Ozdemirci
I have no problems running it. Do you have all libraries that are imported at the the beginning of the script?
I run it in ipython on the command line and it continuously updates the window with the spike times. The output on the command line looks like this:
Setup post and delay
1.13 seconds
Setup pre and aux
3.8 seconds
Run simulation
0
4.14 seconds
1
8.57 seconds
2
13.22 seconds
3
17.06 seconds
4
20.86 seconds
5
24.17 seconds
6
27.18 seconds
7
29.45 seconds
8
31.87 seconds
9
34.26 seconds
When the setup of the network takes considerably longer than on my computer, maybe you just have to wait longer until you receive the first update in the window.
Best,
Martin