visigoth.Experiment.create_stimuli

Experiment.create_stimuli()[source]

Initialize study-specific stimulus objects.

This method must be defined for each study.

It should return a dictionary that maps stimulus names to the objects themselves. The objects can be anything that follow the basic stimulus API–namely, they need to define a draw method. They will end up in the Experiment.s namespace.