psychopy.visual
- many visual stimuli¶Window
to display all stimuli below.
Windows and and display devices:
Window
is the main class to display objectsWarper
for non-flat projection screensProjectorFramePacker
for handling displays withRift
for Oculus Rift support (Windows 64bit only)
Commonly used:
Shapes (all special classes of ShapeStim
):
Images and patterns:
ImageStim
to show imagesSimpleImageStim
to show images without bells and whistlesGratingStim
to show gratingsRadialStim
to show annulus, a rotating wedge, a checkerboard etcNoiseStim
to show filtered noise patterns of various formsEnvelopeGrating
to generate second-order stimuli (gratings that can have a carrier and envelope)
Multiple stimuli:
ElementArrayStim
to show many stimuli of the same typeDotStim
to show and control movement of dots
Other stimuli:
MovieStim
to show moviesSlider
a new improved class to collect ratingsRatingScale
to collect ratingsCustomMouse
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 stimuliAperture
to restrict visibility area of other stimuli
Helper functions:
- psychopy.visual.filters for creating grating textures and Gaussian masks etc.
- Helper functions for tests about whether one stimulus contains another
unittools
to convert deg<->radiansmonitorunittools
to convert cm<->pix<->deg etc.psychopy.tools.colorspacetools
to convert between supported color spaces