Hi Chris,
I’m hoping you could give me some advice on the best way to generate a particular stimulus in MWorks. Basically, what I want is a stimulus with a Gaussian luminance profile whose peak luminance is modulated over time according to a sinusoid. How would you try to generate this stimulus?
The approach I’ve used thus far is to attempt to generate a “counterphase” grating (that is a grating that does not drift, but the brightness at a given point is modulated according to a given temporal frequency). This can, theoretically, be achieved by the sum of two identical gratings that drift in opposite directions. However, in practice, I’m having some difficulty achieving the desired effect. I queue two gratings that drift in opposite directions, but there seems to be a small offset between the actual start time of the drifting of each grating, with the grating that is cued first also starting first. Is there a way to start both simultaneously? I’ve tried a frame-list but that creates an undesirable flicker…
In addition, I have some basic questions about how to specify the drifting grating stimuli:
spatial frequency - units? cyc/deg?
speed - units? deg/s?
Mask - I have Gaussian, but it doesn’t look like there is a Gaussian mask; instead I see a square.
std_dev - Based on the name, I would think it controls the size of the mask; instead it looks like it controls the contrast. Is that true?
Thanks!
Seth