CML Seminar, 2018

Hi everyone! This is the ultra-condensed highlights from my three-day PsychoPy course. You can see the full one here. Here are some materials for the workshop.

First webinar: stimuli and precision

Here are some useful things to look into for the first webinar:

  • I may be using the ppc module which I wrote some years ago. It’s useful helpers to complement psychopy. Right click to download.
  • The PsychoPy API – documents all programming.
  • Slides from the first seminar.
  • For this session, we’ll use just two images: a smooth and a pointy one. Right-click these links to download them. They are white images, so don’t worry if you can’t see them on a white background! If you’re interested, here are a larger stimulus set, controlled for area, width, and height: 

    Download (PDF, Unknown)


Here’s the code from the first seminar:


Second webinar: Experiment flow #1

If you have a bit of time to review some materials before the seminar, here are two suggestions:

This is the code we wrote in the second webinar. Notice that it follows the code layout above.


Third webinar: Experiment flow #2

We will continue (and hopefully finish!) coding our experiment by adding:

  • Collect response and score it
  • Save data. Also take a look at the module.
  • Dialogue box.
  • Fancy code-only stuff: non-random order. Breaks in certain conditions, etc.
  • Interface with external hardware – sending/receiving triggers.