white1981

Contents

white1981#

Stimuli from White (1981)

This module reproduces most of the stimuli used by White (1981) as they were described in that paper.

Each stimulus is provided by a separate function, which can be listed using

>>> import stimupy.papers.white1981
>>> help(stimupy.papers.white1981)

The output of each of these functions is a stimulus dictionary.

For a visual representation of all the stimuli and their mask, simply run this module from the shell

$ python -m stimuli.papers.white1981

or from within python

>>> from stimupy.utils import plot_stimuli
>>> from stimupy.papers import white1981
>>> plot_stimuli(white1981.gen_all())

References

White, M. (1981).

The effect of the nature of the surround on the perceived lightness of grey bars within square-wave test grating. Perception, 10, 215-230. https://doi.org/10.1068/p100215

Functions#

square_white([ppd])

A square on a white background from White (1981), Fig. 2

square_black([ppd])

A square on a black background from White (1981), Fig. 2

grating_white_white([ppd])

A white-gray grating on white background from White (1981), Fig. 2

grating_white_black([ppd])

A white-gray grating on black background from White (1981), Fig. 2

grating_black_white([ppd])

A black-gray grating on white background from White (1981), Fig. 2

grating_black_black([ppd])

A black-gray grating on black background from White (1981), Fig. 2

grating_white_in([ppd])

A white-gray grating on an in-phase grating from White (1981), Fig. 3

grating_black_in([ppd])

A black-gray grating on an in-phase grating from White (1981), Fig. 3

grating_white_out([ppd])

A white-gray grating on an out-of-phase grating from White (1981), Fig. 3

grating_black_out([ppd])

A black-gray grating on an out-of-phase grating from White (1981), Fig. 3

grating_white_orthogonal([ppd])

A white-gray grating on an orthogonal grating from White (1981), Fig. 3

grating_black_orthogonal([ppd])

A black-gray grating on an orthogonal grating from White (1981), Fig. 3