Skip to content

hspopal/generalization

Repository files navigation

Generalization Task

This task was created for the study in Ngo et al., 2021, "Contingency of semantic generalization on episodic specificity varies across development". Zoe Ngo created the task and the stimuli and Haroon Popal coded it in psychopy using python.

Script descriptions

  • RUN_GENERALIZATION.sh
    • A bash script that allows you to run the generalization scripts like a program
    • Make this file executable, place it on your desktop, and double-click to start the generalization "program"
  • init_generalization.py
    • This script runs the initial gui for the program where you can enter the subject ID, the date, and the block order
  • generalization.py
    • This script is the meat of the program, where psychopy is used to run the task
  • generalization_v2.py
    • A modification of the generalization.py script, which randomizes the order of the context being and item recognition/pattern separation sections

Directory Structure

GENERALIZATION/
├── Block_1
│   ├── characters
│   ├── encoding
│   └── individual_items
├── Block_2
├── scripts
└── subject_data
└── dev_testing

  • Block_1 and Block_2

    • Contains all of the stimuli for each respective block.
    • Inside the "characters" subdirectory is images of each character with the syntax of each file being {character_name}_{category}.png
    • Inside of the "encoding" subdirectory is images of all the scenes for all the characters with the syntax of each file being {category}encoding{#}.png
    • The individual_items directory has subdirectories with category names. Then inside each category subdirectory, are pictures of the respective items, which every color iteration in the format {item}_{color}.png
  • scripts

    • This directory is this GitHub repo.
  • subject_data

    • This directory is where all of the subject data will be outputted
    • There is also a subdirectory for subject data from development testing (so you can output data while you are testing your stimuli and any coding changes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published