![]() ![]() # does not support changing the number of elements on the go. The wizard will try to make sure you have reasonably current drivers for your graphics card. Click that and the Configuration Wizard should start. # This is extremely ugly! You should generally never create a new stimulus, Windows Once installed, you’ll now find a link to the PsychoPy application in > Start > Programs > PsychoPy2. # Delete last character, if there are any chars at allĮlif key = 'backspace' and len(answer_text.text) > 0: # Solution: a function to collect written responses Instruction_text = visual.TextStim(win, text = u'How many dots did you see?', pos=(0, 100)) Here's a solution: # Tidy 1: just import from psychopy Rather, you'd make something that works inside the window using psychopy stimuli. Generally, you would not use a dialogue box to collect responses. Please let me know if you have any suggestions. ![]() I'm using the latest version of Psychopy. MyDlg.addField('How many dots did you see?') I've tried both python3 and python2 with my code. Requires the Window to be initialised with stereoTrue and requires a graphics card that supports quad buffering (e,g nVidia Quadro series) PsychoPy always draws to the back buffers, so 'left' will use GLBACKLEFT This then needs to be flipped once both eye's buffers have been rendered. When running this script Psychopy currently, the gui freezes. I can get this to work for 1 iteration, but something is wrong with the looping because the window and the dialogue are colliding, or the window isn't properly closing. I want an experiment that displays a bunch of random dots, then asks the user to input the correct number of dots they saw. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |