Research Group Leader

Prof. Dr. Matthias Bethge
Prof. Dr. Matthias Bethge
Phone: +49 7071 29-89017
Fax: +49 7071 29-25015


Secretary: Heike König
Phone: +49 7071 29-89018
Fax: +49 7071 29-25015


Toolbox for inference in generalized linear models for spiking neurons.


Provides a toolbox for doing inference in generalized linear models
for spiking neurons. This includes calculating MAP estimates for L1
and L2 priors as well as approximations to the posterior moments based
on the Expectation Propagation algorithm.


a) Make sure the MinFunc toolbox is installed. Available at

b) Install the lightspeed toolbox. (actually only normcdfln.m is needed)

c) Unpack the archive: 'tar -xvzf glmToolBox.tar.gz'

d) If necessary, compile the mex-code. Compiled versions for Windows (32bit)
and Linux (64bit) are contained in the archive.
cd ./GLMToolBox/code/mexCode/
make install


a) execute adjustPath from the main-directory before using any of the code.
b) See examples for basic usage. Scripts are located in < main-directory > /exampleScripts/


The code is published under the GNU Gneral Public License
The code is provided "as it" and has no warranty whatsoever.

Download (294 KB)
Last updated: Wednesday, 27.02.2013