I am currently programming a so-called “dot lattice” stimulus that consist of a grid of regularly spaced dots. As the ElementArrayStim is suitable to easily display such stimuli, I started to use this object. However, in the future I would probably want to add a Gaussian window to this stimulus. This window should be applied to the whole stimulus rather than each object separately, as shown in the image below.
Am I right that it currently is not possible to apply such a “field-wide” Gaussian mask to an ElementArrayStim? What would be the best strategy to create such a stimulus? First, create an image of the stimulus, load it again, and multiply this texture with a Gaussian? I don’t feel literally stuck here, but I am curious whether there are elegant solutions to this problem.