Short Term Depression, Presynaptic Inhib., Neuron Diversity Roles in Antennal Lobe (Wei & Lo 2020)

 Download zip file 
Help downloading and running models

1 . Kao KW, Lo CC (2020) Short term depression, presynaptic inhibition and local neuron diversity play key functional roles in the insect antennal lobe Journal of Computational Neuroscience 48(2):213-227 [PubMed]
Model Information (Click on a link to find other models with that property)
Model Type:
Brain Region(s)/Organism:
Cell Type(s): Abstract integrate-and-fire leaky neuron;
Gap Junctions:
Receptor(s): Cholinergic Receptors; GabaA; GabaB; Glutamate; NMDA;
Transmitter(s): Acetylcholine; Gaba; Glutamate;
Simulation Environment: C or C++ program;
Model Concept(s): Short-term Synaptic Plasticity;
Search NeuronDB for information about:  GabaA; GabaB; NMDA; Glutamate; Cholinergic Receptors; Acetylcholine; Gaba; Glutamate;
% Read-me for cl_realsimu7e12.c simulation package
%                 Chung-Chuan Lo (
%                 Cclolab  ( 

cl_realsimu7e12.c is a public version of the C code that was used 
in Kao Kuo Wei and Chung-Chuan Lo "Short Term Depression, 
Presynaptic Inhibition  and Local Neuron Diversity Play Key Functional 
Roles in the Insect Antennal Lobe". The early version of
the code was developed by Stefano Fusi and was further modified by 
Chung-Chuan Lo. If you publish works that make use of the code, 
proper acknowledgments should be given. 

The code needs to be compiled with rando2.h which is also included. 
When you run the program, it reads network.conf for the definition 
of the network structure and for the task protocol. You can 
find a list of command line arguments that you can use with the program 
in the main() section of the code. The program exports files that contain 
firing rate of each population. Depending on the arguments you use, 
the code can also export files containing spike timing, membrane potential
and conductance etc. The code was developed for general purposes and the
code provides many figures that are not used by the supplied network.conf 

The included network structure file (network.conf) and task protocol 
file ( are in plain text format and are self-explained. 
The network.conf file shows an example of the artificial network applied in 
our paper "Short Term Depression, Presynaptic Inhibition  and Local Neuron 
Diversity Play Key Functional Roles in the Insect Antennal Lobe". 

Note that if any other people wants to obtain this code, please always 
forward their requests to me (Kao Kuo Wei email:
or to the lab PI Chung-Chuan Lo (
We need to keep a track of the distribution of our codes.

How to compile the code:
We reccomand using gcc compiler
In its most basic form, gcc compiler can be used as:

gcc cl_realsimu7e12.c 

The above command executes the complete compilation process and outputs an executable with name a.out.
Use option -o, as shown below, to specify the output file name for the executable.

gcc cl_realsimu7e12.c -o cl_realsimu7e12

Kao Kuo Wei 
National Tsing Hua University 
Tel: (886) 928272399
Lab website:

Loading data, please wait...