Stimuli and Code

Menu

Loading wiki pages...

View
Wiki Version:
<h2>About this stimulus space:</h2> <ol> <li> <p>Stimuli are numerically numbered as (VCS_stim), where stim refers to a degree on a 2D circle.</p> </li> <li> <p>Changing these numbers are OK, as long as the relational structure of the shapes are maintained (e.g. VCS_1, VCS_2, and VCS_3 can be renamed to VCS_151, VCS_152, and VCS_153, but VCS_1, VCS_2, and VCS_3 should not renamed to VCS_150, VCS_4, VCS_6).</p> </li> </ol> <hr> <h2>About the code:</h2> <ol> <li><strong>VCSspace.mat</strong> contains example code to display these shapes on a 2D circle.</li> <li>This script requires Psychtoolbox-3 to run, which is available here: <a href="http://psychtoolbox.org/" rel="nofollow">http://psychtoolbox.org/</a></li> <li> <p>Set the folder to path on MATLAB, then simply run in console. To close the script, press "q" while it is running.</p> </li> <li> <p>To use this code in an experiment, one possible way is to run everything within a for loop, and index memory performance as the distance between a reported shape and a target shape. I'm happy to provide some example code that can do this.</p> </li> </ol> <p><img alt="enter image description here" src="https://files.osf.io/v1/resources/d9gyf/providers/osfstorage/5bb4d6d036cd3c0018040e67?mode=render"></p> <hr> <h2>Circularity simulations:</h2> <p>For more detailed information, please see the section in the wiki titled "Circularity Simulations". All files must be in the same directory.</p> <ol> <li> <p>The <strong>rand_c_value_sim</strong> contains code to simulate how C behaves with stimuli projected into completely randomized coordinates in two dimensional space.</p> </li> <li> <p>The <strong>idealized_c_value_sim</strong> contains code to simulate how C behaves, when starting with a perfect idealized circular space perturbed by noise along each coordinate in two dimensions. This code gives us a large distribution of possible C values at different geometries.</p> </li> <li> <p>A <strong>mds_pred.mat</strong> file, which contains xy coordinates for an idealized circular space. Visualize after loading mds_pred.mat in MATLAB using the command: <code>plot([mds_pred(:,1);mds_pred(1,1)], [mds_pred(:,2);mds_pred(1,2)], '-x')</code></p> </li> <li> <p>The <strong>visualize_c</strong> file contains code to visualize simulated results at different C values. Run either <strong>rand_c_value_stim</strong> or <strong>idealized_c_value_sim</strong> first (simulations may take awhile if the <code>number_of_simulations</code> variable is a large number), then visualize with the <strong>visualize_c</strong> code.</p> </li> </ol>
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.