CSIM_LIFNET

CSIM_LIFNET is a simulator for networks of leaky-integrate-and-fire neurons. This simulator is written in C with a MEX interface to Matlab. To learn more about mex files click here.

The Implemented Model

It implements the standard leaky-integrate-and-fire neuron model where the membrane potential V of a neuron is given by where tau is the membrane time constant, Vrest is the resting membrane potential, R is the input resistance, Isyn(t) is the current supplied by the synapses and Iback is a non-specific background current. In CSIM_LIFNET we have chosen the fixed values Vrest=0.0 mV and R=1.0 Ohm (This means that you have to offset your voltages (if you like) and scale the currents by the actual input resistance). If V exceeds the threshold voltage Vthresh it is reset to Vreset < Vthresh and hold there for the length tau_refr of the absolute refractory period.

It implements two types of synapses: static and dynamic synapses. While for static synapses the amplitude of each postsynaptic current (PSC) is constant the amplitude of ans PSC in the case of a dynamic synapse depends on the spikes seen so far (see [Markram, Wang and Tsodyks. PNAS 95:5323-5328, 1998] for details). The time course of a PSCs is modeled as exp(-t/tau_s) where tau_s is the synaptic time constant.

There are two forms of input which can be supplied to the simulated network: spike trains and analog currents (see csim_lifnet.m for details).

The Package

Contents

The gzipped tar archive csim_lifnet.tar.gz contains the following files:

Installation / Usage

  1. Download the gzipped tar archive csim_lifnet.tar.gz (30kB).
  2. Unpack the archive.
    • If you have Linux a command (at the shell level) like
        tar xvzf csim_lifnet.tar.gz
      will do the job (and create a sub-directory named csim_lifnet).
    • If you have Windows use something like WinZip to extract the files
  3. If you do not have Linux (Redhat 7.1) or Windows 9x with Matlab 6.1 installed you have to compile csim_lifnet.c with a command like
      mex csim_lifnet.c randgen.c
    To learn more about mex files click here
  4. Run lifnet_demo from within Matlab
  5. Read csim_lifnet.m (you can also display this from within Matlab with a command like "helpwin csim_lifnet")
  6. Have fun using CSIM_LIFNET ;)

Thomas Natschläger, Nov. 16, 2001