Close

Population Code and Rate Code

A project log for Medius

A Spiking Neural Network Simulator in Python

viviannaVivianna 12/26/2023 at 21:550 Comments
This is a proof of concept to show how sensory and state information can be represented using a population of modified Izhikevich neurons. The examples here read an angle from the environment; this can be considered the angle of a joint on a limb. In biological systems this angle would be determined from the integration of various sensors but in a synthetic system can be determined by a potentiometer or encoder. Each neuron in a population code corresponds to a specific value in a state space, with the firing rate of each neuron determined by proximity to that specific value. In these examples the proximity is given by a Gaussian function where the peak is centered on the threshold of the neuron, and the coefficient and standard deviation are arbitrary. As the firing rate of each neuron is a function of its input current, this Gaussian function provides a bias current per neuron.
Here is an example with one neuron that senses an angle of zero. The angle is given in radians in the top plot, while the bottom plot shows the firing sequence.

Discussions