todorovic_rectangles#
You can find an interactive version of this example here
- stimupy.stimuli.benarys.todorovic_rectangles(visual_size=None, ppd=None, shape=None, L_width=None, target_size=None, intensity_background=1.0, intensity_cross=0.0, intensity_target=0.5)#
Todorovic version of Benary’s Cross stimulus with two rectangular targets and default placement
- 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
L_width (float) – width of L in degree visual angle
target_size ((float, float)) – size of all target(s) in degrees visual angle
intensity_background (float) – intensity value for background
intensity_cross (float) – intensity value for cross
intensity_target (float) – intensity value for target
- Returns:
dict with the stimulus (key: “img”), mask with integer index for each target (key: “target_mask”), and additional keys containing stimulus parameters
- Return type:
References
- Benary, W. (1924).
Beobachtungen zu einem Experiment über Helligkeitskontrast. Psychologische Forschung, 5, 131-142. https://doi.org/10.1007/BF00402398