Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

moving object in random direction

hi all,

I'm recording EEG and I would like a moving object on screen that the participant could stare at to reduce blinking.

The object could be a ball, a square, a cross, a dot, I don't care. It should only appears during the interstimulus interval (ISI) which is variable in time.

I know it will be an inline python script but I don't know how to do it at all as I'm no programmer.

I only have a simple script now to create a randomized duration for the ISI, that I found on this forum I think

    import random

    # Set the minimum and maximum:
    minimum = 6000
    maximum = 8000

    # Determine the ISI for the current trial like so:
    ISI = random.randint(minimum, maximum)
     exp.set("ISI", ISI)
    print (ISI)

Then I have the [ISI] as timing for fixation dot.
Could you help me with that please ?

Thanks,
johan

Comments

Sign In or Register to comment.