stimupy.papers.white1985#

Stimuli from White & White (1985) https://doi.org/10.1016/0042-6989(85)90049-5

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

Each stimulus is provided by a separate function, a full list can be found as stimupy.papers.white1985.__all__

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 as a script:

$ python stimuli/papers/white1985.py

__all__(list of str)#
that are exported by this module when executing
>>> from stimupy.papers.white1985 import *
Type:

list of all stimulus-functions

References

White, M. & White, T. (1985).

Counterphase lightness induction. Vision Research, 25 (9), 1331-1335. https://doi.org/10.1016/0042-6989(85)90049-5

Functions#

wide_0phase

A square-wave grating with four bars that are in phase as shown in White & White (1985), Fig.

wide_36phase

A square-wave grating with four bars that are 36 deg out-of-phase as shown in White & White (1985), Fig.

wide_72phase

A square-wave grating with four bars that are 72 deg out-of-phase as shown in White & White (1985), Fig.

wide_108phase

A square-wave grating with four bars that are 108 deg out-of-phase as shown in White & White (1985), Fig.

wide_144phase

A square-wave grating with four bars that are 144 deg out-of-phase as shown in White & White (1985), Fig.

wide_180phase

A square-wave grating with four bars that are 180 deg out-of-phase as shown in White & White (1985), Fig.

square_0phase

A square-wave grating with four squares that are in phase as shown in White & White (1985), Fig.

square_36phase

A square-wave grating with four squares that are 36 deg out-of-phase as shown in White & White (1985), Fig.

square_72phase

A square-wave grating with four squares that are 72 deg out-of-phase as shown in White & White (1985), Fig.

square_108phase

A square-wave grating with four squares that are 108 deg out-of-phase as shown in White & White (1985), Fig.

square_144phase

A square-wave grating with four squares that are 144 deg out-of-phase as shown in White & White (1985), Fig.

square_180phase

A square-wave grating with four squares that are 180 deg out-of-phase as shown in White & White (1985), Fig.

wide_0phase(ppd=50)[source]#

A square-wave grating with four bars that are in phase as shown in White & White (1985), Fig. 2 Stimulus size: 3.5 x 3.5 deg Target bars: 0.14 x 0.75 deg (originally 0.15 x 0.75 deg) Grating frequency: ~3.5 cpd

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. & White, T. (1985).

Counterphase lightness induction. Vision Research, 25 (9), 1331-1335. https://doi.org/10.1016/0042-6989(85)90049-5

wide_36phase(ppd=50)[source]#

A square-wave grating with four bars that are 36 deg out-of-phase as shown in White & White (1985), Fig. 2 Stimulus size: 3.5 x 3.5 deg Target bars: 0.14 x 0.75 deg (originally 0.15 x 0.75 deg) Grating frequency: 3.5 cpd

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. & White, T. (1985).

Counterphase lightness induction. Vision Research, 25 (9), 1331-1335. https://doi.org/10.1016/0042-6989(85)90049-5

wide_72phase(ppd=50)[source]#

A square-wave grating with four bars that are 72 deg out-of-phase as shown in White & White (1985), Fig. 2 Stimulus size: 3.5 x 3.5 deg Target bars: 0.14 x 0.75 deg (originally 0.15 x 0.75 deg) Grating frequency: 3.5 cpd

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. & White, T. (1985).

Counterphase lightness induction. Vision Research, 25 (9), 1331-1335. https://doi.org/10.1016/0042-6989(85)90049-5

wide_108phase(ppd=50)[source]#

A square-wave grating with four bars that are 108 deg out-of-phase as shown in White & White (1985), Fig. 2 Stimulus size: 3.5 x 3.5 deg Target bars: 0.14 x 0.75 deg (originally 0.15 x 0.75 deg) Grating frequency: 3.5 cpd

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. & White, T. (1985).

Counterphase lightness induction. Vision Research, 25 (9), 1331-1335. https://doi.org/10.1016/0042-6989(85)90049-5

