domijan2015

Contents

domijan2015#

Stimuli from Domijan (2015)

This module reproduces all of the stimuli used by Domijan (2015) as they were provided to the model described in that paper. Since the stimulus sizes were only defined in pixel-space, there is some ambiguity with respect to the stimulus sizes in degrees visual angle. To help solve this ambiguity, we approximated a realistic resolution of the stimuli (ppd = 10) which is set as default value. However, because of the ambiguity, it is possible to change the stimulus sizes by providing at least two of the following: a shape (in pixels), a visual_size (in degrees) and/or a resolution (in ppd).

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

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

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.domijan2015

or from within python:

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

References

Domijan, D. (2015).

A neurocomputational account of the role of contour facilitation in brightness perception. Frontiers in Human Neuroscience, 9, 93. https://doi.org/10.3389/fnhum.2015.00093

Functions#

dungeon([visual_size, ppd, shape])

Dungeon illusion, Domijan (2015) Fig 6A

cube([visual_size, ppd, shape])

Cube illusion, Domijan (2015) Fig 6B

grating([visual_size, ppd, shape])

Grating illusion, Domijan (2015) Fig 6C

rings([visual_size, ppd, shape])

Ring patterns, Domijan (2015) Fig 7A

bullseye([visual_size, ppd, shape])

Bullseye illusion, Domijan (2015) Fig 7B

simultaneous_brightness_contrast([visual_size, ppd, shape])

Simultaneous brightness contrast, Domijan (2015) Fig 7C

white([visual_size, ppd, pad, shape])

White stimulus, Domijan (2015) Fig 8A

benary([visual_size, ppd, shape])

Benarys cross, Domijan (2015) Fig 8B

todorovic([visual_size, ppd, shape])

Todorovic stimulus, Domijan (2015) Fig 9A

checkerboard_contrast_contrast([visual_size, ppd, ...])

Checkerboard contrast-contrast effect, Domijan (2015) Fig 9B

checkerboard([visual_size, ppd, shape, pad])

Classic checkerboard contrast with single-check targets, Domijan (2015) Fig 10A

checkerboard_extended([visual_size, ppd, shape, pad])

Checkerboard contrast with cross-like targets, Domijan (2015) Fig 10B

white_yazdanbakhsh([visual_size, ppd, shape, pad])

Yazdanbakhsh variation of White stimulus, Domijan (2015) Fig 11A

white_anderson([visual_size, ppd, shape, pad])

Anderson variation of White stimulus, Domijan (2015) Fig 11B

white_howe([visual_size, ppd, shape, pad])

Howe variation of White stimulus, Domijan (2015) Fig 11C