Skip to main content

A Biologically Accurate Simulator of Human Neurons.

Project description


This is a framework that simulates real neurons as closely as possible, so that it is possible to make your own Neural Nets that somewhat match real brains. It is multiprocessed, so that it will use as many cpus as you want, and multi machine support is coming soon.


This is a simulation graph of 27 neurons in a 3x3x3 cube. The graph is the neuron voltages summed up, so that you can visulize the Neural Oscillations. 27 Neuron Simulation

Here is a simulation of around 12K neurons, which shows a smaller time scale. 27 Neuron Simulation

This is a simulation of 12K neurons, but over a much longer time. Please excuse the other colour lines, they were for averages, max, min, etc. 27 Neuron Simulation

Here's the simulation with around 12M neurons, over about 2 seconds. Sadly, i could not run it for longer, due to it just taking too long on my machine. My setup is (2x Xeon E5-2680V2), so it has 20C/40T. 12M neurons is around the limit for 40 Threads. However, it is possible to make this work better with more cpu cores, so that it can be more distributed. 27 Neuron Simulation

Lastly, here's the simulation with 27 Neurons over about 100 seconds. 27 Neuron Simulation


Feel free to email me at I would love to hear about any ideas anyone has to make this work better. More specifically, i would love to know how many other types of neurons are in the brain, and how they behave, so that i can implement them in the simulator. Eventually, i need to know how a baby learns so that i can emulate it with the ai, however that might be a long way off.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for BrainGenix, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size BrainGenix-0.0.2-py3-none-any.whl (41.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size BrainGenix-0.0.2.tar.gz (20.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page