<commit_before># PTB-Dots
<NAME> (http://odic.psych.ubc.ca)

Department of Psychology

University of British Columbia

Psychtoolbox scripts used for generating, saving, and displaying approximate number dot displays.

You can use these scripts in three ways, with each being a separate script:

1. "PTB-Dots All-In-One": To generate and immediately display randomized dot displays following various parameters, like changes in size, ratio, etc. This is the most common way for testing adults and children. Further information on this script is available in that folder's readme file. 

2. "PTB-Dots Generator": To generate and save individual trials as .png or .jpeg files for later use and consistency across subjects. Further information on this script is available in that folder's readme file. 

3. "PTB-Dots Display": To display pre-made images generated by the program. This is useful for paradigms that require precise control over the kinds of stimuli (e.g., confidence hysteresis paradigms). Further information on this script is available in that folder's readme file. 

<commit_msg>Minor updates<commit_after># PTB-Dots
Psychtoolbox scripts used for generating, saving, and displaying approximate number dot displays.

## Created By
<NAME> (http://odic.psych.ubc.ca) <br />
Department of Psychology <br />
University of British Columbia <br />

## Quick Start

1. Make sure you have downloaded the latest version of <a href="http://www.mathworks.com/products/matlab/">MATLAB</a> and <a href="http://psychtoolbox.org/">Psychtoolbox</a>. These scripts were built and tested on Psychtoolbox-3.0.11, but should work fine with later versions, as well. 
2. Download or clone the repo (`git clone https://github.com/darkoodic/PTB-Dots.git`). This will give you all three script types that you can see below.
3. Open any of the three scripts in MATLAB, run the green arrow and enjoy. If there are any issues, we recommend going into the config.txt file and changing `debug` to "on". This will allow you to easily see errors in the console. 

## Versions
There are three different versions of the script:

1. **PTB-Dots All-In-One** (`ptbdotsaoi.m`): To generate and immediately display randomized dot displays following various parameters, like changes in size, ratio, etc. This is the most common way for testing adults and children and generally has everything you need. Further information on this script is available in that folder's README.md file. 
2. **PTB-Dots Generator** (`ptbdotsgen.m`): To generate and save individual trials as .png or .jpeg files for later use and consistency across subjects. Further information on this script is available in that folder's README.md file. 
3. **PTB-Dots Display** (`ptbdotsdisplay.m`): To display pre-made images generated by the program. This is useful for paradigms that require precise control over the kinds of stimuli (e.g., confidence hysteresis paradigms). Further information on this script is available in that folder's README.md file. 

## License
Code released under the MIT license.

{'fraction_non_alphanumeric': 0.07283464566929133, 'fraction_numerical': 0.00426509186351706, 'mean_word_length': 4.503610108303249, 'pattern_counts': {'":': 3, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1128562', 'n_tokens_mistral': 818, 'n_tokens_neox': 768, 'n_words': 424}