![]() blur : float The transparency mask that determines the proportion of the patch that will be blurred. alpha : float The opacity of the circle relative to the background, from 1.0 (opaque) to 0.0 (transparent). outline_color : Union The outline color of the circle as single string value or list, in which colorSpace='rgb255' argument has to be added. outline : float The width of the outline of the circle. color : Union The fill color of the circle as single string value or list, in which colorSpace='rgb255' argument has to be added. y : float y-coordinates of the center of the circle, from -1 to 1. x : float x-coordinates of the center of the circle, from -1 to 1. Parameters - window: object A PsychoPy window for displaying one or more stimuli. See the PsychoPy documentation for more information (). The purpose of this wrapper is to have consistent behaviour for functions that are based on the different backends (e.g., PIL, PsychoPy). The difference lies within the names of the arguments and the values that they take (e.g., we use a consistent x-y plane for the screen "space" with 0 as the center, instead of pixels starting from the corner). It is essentially a wrapper around PsychoPy `()`. This function is intended to create circles similar to `image_circle()` within PsychoPy. The `*_circle` functions are meant to facilitate the creation of primitive shapes, in this case, circle(s), that can be assembled into illusory stimuli. ![]() Def psychopy_circle ( window, x = 0, y = 0, size = 1, color = "black", outline = 1, outline_color = "black", alpha = 0, blur = 0, ** kwargs, ): """ Creates a PsychoPy stimulus of a circle.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |