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 dimensions of the given module (matrix of units), type of module (clamp or Wilson-Cowan), equations 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
X dimension Y dimension module type equation parameters content of units
Clone this wiki locally