Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FAQ #2 - Multiple Stimuli on Same Trial
#3
Photo 
(10-23-2020, 04:09 PM)Lucy - FF Researcher Support Wrote: In a trial template, stimuli can take a nested list. In the example "stimuli": ["s1", ["s2", "s3"], ... , "sn"], s2 and s3 will appear on the same trial. These stimuli will default to sensible locations if they are visible. To have two or more stimuli appear on the same trial in specific locations, use the custom option: use a list of dictionaries to specify stimuli and their locations. For example, "stimuli": [{"which": ["s1", "s2"], "location": [1, 9]}] specifies that s1 and s2 will appear on the same trial, with s1 in the top left corner and s2 in the bottom right. See our documentation for more. 

Hi Lucy, 

Regarding using the 'which' syntax, I have a question!Smile

I'd like to present my stimuli, the 'key_press' in the upper center, and the 'p1_probe' to appear in the center of the screen, and so I did something like this:
"stimuli": [ { "which": [ "key_press", "p1_audio", "p1_probe" ], "location": [2, 1, 5] } ]

But it turned out that both the key_press and the  p1_probe appear on the upper left. Do you have any idea how to solve this? Thanks!
-Yuting
Reply


Messages In This Thread
RE: FAQ #2 - Multiple Stimuli on Same Trial - by ytgu - 10-24-2022, 07:56 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)