Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
This component contains the code for running Experiment 1. The zipped folder is a snapshot of the [main repository][1] (tag: [experiment1][2]). The experiment was run on Windows 7, with MATLAB 2015a and [Psychtoolbox][3] v3.0.14. The code was written for a specific monitor (ASUS VG248QE), configured with the following settings - 100 Hz - 1920 x 1080 resolution - picture mode: standard - Luminance: 11 - Contrast: 78 - RGB: 94, 89, 100 - View distance: ~60.96cm (~2 ft) The code attempts to set the refresh rate to 100 Hz. If it cannot, the experiment will crash (e.g., if you are running this on a laptop that can't get 100 Hz, you will need to adjust the value in the file `lib/setup/window.m`). The other settings are only assumed. Without these settings, the stimuli will not look exactly as they were for our participants. The code assumes that the blocking has been setup ahead of time (and is stored in file `task-serialdependence_blocking.csv`). A new blocking file can be generated with `stimuli/setup_blocking_serialdependence.m`. As an example for running the experiment main('subject', 25) That would run participant 25. If you are running on a local laptop, you may with to turn off gamma correction, and perhaps also PTB's synchronization tests. To run participant 25 without gamma correction and those tests, use main('subject', 25, 'gamma', false, 'skipsynctests', 2) Finally, to run the instructions instruct('gamma', false, 'skipsynctests', 2) The `instruct` function also allows you to adjust the contrast and the number of trials. It can be helpful to start the instructions with a high level of contrast (e.g., 1), so that participants definitely see the stimulus, and then later decrease it to the experimental value. [1]: https://gitlab.com/psadil/serialdependence [2]: https://gitlab.com/psadil/serialdependence/-/tree/experiment1 [3]: http://psychtoolbox.org/
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.