This chapter introduces the Psychophysics Toolbox (PTB), an essential tool for psychophysics research and visual stimulus presentation in MATLAB. It focuses on the Screen function, the core of PTB, explaining how to open windows, draw shapes and text, import images, and create animations. The chapter emphasizes precise timing control in stimulus presentation, which is crucial for psychological experiments, and illustrates the use of the double buffering system to enhance temporal accuracy.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

The Psychophysics Toolbox (PTB): Part One

  • Mauro Borgo,
  • Alessandro Soranzo,
  • Massimo Grassi,
  • Luca Battaglini

摘要

This chapter introduces the Psychophysics Toolbox (PTB), an essential tool for psychophysics research and visual stimulus presentation in MATLAB. It focuses on the Screen function, the core of PTB, explaining how to open windows, draw shapes and text, import images, and create animations. The chapter emphasizes precise timing control in stimulus presentation, which is crucial for psychological experiments, and illustrates the use of the double buffering system to enhance temporal accuracy.