SimpleImageStim

class psychopy.visual.SimpleImageStim(*args, **kwargs)[source]

A simple stimulus for loading images from a file and presenting at exactly the resolution and color in the file (subject to gamma correction if set). This is a lazy-imported class, therefore import using full path from psychopy.visual.simpleimage import SimpleImageStim when inheriting from it.

Unlike the ImageStim, this type of stimulus cannot be rescaled, rotated or masked (although flipping horizontally or vertically is possible). Drawing will also tend to be marginally slower, because the image isn’t preloaded to the graphics card. The slight advantage, however is that the stimulus will always be in its original aspect ratio, with no interplotation or other transformation, and it is slightly faster to load into PsychoPy.


Back to top