Script Author: Millisecond Software, LLC
Last Modified: January 03, 2025 by K. Borchert (katjab@millisecond.com), Millisecond
Script Copyright © Millisecond Software, LLC
This script offers example code to 1) determine the relative coordinates of target locations (->block.determinecoordinates) 2) select locations in an image: FITC task (-> block.FITC)
The default is to run the FITC task. An editable variable (parameters.taskselection) can be set to run either task.
1 minute
Participants are asked to select target faces in a picture depicting a crowd of people.
File Name: faceinthecrowd_demo_summary*.iqdat
| Name | Description |
|---|---|
| inquisit.version | Inquisit version number |
| computer.platform | Device platform: win | mac |ios | android |
| computer.touch | 0 = device has no touchscreen capabilities; 1 = device has touchscreen capabilities |
| computer.hasKeyboard | 0 = no external keyboard detected; 1 = external keyboard detected |
| startDate | Date the session was run |
| startTime | Time the session was run |
| subjectId | Participant ID |
| groupId | Group number |
| sessionId | Session number |
| elapsedTime | Session duration in ms |
| completed | 0 = Test was not completed 1 = Test was completed |
| list.acc.mean | Overall proportion correct selections |
| list.rt.mean | Overall mean latency (in ms) of correct selections |
File Name: faceinthecrowd_demo_raw*.iqdat
| Name | Description |
|---|---|
| build | Inquisit version number |
| computer.platform | Device platform: win | mac |ios | android |
| computer.touch | 0 = device has no touchscreen capabilities; 1 = device has touchscreen capabilities |
| computer.hasKeyboard | 0 = no external keyboard detected; 1 = external keyboard detected |
| date | Date the session was run |
| time | Time the session was run |
| subject | Participant ID |
| group | Group number |
| session | Session number |
| blockcode | The name the current block (built-in Inquisit variable) |
| blocknum | The number of the current block (built-in Inquisit variable) |
| trialcode | The name of the currently recorded trial (built-in Inquisit variable) |
| trialnum | The number of the currently recorded trial (built-in Inquisit variable) trialnum is a built-in Inquisit variable; it counts all trials run even those that do not store data to the data file. |
| target | The presented stimuli in order of trial presentation |
| response | The participant's response |
| correct | The correctness of the response |
| latency | The response latency (in ms) |
| percentHorizontalTargetx | Stores the percent (of canvas) of the horizontal target coordinate |
| percentVerticalTargety | Stores the percent (of canvas) of the vertical target coordinate |
| percentResponseX | Stores the percent (of canvas) of the x coordinate of the response |
| percentResponseY | Stores the percent (of canvas) of the x coordinate of the response |
The procedure can be adjusted by setting the following parameters.
| Name | Description | Default |
|---|---|---|
| taskSelection | 1 = determine coordinates of the targets and have the coordinates saved as screen percentages in the datafile 0 = run the task of finding the faces the crowd (FITC) (default) | 0 |