Programming tutorial for "Models in higher brain functions" in 2009
Here you will find all the material for the programing tutorial. The tutorial takes place Monday 2:00 - 3:30 pm in the computer pool on the upper floor in the
BCCN. Note that the door to the upper floor might be locked, so I will take a look outside just before the course starts.
This tutorial will complement the lecture by looking at the topics from a programming angle. We will explore more advanced programming techniques, which are useful for working on larger research projects. Problem sets will be given every one or two weeks. Towards the end of the course a larger project will be assigned.
The solutions to the problem sets must be written in Python. If you are new to Python take a look at my Python introductory page. The code should follow the standard coding conventions. I will not accept exercise solutions that deviate from this standard without good reason. I highly recommend you to read Code Like a Pythonista: Idiomatic Python, where the coding conventions are nicely wrapped up. Solutions are also only accepted if they are well structured (code that "just works" will not be sufficient...).
Updates
- The tutorial time has been moved again (due to the changed lecture time). Beginning on the 8.6 we start already at 2.00 pm.
- Here is an example file for animations with matplotlib.
Problem Sets
Programming Techniques
It is intendet to present some advanced programming techniques during the tutorial, some of which will then be used in the exercises. We will decide on the topics based on previous experience and general interest. Topics of interest might be:
- Unit Testing (27.4) slides
- Design patterns (4.5 and 11.5) slides (updated)
- The Eclipse IDE (18.5, in the computer room, not the lecture hall)
- Version Control (25.5)
- GUIs (with PyQt)
- Using web technologies in science (HTML, CSS, JS, AJAX)