[open] psychopy code integration
Hello,
I have an experiment that is entirely coded in Psychopy. Yet, now I have to run it on OpenSesame. Is there a straight
forward way of doing that? Can I put Psychopy code as inline script or does it only work with Python code? If it does
work with Psychopy code as well, what additional changes do I need to make? I would really appretiate your help, I have been trying all kind of posibilities in OpenSesame but it just wont run my code...
Comments
Hi!
First of all: why would you want to do this? If it works, it works, right?
It should be possible to integrate the two, but the best way to do this depends on what your experiment does. I think the easiest way (if your exp is in a single script) would be to paste your entire script in an inline_script. If you set the back-end to psycho and change all references to your active window to
win. This window is created by OpenSesame on startup, so you won't have to create your own.There is a nice post on this on cogsci, I'll look it up for you!
EDIT: found it! http://cogsci.nl/blog/tutorials/211-a-bit-about-patches-textures-and-masks-in-psychopy