Python script for trial randomization

In this post you will find a Python script for randomizing conditions with constraints (i.e., never 2 consecutive trials of X). This script will in a later post be implemented in a cross-modal oddball task created in Psychopy. I recently started to use Psychopy to build experiments. To build my experiments (mainly oddball tasks) I […]

Python script for trial randomization Read More »