visigoth.stimuli.GaussianNoise

class visigoth.stimuli.GaussianNoise(win, contrast=1, pix_per_deg=None, **kwargs)[source]

Noise field with Gaussian 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

contrast

Control on 0-1 scale, approximately matched to a grating.

opacity

Opacity of the stimulus.

pos

Position of the stimulus.