The Psychophysics Toolbox (PTB): Part One
摘要
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.