Introduction

This repository contains python exercises accompanying the book Neuronal Dynamics 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.

Quickstart

See the setup instructions for details on how to install the python classes needed for the exercises.

To install the exercises with anaconda/miniconda (recommended) execute:

conda install -c brian-team -c epfl-lcn neurodynex

Alternatively, you can use pip to install the exercises:

pip install --upgrade neurodynex

See the indiviual exercises - they contain instructions on how to use the python code to solve them.

Brian1

All exercises are rewritten and use the more recent Brian2 Simulator. The old brian1 exercises are available on the brian1 branch.

Requirements

The following requirements should be met:

  • Either Python 2.7 or 3.4
  • Brian2 Simulator 2.0b4
  • Numpy
  • Matplotlib
  • Scipy (only required in some exercises)

If you are not using anaconda/miniconda, you can install all requirements by running:

pip install -r requirements.txt

Disclaimer

  • You can download, use and modify the software we provide here. It has been tested but it can still contain errors.
  • The content of this site can change at any moment. We may change, add or remove code/exercises without notification.