visigoth.stimuli.UniformNoise¶
- class visigoth.stimuli.UniformNoise(win, contrast=1, pix_per_deg=None, **kwargs)[source]¶
Noise field with uniform statistics parameterized by contrast.
- __init__(win, contrast=1, pix_per_deg=None, **kwargs)[source]¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(win[, contrast, pix_per_deg])Initialize self.
draw()Draw the stimulus to the window.
update([rng])Generate new random values.
Attributes
contrastControl on 0-1 scale, approximately matched to a grating.
opacityOpacity of the stimulus.
posPosition of the stimulus.