psychopy.visual - many visual stimuli

Window to display all stimuli below.

Windows and and display devices:

  • Window is the main class to display objects
  • Warper for non-flat projection screens
  • ProjectorFramePacker for handling displays with ‘structured light mode’ to achieve high framerates
  • Rift for Oculus Rift support (Windows 64bit only)

Commonly used:

Shapes (all special classes of ShapeStim):

  • ShapeStim to draw shapes with arbitrary numbers of vertices
  • Rect to show rectangles
  • Circle to show circles
  • Polygon to show polygons
  • Line to show a line

Images and patterns:

Multiple stimuli:

3D shapes, materials, and lighting:

Other stimuli:

  • MovieStim to show movies
  • Slider a new improved class to collect ratings
  • RatingScale to collect ratings
  • CustomMouse to change the cursor in windows with GUI. OBS: will be deprecated soon

Meta stimuli (stimuli that operate on other stimuli):

  • BufferImageStim to make a faster-to-show “screenshot” of other stimuli
  • Aperture to restrict visibility area of other stimuli

Helper functions:

  • filters for creating grating textures and Gaussian masks etc.
  • visualhelperfunctions for tests about whether one stimulus contains another
  • unittools to convert deg<->radians
  • monitorunittools to convert cm<->pix<->deg etc.
  • colorspacetools to convert between supported color spaces
  • viewtools to work with view projections
  • mathtools to work with vectors, quaternions, and matrices

Back to top