Skip to content
This repository was archived by the owner on Jan 27, 2023. It is now read-only.

Data Structures

Antonio Ulloa edited this page Jun 4, 2015 · 26 revisions

The LSNM simulator is contained in the python script sim.py. The data structure used to store the LSNM network, called modules, is a python dictionary containing the name of the module (a character string) and a description of the module (all parameters known about the specific module):

Key Dictionary entry
Module name Module description

Each entry in the modules dictionary is a python list of lists containing number of columns and rows of the given module (matrix of units), activation rule (clamp or Wilson-Cowan), equation parameters needed to solve equations and find current values of module units, and the content of each unit in the module (itself a python list):

index 0 index 1 index 2 index 3-7 index 8
Number of columns Number of rows Activation rule equation parameters content of units

The content of each unit is a python list containing the neural activity of the given unit at the current timestep, the sum of the inhibitory inputs to the given units, the sum of the excitatory inputs to the given unit, and the outgoing connections (itself a python list) to other units in the network:

index 0 index 1 index 2 index 3 index 4
Neural activity Sum of inhibitory inputs Sum of excitatory inputs Outgoing connections
Clone this wiki locally