Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 3 of 3

Thread: Randomization of Stimulus Locations

  1. #1
    Join Date
    Mar 2010
    Posts
    2

    Randomization of Stimulus Locations

    I was just wondering if it is possible to randomize the location of certain stimuli?
    I have a distractor stimuli and a target stimuli that the participant needs to locate, however the location of these stimuli need to be randomized, but they cannot overlap. Is there any way to do this? Or will I have to create a text file, with a large number of pre-made images (with distractors and targets in new locations for every image) that direct RT can randomly draw from so that the subject sees the distractors and target images in different spots throughout their session?

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    Check out the section from the DirectRT user's guide on "Using Random Values" or online here: http://www.empirisoft.com/directrt/h...dom_values.htm

    Since you do not want overlapping, you may wish to limit the random locations to specific values. You can do this by specifying an explicit list of x,y values to choose from or by specifying defined ranges from which to pick the values.

    example of location value:
    rand(100-500),rand(200,800),0
    which could produce, e.g., 343,655,0 as a LOC value.

    or

    rand(100,200,350),rand(200,300,800),0
    which could produce, e.g., 200,800,0 as a LOC value.

    Hope that helps!

    See also: http://www.empirisoft.com/support/sh...ad.php?p=10497 (v2010 and later only)
    Last edited by jarvis24; 03-24-2010 at 06:11 AM.

  3. #3
    Join Date
    Mar 2010
    Posts
    2
    Yes that does help!
    Thank you very much!

Similar Threads

  1. Placing an Image in a Random location from a set of possible locations?
    By Gilronan in forum DirectRT Older Versions: How Do I...
    Replies: 3
    Last Post: 02-24-2015, 04:44 PM
  2. Stimulus remains on screen
    By nabraib in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 08-18-2009, 11:24 AM
  3. RT from end of stimulus rather than start of stimulus?
    By spaulding200 in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 12-17-2008, 05:01 PM
  4. Audio probe during an image stimulus?
    By jarvis24 in forum DirectRT Older Versions: How Do I...
    Replies: 3
    Last Post: 10-08-2007, 02:05 PM
  5. using prior response as stimulus
    By drseuss in forum DirectRT Older Versions: How Do I...
    Replies: 3
    Last Post: 01-18-2007, 06:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •