step#
You can find an interactive version of this example here
- stimupy.components.edges.step(visual_size=None, ppd=None, shape=None, rotation=0.0, intensity_edges=(0.0, 1.0))#
Draw a central step edge
- Parameters:
visual_size (Sequence[Number, Number], Number, or None (default)) – visual size [height, width] of image, 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 image, in pixels
rotation (float, optional) – rotation (in degrees), counterclockwise, by default 0.0
intensity_edges ((float, float)) – intensity values of edges (default: (0., 1.))
- Returns:
dict with the stimulus (key: “img”), mask with integer index for the each lobes (key: “edge_mask”), and additional keys containing stimulus parameters
- Return type: