Simple neuron simulator using NumPy and matplotlib.
Can simulate multi-compartment neurons with soma, axon, dendrites and synapses.
Implements Hodgkin-Huxley equations (Hodgkin / Huxley 1952), Rall's cable theory (Rall 1977) and several synapse models (Destexhe / Mainen / Sejnowsky 1998).
Supports Euler's and Heun's algorithms as differential equation solvers.
Visualizes the potentials in an animated matplotlib graph and allows direct user interaction (e. g. insert current, show segment parameters).
Run src/simulation.py to start. Requries Python 3.3, NumPy and matplotlib.
User interface with voltage graph and data browser: