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$
2
$\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()
New contributor
Florian Krause is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
$\endgroup$

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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