Return to Neural Models

Spiking neurons, cluster example

Quick example to create a cluster of interconnected spiking neurons controlled by a leaky integrator for the action potential. A simple input is provided characterised by the same numerosity of the neural cluster. All parameters can be changes to see the effect of different types of connectivity on the overall activity.

NB the simulation relies on a “step” function. See below for code and instructions.



Step function to update the activity of the units in the cluster. Save this code as a separate file with the name “cluster_step” in the same folder as the main file above.



Leave a Reply

Insert math as
Additional settings
Formula color
Text color
Type math using LaTeX
Nothing to preview
%d bloggers like this: