AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Psychopy window1/31/2024 WinR = visual.Window(size=, pos=, screen= 1,ĪllowGUI= False, fullscr= False) # same place diff screen # create some stimuli # NB. WinR = visual.Window(size=, pos=, screen= 0,ĪllowGUI= False) #, fullscr=True) # same screen diff place else: WinL = visual.Window(size=, pos=, screen= 0, Using multiple screens and windows with PsychoPyįrom numpy import sin, pi # numeric python if True: # use two positions on one screen Text= 'Simple Imagined Movement Experiment\n\nDuring the trails imagine yourself vigerously shaking the indicated body part (left hand, right hand, left foot or right foot).\n\nPress to continue.', font= 'Arial',Ĭolor= 'white', colorSpace= 'rgb', opacity= 1, Text_3 = visual.TextStim(win=win, ori= 0, name= 'text_3', # store frame rate of monitor if we can measure it successfullyĮxpInfo=win.getActualFrameRate()įrameDur = 1.0/ round(expInfo)įrameDur = 1.0/ 60.0 # couldn't get a reliable measure so guess # Initialize components for Routine "Instructions" Monitor= 'testMonitor', color=, colorSpace= 'rgb', (logging.WARNING) # this outputs to the screen, not a fileĮndExpNow = False # flag for 'escape' or other condition => quit the exp # Start Code - component code to be run before the window creation # Setup the Window win = visual.Window(size=, fullscr= False, screen= 0, allowGUI= True, allowStencil= False, ![]() LogFile = logging.LogFile(filename+ '.log', level=logging.EXP) OriginPath= 'C:\\Users\\srw-install\\Desktop\\buffer_bci\\python\\imaginedMovement_psychoPy\\simple_imagined_movement.psyexp', ThisExp = data.ExperimentHandler(name=expName, version= '', # An ExperimentHandler isn't essential but helps with data saving
0 Comments
Read More
Leave a Reply. |