![]() So i thought about it and now my idea is to make the program understand where the “right spot” is, so when the participant’s painting starts and ends at the “right spot”, a “correctAnswer” variable changes value (eg. ![]() So at first i figured i could try to make the program save data for all positions from the brush component, but it would generate A LOT of data. ![]() log file, like this: 92.1524 DATA Mouse: Left button down, pos=(810,647)ĩ2.1524 EXP Resetting brush parameter: brushPos.ĩ4.1191 DATA Mouse: Left button up, pos=(876,650) csv file that’s created after a trial, but it shows up on the. I know the brush tool does not automatically saves it’s data on the. Hi guys! I’m trying to build a task that requires the participant to use the brush tool to paint the “right spot” on an image. Remember to single-click the buttonsġ6 Add main trials Add another copy of the ‘trial’ Routine at the end of the Flow Add another loop around it, called trials (or main ?) use the conditions file ‘testing.Standard Standalone? (y/n) If not then what?: Y in the wrong place) press Undo (or press Ctrl-Z) and repeat the steps. Set your number of trials (1 repeat?) and select the file for the conditions (training A or training B, according to your group) If the loop looks wrong (e.g. Press Add Loop (single-click) Select the start and endpoints for the loop (single- click each one) Initially the Flow probably looks like this: We want to have a set of trials for training, followed by some (identical) trials for testing 10th of screen below the fixation point name = lowerStim text = $lowerWord (parameter from the conditions file) Remember to set the text value to change every repeat (otherwise you’ll get an error message)ġ1 Collect a response Now we need a Keyboard Component to collect the participant’s response Start at the same time as the words and last for 3s Must match the name of the param in Conditions fileġ2 Trial overview Your trial Routine should now look like this: Notice there are 4 different columns for the upperWord lowerWord corrAns (is the real word upper or lower?) wordType (is the real word just a word or also a homophone?)Ħ Define one trial We need to set up a trial with a fixation (we could use a ‘+’) for 4s a word that appears above fixation for 3s a word that appears below fixation for 3s a response from the participant, that will terminate the trialħ Create the fixation Add a text component Set it to start at t = 0 (s)Ĩ Units in PsychoPy PsychoPy can present your stimulus in different locations/sizes The ‘units’ of the coordinates can vary (can use pixels, or degrees of visual angle…) By default, the units are ‘norm’ for normalised (-1,+1) (+1,+1) H = 2 (-1,-1) (+1,-1) W = 2ĩ Create the upper word Name = upperStim Set to start at t = 1.0 (s)ĭuration = 0.5 s (=500ms) Pos = Text = $upperWord (this will come from our conditions file in Excel)ġ0 Create the lower word Repeat as for upperStim, but set pos to be pos = i.e. trainingA.xlsx It’s important that you are only exposed to the training stimuli for your group, so don’t open the other group sheet yet. Open up the practice conditions for your group e.g. In the dialog, one of the settings says ‘Experiment Info’ and another says ‘Show info dlg’ This allows us to present a dialog to subjects and control what gets stored Let’s add boxes to ask for the subject age and gender, useful for writing the methods section Set Experiment info to read Make sure your inverted comma’s match up! Hit OK to close the dialogĥ Conditions files You should have been told by now which group you’re in (A or B). Open PsychoPy and go to the Builder view If you have an experiment already open create a new one Save it straight away to your pseudohomophones folder next to the 3 Excel files (practiceA.xlsx, practiceB.xlsx, trials.xlsx) Pseudohomophones Building the experiment in PsychoPy
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |