1
$\begingroup$

I wanted to try to put a fixation cross on top of images presented to avoid subject eye movements as much as possible.

I am using Python's Expyriment package and thought that after present with a expyriment.stimuli.Picture I could do a present with an expyriment.stimuli.FixCross object using the clearor update input arguments. But this does not seem to work.

$\endgroup$
0

1 Answer 1

1
$\begingroup$

This should work:

picture = expyriment.stimuli.Picture("/path/to/picture.jpg")
fixcross = expyriment.stimuli.FixCross()
picture.present(update=False)
fixcross.present(clear=False)

Alternatively, you can first plot the fixation cross on top of the picture and then present it:

picture = expyriment.stimuli.Picture("/path/to/picture.jpg")
fixcross = expyriment.stimuli.FixCross()
fixcross.plot(picture)
picture.present()
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.