psychopy grating stim and psychopy_textstim
Hello!
I have been trying to find documentation on how these components work but remain stuck in a couple issues. If I am missing some relevant info in the OS website, I apologise, please let me know
This is very basic....I just want to know how can I present a gabor or a piece of text for a specified time frame? eg 30 ms, 2 refreshes...These objects have an option "Update every" and "Drawing order" but not sure what they are for and whether they are relevant here
I can also see that at the bottom of the object (below where it says Drawing first) there is an option to write python code. I tried to put here some commands:
texstim.draw()
win.flip()
clock.sleep(3000)
but I can not get it to work, it just does not wait for the period I indicate...
Any help appreciated!!
many thanks
david
PS I elected to use the psychopy_textstim object over the sketchpad for text becos with the later I can't see an easy way of modulating, trial by trial, the luminance of the text. But I may be wrong here?
Comments
I could sort this out using the sketchpad...sorry for the naive question, I just started using OS...however am still uncertain how to specify the duration of the psychopy objects (though I dont need this for now)
i also noticed that if I use the psychopy backend, OS freezes on my conda install on catalina OS
thanks for the nice piece of software!
Hi David,
As far as I know, even if you use psychopy objects, you have to specify the duration of them with Opensesame functions. If you use sketchpads and start response collection right after stimulus presentation, the normal approach would be to set the duration of the sketchpad to 0, and set the desired presentation duration as duration in the response collection item (usually keyboard or mouse). I am not sure that applies to your specific situation. If you can provide a little more detail what exactly the problem is there, I can try to help you more.
i also noticed that if I use the psychopy backend, OS freezes on my conda install on catalina OS
If you can make a very simple experiment can reproduce the problem, can you post a bug report on Github, incl. information on your install and your operating system?
I hope this helps,
Eduard
Eduard