PsyBuilder: An Open-Source, Cross-Platform Graphical Experiment Builder for Psychtoolbox With Built-In Performance Optimization

被引:3
作者
Lin, Zhicheng [1 ,2 ]
Yang, Zhe [3 ]
Feng, Chengzhi [1 ]
Zhang, Yang [1 ]
机构
[1] Soochow Univ, Dept Psychol, Suzhou 215123, Jiangsu, Peoples R China
[2] Chinese Univ Hong Kong, Sch Humanities & Social Sci, Shenzhen, Peoples R China
[3] Soochow Univ, Sch Comp Sci & Technol, Suzhou, Jiangsu, Peoples R China
基金
中国国家自然科学基金;
关键词
experiment; PsyBuilder; Psychtoolbox; open source; graphical experiment builder; PSYCHOPHYSICS; SOFTWARE;
D O I
10.1177/25152459211070573
中图分类号
B84 [心理学];
学科分类号
04 ; 0402 ;
摘要
Psychtoolbox is among the most popular open-source software packages for stimulus presentation and response collection. It provides flexibility and power in the choice of stimuli and responses, in addition to precision in control and timing. However, Psychtoolbox requires coding in MATLAB (or its equivalent, e.g., Octave). Scripting is challenging to learn and can lead to timing inaccuracies unwittingly. It can also be time-consuming and error prone even for experienced users. We have developed the first general-purpose graphical experiment builder for Psychtoolbox, called PsyBuilder, for both new and experienced users. The builder allows users to graphically implement sophisticated experimental tasks through intuitive drag and drop without the need to script. The output codes have built-in optimized timing precision and come with detailed comments to facilitate customization. Because users can see exactly how the code changes in response to modifications in the graphical interface, PsyBuilder can also bolster the understanding of programming in ways that were not previously possible. In this tutorial, we first describe its interface, then walk the reader through the graphical building process using a concrete experiment, and finally address important issues from the perspective of potential adopters.
引用
收藏
页数:20
相关论文
共 15 条
  • [1] The psychophysics toolbox
    Brainard, DH
    [J]. SPATIAL VISION, 1997, 10 (04): : 433 - 436
  • [2] The timing mega-study: comparing a range of experiment generators, both lab-based and online
    Bridges, David
    Pitiot, Alain
    MacAskill, Michael R.
    Peirce, Jonathan W.
    [J]. PEERJ, 2020, 8
  • [3] An Introduction to the Objective Psychophysics Toolbox
    Hartmann, Thomas
    Weisz, Nathan
    [J]. FRONTIERS IN PSYCHOLOGY, 2020, 11
  • [4] Kleiner M, 2007, PERCEPTION, V36, P14
  • [5] OpenSesame: An open-source, graphical experiment builder for the social sciences
    Mathot, Sebastiaan
    Schreij, Daniel
    Theeuwes, Jan
    [J]. BEHAVIOR RESEARCH METHODS, 2012, 44 (02) : 314 - 324
  • [6] CFS MATLAB toolbox: An experiment builder for continuous flash suppression (CFS) task
    Nuutinen, Mikko
    Mustonen, Terhi
    Hakkinen, Jukka
    [J]. BEHAVIOR RESEARCH METHODS, 2018, 50 (05) : 1933 - 1942
  • [7] Peirce J., 2018, BUILDING EXPT PSYCHO
  • [8] PsychoPy2: Experiments in behavior made easy
    Peirce, Jonathan
    Gray, Jeremy R.
    Simpson, Sol
    MacAskill, Michael
    Hoechenberger, Richard
    Sogo, Hiroyuki
    Kastman, Erik
    Lindelov, Jonas Kristoffer
    [J]. BEHAVIOR RESEARCH METHODS, 2019, 51 (01) : 195 - 203
  • [9] PsychoPy - Psychophysics software in Python']Python
    Peirce, Jonathan W.
    [J]. JOURNAL OF NEUROSCIENCE METHODS, 2007, 162 (1-2) : 8 - 13
  • [10] Generating stimuli for neuroscience using PsychoPy
    Peirce, Jonathan W.
    [J]. FRONTIERS IN NEUROINFORMATICS, 2009, 2