wide_144phase(ppd=50)[source]#

A square-wave grating with four bars that are 144 deg out-of-phase as shown in White & White (1985), Fig. 2 Stimulus size: 3.5 x 3.5 deg Target bars: 0.14 x 0.75 deg (originally 0.15 x 0.75 deg) Grating frequency: 3.5 cpd

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. & White, T. (1985).

Counterphase lightness induction. Vision Research, 25 (9), 1331-1335. https://doi.org/10.1016/0042-6989(85)90049-5

wide_180phase(ppd=50)[source]#

A square-wave grating with four bars that are 180 deg out-of-phase as shown in White & White (1985), Fig. 2 Stimulus size: 3.5 x 3.5 deg Target bars: 0.14 x 0.75 deg (originally 0.15 x 0.75 deg) Grating frequency: 3.5 cpd

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. & White, T. (1985).

Counterphase lightness induction. Vision Research, 25 (9), 1331-1335. https://doi.org/10.1016/0042-6989(85)90049-5

square_0phase(ppd=50)[source]#

A square-wave grating with four squares that are in phase as shown in White & White (1985), Fig. 3 Stimulus size: 3.5 x 3.5 deg Target bars: 0.14 x 0.14 deg (originally 0.15 x 0.15 deg) Grating frequency: 3.5 cpd

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. & White, T. (1985).

Counterphase lightness induction. Vision Research, 25 (9), 1331-1335. https://doi.org/10.1016/0042-6989(85)90049-5

square_36phase(ppd=50)[source]#

A square-wave grating with four squares that are 36 deg out-of-phase as shown in White & White (1985), Fig. 3 Stimulus size: 3.5 x 3.5 deg Target bars: 0.14 x 0.14 deg (originally 0.15 x 0.15 deg) Grating frequency: 3.5 cpd

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. & White, T. (1985).

Counterphase lightness induction. Vision Research, 25 (9), 1331-1335. https://doi.org/10.1016/0042-6989(85)90049-5

square_72phase(ppd=50)[source]#

A square-wave grating with four squares that are 72 deg out-of-phase as shown in White & White (1985), Fig. 3 Stimulus size: 3.5 x 3.5 deg Target bars: 0.14 x 0.14 deg (originally 0.15 x 0.15 deg) Grating frequency: 3.5 cpd

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. & White, T. (1985).

Counterphase lightness induction. Vision Research, 25 (9), 1331-1335. https://doi.org/10.1016/0042-6989(85)90049-5

square_108phase(ppd=50)[source]#

A square-wave grating with four squares that are 108 deg out-of-phase as shown in White & White (1985), Fig. 3 Stimulus size: 3.5 x 3.5 deg Target bars: 0.14 x 0.14 deg (originally 0.15 x 0.15 deg) Grating frequency: 3.5 cpd

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. & White, T. (1985).

Counterphase lightness induction. Vision Research, 25 (9), 1331-1335. https://doi.org/10.1016/0042-6989(85)90049-5

square_144phase(ppd=50)[source]#

A square-wave grating with four squares that are 144 deg out-of-phase as shown in White & White (1985), Fig. 3 Stimulus size: 3.5 x 3.5 deg Target bars: 0.14 x 0.14 deg (originally 0.15 x 0.15 deg) Grating frequency: 3.5 cpd

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. & White, T. (1985).

Counterphase lightness induction. Vision Research, 25 (9), 1331-1335. https://doi.org/10.1016/0042-6989(85)90049-5

square_180phase(ppd=50)[source]#

A square-wave grating with four squares that are 180 deg out-of-phase as shown in White & White (1985), Fig. 3 Stimulus size: 3.5 x 3.5 deg Target bars: 0.14 x 0.14 deg (originally 0.15 x 0.15 deg) Grating frequency: 3.5 cpd

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. & White, T. (1985).

Counterphase lightness induction. Vision Research, 25 (9), 1331-1335. https://doi.org/10.1016/0042-6989(85)90049-5