2017 Epos: Programming and analysing psychological Experiments in Python

Teacher:             Edwin Dalmaijer
Location:           Faculty of Social Sciences, Wassenaarseweg 52, Leiden
Time:                  27+29+31 March full days
ECTS:                  2
Maximum number of participants: 24

Free for EPOS members: Registration will be done through this link (click here)
Non-EPOS PhD students can participate for 250€. Registration will be done through this link. Payment can be done by clicking on this internetlink or see tab: payment non- member.  Please note that your registration will not be valid by non-payment.

In this hands-on workshop, you will learn how to script experiments and analyses in Python. This versatile and open-source programming language is free, easy to use, and very popular in science and industry. We will start from a beginner’s level, so no prior programming experience is required. The workshop spans three days, and covers the basics of Python, scripting experiments, and doing analyses. In addition, we will have a brief look at eye tracking, and there will be room for specific questions on how to implement your own ideas. The workshop will work with the book Python for Experimental Psychologists, which each participant will receive.

We will use the PyGaze and PsychoPy libraries to create simple psychological experiments. These will teach you how to display stimuli on a monitor with millisecond accuracy, how to play sounds, and how to collect responses from peripherals (mouse, keyboard, joystick).

After collecting some (simulated) data, we will turn to analysis and visualisation using the NumPy, SciPy, and Matplotlib packages. You will learn how to handle common file formats, how to process both point (e.g. response time) and trace (e.g. pupil size) data, and a how to do basic statistics through code.

At the end of the workshop, you should have a basic proficiency in Python, on which you can build further knowledge gained from documentation or more advanced courses. All the required software and materials will be made available, and computers will be available.