Skip to content

A Process Dissociation Procedures Task for the ASRT paradigm created with jsPsych.

License

Notifications You must be signed in to change notification settings

vekteo/ASRT_PDP_jsPsych

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASRT Process Dissocation Procedures (PDP) Task created with jsPsych

Created by the MEMO Team of Lyon Neuroscience Research Center (CRNL) (PI: Dezso Nemeth)

Citation

If you use the script, please include this citation in your manuscript:

Vékony, T. (2021). ASRT Process Dissociation Procedures Task created with jsPsych (Version 1.0.0) [Computer software]. https://doi.org/10.5281/zenodo.7253644 DOI

About the task

A Process Dissociation Procedures Task for the ASRT paradigm created with the jsPSych library (de Leeuw, J. R., 2015).

The task consists of two main parts. In the first part, users are asked to try to type the sequence they see in the ASRT task. In the second part, they are asked to enter a sequence that they did not see in the ASRT task. Now the appearance of the stimuli is controlled by the users. The response buttons are the same as in the main task and the stimuli are displayed according to the keypresses.

Each section consists of 4 blocks. Each block is completed after 24 valid keypresses (the 25th keypress exits the block).

Output variables

  • browser_events: browser events at the given trial (fullscreenenter, fullscreenexit, blur or focus)
  • view_history: only relavant at the 'instructions'; the actions and the corresponding RTs when the instruction trials are presented
  • subject: A 15-character long random subject ID for the online version, and customized subject number for the offline version
  • session: customized session number (for offline version only)
  • rt: reaction time (RT) in ms - it indicates the RT from the previous button press
  • trial_type: the JSPSych trial type of the given trial ('instructions', 'html-keyboard-response' or 'serial-reaction-time')
  • trial_index: the number of the given trials (all events considered, even instructions too!)
  • time_elapsed: the time elapsed from the start of the program in ms
  • internal_code_id: internal node id of the trial
  • stimulus: stimulus on the screen; relevant only if instructions are present
  • key_press: the JS code of the key pressed
  • grid: layout of the circle positions (in a grid)
  • target: position of stimulus on the screen (as a result of the previously pressed button) (the four positions: 0: 0,0; 1: 0,1; 2: 0,2; 3: 0,3)
  • test_part: indicates if the trial is part of a valid reponse or if it is the last quitting button press ('valid_button_press', 'last_quitting_trial')
  • block: number of the block (1-4)
  • trial_number: the number of the element in the response (0-24, only valid responses from 0-23)
  • response_key: the pressed response key ('s', 'f', 'j', 'l')
  • response_button: the number of the pressed response button (0-3)
  • task_type: the type of the task ('inclusion', 'exclusion')
  • Setting options

    The language of the task can be set in the parameters.js file. Available languages: english (en), hungarian (hu), french (fr), portuguese (pt)

    How to start the task

    Open the index.html file in either the offline or online folder. When the offline version is started, you can customize the subject and session numbers (any number is accepted). If you start the offline version, a random subject ID will be allocated.

    Browser requirements

    Any browser except Safari and Internet Explorer. Recommended: Chrome

    Analysis

    To analyze the data, use the PDP_analysis notebook. With the help of the notebook, you can calculate the proprotion of high probability triplets separetely in the inclusion vs. exclusion conditions.

    About

    A Process Dissociation Procedures Task for the ASRT paradigm created with jsPsych.

    Resources

    License

    Stars

    Watchers

    Forks

    Packages

    No packages published