Gabor (Grating) size and colors in OpenSesame 4
I'm running OpenSesame 4 and I've been having some trouble getting circular grating stimuli with exactly the size I want. Running the following in psychopy gives me a grating stimulus that is just a tiny bit bigger than the circle. The difference seems to scale with stimulus size, and I'm not sure where this factor could be coming from.
# this is in my simple, single inline script item: x = Canvas() x.gabor(0,0, size=60, env='circular',orient=10,freq=1) x.circle(0, 0, 30,color='darkred') x.show() kb=Keyboard() kb.get_key()
This is happening with psychopy; I dove all the way to the psychopy source, but was not able to find out where the additional size came from.
I tried to test this with different backends, but then I'm running into a different problem. In both legacy & Expyriment, the code crashes on the fact that whatever color I'm providing for col1, it states it's not a valid color format (white, #ffffff, 255, or tuples). I don't have this problem for other stimuli that I'm trying to give a color;
x.fixdot(color='white') runs perfectly fine.
Any help is appreciated!