cross#

cross stimulus example

You can find an interactive version of this example here

stimupy.stimuli.todorovics.cross(visual_size=None, ppd=None, shape=None, cross_size=None, cross_thickness=None, covers_size=None, intensity_background=0.0, intensity_target=0.5, intensity_covers=1.0)#

Cross target and four rectangular covers added at inner cross corners

Parameters:
  • visual_size (Sequence[Number, Number], Number, or None (default)) – visual size [height, width] of grating, in degrees

  • ppd (Sequence[Number, Number], Number, or None (default)) – pixels per degree [vertical, horizontal]

  • shape (Sequence[Number, Number], Number, or None (default)) – shape [height, width] of grating, in pixels

  • cross_size (float or (float, float)) – size of target cross in visual angle

  • cross_thickness (float) – thickness of target cross in visual angle

  • covers_size (float or (float, float)) – size of covers in degrees of visual angle (height, width)

  • intensity_background (float) – intensity value for background

  • intensity_target (float) – intensity value for target

  • intensity_covers (Sequence[Number, ...] or Number) – intensity value for covers

Returns:

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

Return type:

dict[str, Any]

References

Blakeslee, B., & McCourt, M. E. (1999).

A multiscale spatial filtering account of the White effect, simultaneous brightness contrast and grating induction. Vision Research, 39, 4361-4377.

Pessoa, L., Baratoff, G., Neumann, H., & Todorovic, D. (1998).

Lightness and junctions: variations on White’s display. Investigative Ophthalmology and Visual Science (Supplement), 39, S159.

Todorovic, D. (1997).

Lightness and junctions. Perception, 26, 379-395.