Screen Module

class Screen(const)

A class to create a screen for the experiment

Parameters:

const – local constants.py module (see example_experiment/constants.py) as example

check_mark(color='green', flip=True)

A method to draw a check mark on the screen

Parameters:
  • color (str) – color of the check mark

  • flip – whether to flip the screen after drawing the check mark

error_cross(color='red', flip=True)

A method to draw an error cross on the screen

Parameters:
  • color (str) – color of the error cross

  • flip – whether to flip the screen after drawing the error cross

fixation_cross(color='white', flip=True)

A method to draw a fixation cross on the screen

Parameters:
  • color (str) – color of the fixation cross

  • flip – whether to flip the screen after drawing the fixation cross

start_screen(color='white')

A method to draw a start screen on the screen