grating_white_out#

grating_white_out stimulus example
stimupy.papers.white1981.grating_white_out(ppd=PPD)#

A white-gray grating on an out-of-phase grating from White (1981), Fig. 3 Stimulus size: 4.0 x 4.0 deg (originally 4.3592 deg) Target size: 0.72 x 0.72 deg (originally 0.7696 deg) Bar width: 0.08 deg (originally 0.0855 deg)

Parameters:

ppd (int) – Resolution of stimulus in pixels per degree.

Returns:

dict with the stimulus (key: “img”) and target mask (key: “target_mask”) and additional keys containing stimulus parameters

Return type:

dict of str

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