Skip to content

PsychoPy script for a Delayed Matching to Sample (DMS) task. Shows a sample image for 5s, waits 20s, then presents two images for the participant to choose the match. Supports folder-based image loading, numeric order pairing, CSV logging, and flexible timing.

Notifications You must be signed in to change notification settings

rez-zam/Delayed-Matching-to-Sample-DMS-Task-in-PsychoPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Delayed Matching to Sample (DMS) Task in PsychoPy

This is a simple PsychoPy script for running a Delayed Matching to Sample task.
Here’s how it works: you see a sample image for 5 seconds, wait 20 seconds, and then pick the matching image from two choices.


What’s Included

  • Loads images from a folder (supports PNG, JPG, BMP, and more).
  • Pairs images by number order in filenames (e.g., 1.jpg with 2.jpg).
  • Adjustable timings for sample, delay, and feedback.
  • Logs results to CSV with accuracy and reaction times.
  • Click-based interface with green/red feedback.

How a Trial Goes

  1. (Optional) Fixation dot appears.
  2. Sample image is shown for 5s.
  3. Wait for 20s.
  4. Two images appear — one is the original, one is a foil.
  5. Click the one you think is correct.
  6. See feedback and move on to the next trial.

Requirements

  • PsychoPy
  • Python 3.8+
  • A folder of numbered images

Enjoy experimenting, and feel free to tweak it for your needs!

About

PsychoPy script for a Delayed Matching to Sample (DMS) task. Shows a sample image for 5s, waits 20s, then presents two images for the participant to choose the match. Supports folder-based image loading, numeric order pairing, CSV logging, and flexible timing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages