| Literature DB >> 22083660 |
Sebastiaan Mathôt1, Daniel Schreij, Jan Theeuwes.
Abstract
In the present article, we introduce OpenSesame, a graphical experiment builder for the social sciences. OpenSesame is free, open-source, and cross-platform. It features a comprehensive and intuitive graphical user interface and supports Python scripting for complex tasks. Additional functionality, such as support for eyetrackers, input devices, and video playback, is available through plug-ins. OpenSesame can be used in combination with existing software for creating experiments.Entities:
Mesh:
Year: 2012 PMID: 22083660 PMCID: PMC3356517 DOI: 10.3758/s13428-011-0168-7
Source DB: PubMed Journal: Behav Res Methods ISSN: 1554-351X
An overview of software for creating experiments
| Name | GUI | Free | Scripting | Platform | Reference/Vendor |
|---|---|---|---|---|---|
| DirectRT | Yes | No | Custom | Windows | Reviewed in Stahl ( |
| DMDX | No | Yes* | Custom | Windows | Forster & Forster ( |
| E-Prime | Yes | No | E-Basic | Windows | Reviewed in Stahl ( |
| Experiment Builder | Yes | No | Python | Windows | SR Research, Missisauga, ON, Canada |
| Inquisit | Yes | No | Custom | Windows | Reviewed in Stahl ( |
| MATLAB Psychophysics Toolbox | No | Yes** | MATLAB | Windows, Mac OS, Linux | Brainard ( |
| MEL | No*** | No | Custom | IBM PC | Schneider ( |
| PEBL | No | Yes | Custom | Windows, Mac OS, Linux | Mueller ( |
| Presentation | Yes | No | Custom | Windows | Neurobehavioral Systems, Albany, CA |
| PsychoPy | Yes | Yes | Python | Windows, Mac OS, Linux | Peirce ( |
| PsyScope | Yes | Yes | Custom | Mac OS | Cohen, MacWhinney, Flatt, & Provost ( |
| PsyToolkit | No | Yes | Custom | Linux | Stoet ( |
| PyEPL | No | Yes | Python | Mac OS, Linux | Geller et al. ( |
| SuperLab | Yes | No | Custom | Windows | Reviewed in Stahl ( |
| Tscope | No | Yes | C/C++ | Windows**** | Stevens, Lammertyn, Verbruggen, & Vandierendonck ( |
| Vision Egg | No | Yes | Python | Windows, Mac OS, Linux | Straw ( |
* Source-code is not available
** Depends on MATLAB (The MathWorks, 1998), a proprietary software package, for full functionality. Offers limited support for Octave (Eaton, 2002), an open-source MATLAB clone
*** Uses a form-based interface
**** Offers limited support for Mac OS and Linux
Fig. 1The OpenSesame graphical user interface on start-up. a The item toolbar contains icons that can be dragged into the overview area. b The overview area represents the experiment as a tree-structure. c The tab area contains tabs for editing items and getting context-sensitive help. By clicking on an item in the overview area, a tab with the appropriate controls opens. By clicking on one of the blue “help” buttons, a context-sensitive help tab opens. d The structure of an example experiment shown in the overview area
An overview of the 10 core items
| Name | Type | Description |
|---|---|---|
| loop | Structure | Repeatedly runs a single other item. Controls independent variables. |
| sequence | Structure | Runs multiple other items in sequences. Supports basic conditional statements (“Run if …”). |
| sketchpad | Stimulus presentation | Provides a canvas for presentation of visual stimuli. |
| feedback | Stimulus presentation | Provides feedback to participants. |
| sampler | Stimulus presentation | Plays a sound from file. |
| synth | Stimulus presentation | Provides basic sound synthesis. |
| keyboard_response | Response collection | Collects keyboard responses. |
| mouse_response | Response collection | Collects mouse responses. |
| logger | Data logging | Writes variables to file. |
| inline_script | Inline scripting | Executes arbitrary Python code. |
Fig. 2Using variables and conditional (“if”) statements. a Independent variables can be defined in a loop item. b By entering [SOA] in the duration field of a sketchpad item, the variable SOA is used to control the presentation duration of the sketchpad. This assumes that SOA has been defined elsewhere in the experiment. c By using [avg_rt] and [acc] as part of the text in a feedback item, appropriate feedback can be given to the user. The variables avg_rt and acc are set automatically by the various response items (e.g., keyboard_response). d Conditional statements can be used to control which items from a sequence will be called. By entering [correct] = 1 in the “Run if…” field of “green_fixation,” the item will be called only if the variable correct has been set to 1. The variable correct is set automatically by the various response items
Fig. 3The file pool. All files that are used in the experiment, such as images, sounds, and videos, are stored in the file pool. The file pool is saved along with the experiment, allowing for maximum portability
An overview of OpenSesame back-ends
| Back-End Name | Hardware Accelerated | Underlying Technology |
|---|---|---|
| legacy | No | PyGame in non-OpenGL mode |
| opengl | Yes | PyGame in OpenGL mode |
| psycho | Yes | PsychoPy in Pyglet window mode (Peirce, |
Results of the benchmark experiment
| Operating System | Test System | Display Mode | Back-End | Average Response Time (ms) | Standard Deviation of Response Time (ms) | Sync to Vertical Refresh Enabled |
|---|---|---|---|---|---|---|
| Windows XP | System 1 * | 1,680 × 1,050 @ 120 Hz | psycho | 3.28 | 0.53 | Yes |
| legacy | 11.94 | 2.45 | Yes | |||
| System 2 ** | 1,024 × 768 @ 60 Hz | psycho | 3.18 | 0.53 | Yes | |
| legacy | 16.01 | 2.59 | Yes | |||
| 1,280 × 1,024 @ 85 Hz | psycho | 3.02 | 0.53 | Yes | ||
| legacy | 9.24 | 1.37 | Yes | |||
| Ubuntu Linux 10.04 LTS *** | 1,024 × 768 @ 60 Hz | psycho | 1.56 | 0.41 | Yes | |
| opengl | 1.45 | 0.51 | Yes | |||
| legacy | 3.59 | 4.30 | No | |||
| 1,280 × 1,024 @ 85 Hz | psycho | 1.55 | 0.44 | Yes | ||
| opengl | 1.87 | 0.55 | Yes | |||
| legacy | 3.33 | 2.48 | No |
* Computer: Intel Core 2 DUO E8400, 3Ghz, 2Gb; graphics adapter: ATI Radeon EA H4350 (discrete); monitor: Samsung 2233RZ, TFT, 22 in
** Computer: Intel Core 2 DUO E8400, 3Ghz, 2Gb; graphics adapter: Intel GMA 4500, Intel Q45/Q43 Express chipset (integrated); monitor: Llyama vision master pro 454, CRT, 17 in
*** Running Gnome 2.30 with the Metacity window manager. The compositing layer (i.e., “Compiz” or “Desktop Effects”) was disabled
Fig. 4Results of the benchmark experiment. The automated response times are shown as a Tukey box plot conform Robbins (2004). The central line reflects the median value. The rectangle shows the interquartile range (the 25th percentile to the 75th percentile). The whiskers reflect the minimum and maximum values that fall within 1.5 times the interquartile range. Dots correspond to individual observations that fall outside of 1.5 times the interquartile range