For those of you not familiar with the technology, Python is a programming language not know for speed and the Raspberry Pi is a cheap, low-powered computer smaller than your palm.
For those of you familiar with the technology, this is just another reason why Python is amazing.
Basic Python is very slow, but numerical computing libraries such as Numpy are almost as fast as C, and Cython can compile Python into C if you add in type declarations. (more reasons why Python is awsome!)
I would imagine that you might use numerical computing libraries for neural simulations, so their program might have been running at close to C speeds.
If you look at the description you find that the model used is very simple and bois down to probably less than N*M*2 machine instructions per cycle (N=number of neurons, here 302, M=average fan in). Because the operation is really only sum and threashold. I can only guess at M but even if we approximate it with N a raspberry pi with ARM Core M 700 MHz should be able to run a nematode connectome at about 4000x its natural speed.
The point here is not the necessary speed but the ease of simulation and visualization of effects.
In the original article (PDF, free to download after you register) I find:
βThe artificial connectome has been extended to a single application written in Python and run on a Raspberry Pi computer.β
The original article also links this YouTube video, for those who are interested.
For those of you not familiar with the technology, Python is a programming language not know for speed and the Raspberry Pi is a cheap, low-powered computer smaller than your palm.
For those of you familiar with the technology, this is just another reason why Python is amazing.
Basic Python is very slow, but numerical computing libraries such as Numpy are almost as fast as C, and Cython can compile Python into C if you add in type declarations. (more reasons why Python is awsome!)
I would imagine that you might use numerical computing libraries for neural simulations, so their program might have been running at close to C speeds.
This gives us an upper bound of about 1.5MB ram /β 100KFLOPs/β10 cents per neuron. Possibly a lot lower.
If you look at the description you find that the model used is very simple and bois down to probably less than N*M*2 machine instructions per cycle (N=number of neurons, here 302, M=average fan in). Because the operation is really only sum and threashold. I can only guess at M but even if we approximate it with N a raspberry pi with ARM Core M 700 MHz should be able to run a nematode connectome at about 4000x its natural speed.
The point here is not the necessary speed but the ease of simulation and visualization of effects.