![]() Over in the component bar we’re going to select Responses -> Keyboard to allow the subject to respond to the text. You can click the Text icon on the timeline to change its properties in the future. For now we don’t need to change anything else about our Text so hit OK and the object should appear on the experiment timeline. We’re going to set the Name of our Text object to “target” and set the start time to 0.5 seconds and the duration of the Text to 4 seconds. Note that you can hover over the green plus sign on each icon for a brief explanation of what it does and that you can add other stimuli such as sound or images. In our case we want to select Stimuli -> Text (the icon with two Ts) which will open a window where you can change various aspects of the text. In the right sidebar of the Builder window, you can select what components you want to add to your experiment. When you open PsychoPy two windows will show up the Builder window and the Coder window, we will only be using the Builder window in this tutorial. It can be used to present a subject with a variety of audiovisual stimuli and record their responses to that stimuli.Ī simple experiment we can create in PsychoPy is Stroop, which is detailed in this tutorial on YouTube and written below. Since I have to use psychopy to compile programs recently, I simply translated some official website APIs, which is a summary.PyschoPy gives a graphical interface to the programming language Python in order to make it easy for people to generate their own experiments. Due to the different sizes of screen pixels, this has an obvious disadvantage that the size of the stimulus depends on the display. If these two parameters change inversely, remember to modify them. There are two important parameters, subjects from the screen distance and screen size. Use the viewing angle to set the stimulus size and position. Set the stimulus size and position on the screen. Because the height of the entire window is -1: 1 is 2. Please note that in the norm unit, if the unit of stimulation is set to 1, it will only occupy half of the screen. In other words, the coordinates of the upper right corner are, and the coordinates of the lower left corner are. The standard unit used in psychopy is "norm", and its range in both x and y dimensions is. (These can be determined at any point by the Window.size attribute. ![]() Obviously it has the disadvantage that the location of the right and left edges of the screen have to be determined from a knowledge of the screen dimensions. Its disadvantage is that the left and right edges of the screen must be determined by the screen size (I don't know what this sentence means, attach the original text): The feature of this unit is that it can be scaled according to the window size (different from "cm" and "deg"). For a 4:3 screen, the range from the lower left corner to the upper right corner is (-0.6667, -0.5) to (+0.6667, +0.5), and for a 16:10 screen, the range from the lower left corner to the upper right corner is (-0.8,-0.5) to (+0.8,+0.5). The height unit is relative to the window size, not the screen size. In the formal experiment, it is best to choose'cm' or'deg', because the two units are small, no matter how the screen or window changes, the stimulus size will not change. When writing a program, you can choose normalised units, such as'norm', because the stimulus can naturally scale with the size of the window. In psychopy, there are many units to choose from, including but not limited to:'norm','cm','deg', and'pix'.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |