Docs @ Psychtoolbox Wiki : Psychtoolbox

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin


Function Reference

This »wiki« contains hyperlinked copies of all help texts of Psychtoolbox functions. The purpose is better ergonomy as documentation and searchability. Each page corresponds to one .m file or to a subfunction of a .mex file.
A non-human script generated these pages, so some things may look a little odd.

The Psychophysics Toolbox is a collection of Matlab functions
that extend the language to give you exquisite control of your
computer to test observers with research-grade dynamic stimuli.

Every Psychtoolbox function has its own documentation available through
the Matlab HELP command, and, in the case of MEX files, through the
function itself. We've tried hard to make these individual bits of
documentation clear, accurate, and complete. We're grateful to receive

We've mostly followed Mathworks's help-text conventions, but note that in
our help text we designate optional arguments to function calls by
embracing them with square brackets. You're not meant to include these
brackets when you actually call the function. For example, "help Snd"
will tell you this:

err = Snd(command,[sig],[rate])

meaning that the "command" argument is required and the "sig" and "rate"
arguments are optional. A typical call to Snd looks like this:


The most important and generally useful functions, especially Screen, are
in PsychBasic. The PsychDemos will show you how to do useful things in
Matlab with the Psychtoolbox. Try these:

    help PsychDemos
    help PsychBasic
    help Screen
    Screen OpenWindow?

The folder PsychDocumentation contains bits of documentation about
technical implementation details, how to solve specific tasks and
how to troubleshoot common problems.

To read more, also look at the main website
The web site also has advice about getting help, the Psychtoolbox forum,
and the latest information about bugs and new releases:

Help Categories

following organisation layout of PTB distribution

PsychAlpha - Under development. Experimental, risky, undocumented.
PsychAlphaBlending - OpenGL alpha-channel blending utilities and constants.
PsychBasic - Basic support routines for psychophysics.
PsychBeta - Under development.
PsychCal - Calibrate your video monitors.
PsychCalDemoData - Demo calibration data.
PsychColorimetric - Colorimetric calculations.
PsychColorimetricData - Standard colorimetric data.
PsychContributed - Contributed programs.
PsychDemos - Show how to use the Psychtoolbox.
PsychDocumentation - Documentation about specific topics.
PsychFiles - Process text files.
PsychGamma - Fit monitor gamma functions.
PsychGLImageProcessing - Built-in image processing via graphics hardware.
PsychHardware - Interface to plug-in hardware.
PsychInitialize - Initialize and deinitialize MATLAB
PsychMatlabTests - Document the few bugs in Matlab 5.2.1.
PsychObsolete - Obsolete routines, still present for compatibility.
PsychOpenGL - Routines for low-level access to OpenGL 3D graphics.
Psychometric - Psychometric function fitting.
PsychOneliners - Trivial, but handy, functions.
PsychOptics - Optics calculations, mostly for human optics.
PsychPriority - Priority and Rush. (formerly within PsychBasic)
PsychProbability - Probability and statistics.
PsychRects - Manipulate rectangles for drawing.
PsychSignal - Signal processing and math routines.
PsychTests - Evaluate performance of software and hardware.
PsychVideoCapture - Functions for realtime video capture.
Quest - Threshold estimation procedure.

If you want to acknowledge use of this software when you publish your
research, you might say something like this, "We wrote our experiments
in Matlab, using the Psychophysics Toolbox extensions (Brainard, 1997;
Pelli, 1997)."

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.1310 seconds