Build Status

Neuronal Dynamics: Python Exercises

This repository contains python exercises accompanying the book `Neuronal Dynamics <http://neuronaldynamics.epfl.ch/>`__ by Wulfram Gerstner, Werner M. Kistler, Richard Naud and Liam Paninski. References to relevant chapters will be added in the Teaching Materials section of the book homepage.

Most exercises rely on the python based Brian neural network simulator.

Installation

Each exercise is described in its own folder by a PDF file. The exercises are intended to be solved using the provided python classes. To run the code contained in each folder, the following requirements should be met:

  • Tested on Python 2.7 and 3.4
  • Brian2 Simulator
  • Numpy
  • Matplotlib
  • Scipy [only required in some exercises]

You can also install all requirements by running pip install -r requirements.txt from the main directory of this repository, in a console.

License

This free software: you can redistribute it and/or modify it under the terms of the GNU General Public License 2.0 as published by the Free Software Foundation. You should have received a copy of the GNU General Public License along with the repository. If not, see http://www.gnu.org/licenses/.

Should you reuse and publish the code for your own purposes, please point to the webpage http://neuronaldynamics.epfl.ch or cite the book: Wulfram Gerstner, Werner M. Kistler, Richard Naud, and Liam Paninski. Neuronal Dynamics: From Single Neurons to Networks and Models of Cognition. Cambridge University Press, 2014.