psychopy 2025.2.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- psychopy/CHANGELOG.txt +3981 -0
- psychopy/GIT_SHA +1 -0
- psychopy/LICENSE.txt +11 -0
- psychopy/LICENSES.txt +55 -0
- psychopy/VERSION +1 -0
- psychopy/__init__.py +148 -0
- psychopy/alerts/__init__.py +65 -0
- psychopy/alerts/_alerts.py +224 -0
- psychopy/alerts/_errorHandler.py +50 -0
- psychopy/alerts/alertsCatalogue/1000.yaml +0 -0
- psychopy/alerts/alertsCatalogue/1100.yaml +0 -0
- psychopy/alerts/alertsCatalogue/1500.yaml +0 -0
- psychopy/alerts/alertsCatalogue/2000.yaml +0 -0
- psychopy/alerts/alertsCatalogue/2100.yaml +0 -0
- psychopy/alerts/alertsCatalogue/2110.yaml +0 -0
- psychopy/alerts/alertsCatalogue/2115.yaml +21 -0
- psychopy/alerts/alertsCatalogue/2120.yaml +22 -0
- psychopy/alerts/alertsCatalogue/2150.yaml +0 -0
- psychopy/alerts/alertsCatalogue/2155.yaml +21 -0
- psychopy/alerts/alertsCatalogue/2300.yaml +0 -0
- psychopy/alerts/alertsCatalogue/2500.yaml +0 -0
- psychopy/alerts/alertsCatalogue/3000.yaml +0 -0
- psychopy/alerts/alertsCatalogue/3100.yaml +0 -0
- psychopy/alerts/alertsCatalogue/3110.yaml +25 -0
- psychopy/alerts/alertsCatalogue/3115.yaml +24 -0
- psychopy/alerts/alertsCatalogue/3200.yaml +0 -0
- psychopy/alerts/alertsCatalogue/3210.yaml +27 -0
- psychopy/alerts/alertsCatalogue/3400.yaml +0 -0
- psychopy/alerts/alertsCatalogue/3600.yaml +0 -0
- psychopy/alerts/alertsCatalogue/3610.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4000.yaml +0 -0
- psychopy/alerts/alertsCatalogue/4051.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4052.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4100.yaml +0 -0
- psychopy/alerts/alertsCatalogue/4105.yaml +18 -0
- psychopy/alerts/alertsCatalogue/4115.yaml +21 -0
- psychopy/alerts/alertsCatalogue/4120.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4125.yaml +23 -0
- psychopy/alerts/alertsCatalogue/4130.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4160.yaml +25 -0
- psychopy/alerts/alertsCatalogue/4200.yaml +0 -0
- psychopy/alerts/alertsCatalogue/4205.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4210.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4305.yaml +21 -0
- psychopy/alerts/alertsCatalogue/4310.yaml +21 -0
- psychopy/alerts/alertsCatalogue/4315.yaml +21 -0
- psychopy/alerts/alertsCatalogue/4320.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4325.yaml +23 -0
- psychopy/alerts/alertsCatalogue/4330.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4335.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4340.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4405.yaml +24 -0
- psychopy/alerts/alertsCatalogue/4505.yaml +22 -0
- psychopy/alerts/alertsCatalogue/4510.yaml +25 -0
- psychopy/alerts/alertsCatalogue/4520.yaml +26 -0
- psychopy/alerts/alertsCatalogue/4530.yaml +23 -0
- psychopy/alerts/alertsCatalogue/4540.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4545.yaml +22 -0
- psychopy/alerts/alertsCatalogue/4550.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4605.yaml +22 -0
- psychopy/alerts/alertsCatalogue/4610.yaml +22 -0
- psychopy/alerts/alertsCatalogue/4615.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4705.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4710.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4810.yaml +19 -0
- psychopy/alerts/alertsCatalogue/5000.yaml +0 -0
- psychopy/alerts/alertsCatalogue/5055.yaml +25 -0
- psychopy/alerts/alertsCatalogue/6000.yaml +0 -0
- psychopy/alerts/alertsCatalogue/6105.yaml +18 -0
- psychopy/alerts/alertsCatalogue/7105.yaml +19 -0
- psychopy/alerts/alertsCatalogue/8105.yaml +21 -0
- psychopy/alerts/alertsCatalogue/8110.yaml +21 -0
- psychopy/alerts/alertsCatalogue/9998.yaml +19 -0
- psychopy/alerts/alertsCatalogue/9999.yaml +19 -0
- psychopy/alerts/alertsCatalogue/alertCategories.yaml +123 -0
- psychopy/alerts/alertsCatalogue/alertTemplate.yaml +19 -0
- psychopy/alerts/alertsCatalogue/alertmsg.py +173 -0
- psychopy/alerts/alertsCatalogue/generateAlertmsg.py +34 -0
- psychopy/alerts/alerttools.py +322 -0
- psychopy/app/Resources/README.md +12 -0
- psychopy/app/Resources/__init__.py +0 -0
- psychopy/app/Resources/betasplash.png +0 -0
- psychopy/app/Resources/betasplash@2x.png +0 -0
- psychopy/app/Resources/builder.ico +0 -0
- psychopy/app/Resources/classic/FlowBottom_CompLeft.png +0 -0
- psychopy/app/Resources/classic/FlowBottom_CompRight.png +0 -0
- psychopy/app/Resources/classic/FlowTop_CompLeft.png +0 -0
- psychopy/app/Resources/classic/FlowTop_CompRight.png +0 -0
- psychopy/app/Resources/classic/README.txt +9 -0
- psychopy/app/Resources/classic/__init__.py +0 -0
- psychopy/app/Resources/classic/_layouts.ai +1138 -1
- psychopy/app/Resources/classic/add.png +0 -0
- psychopy/app/Resources/classic/add@2x.png +0 -0
- psychopy/app/Resources/classic/addExp32.png +0 -0
- psychopy/app/Resources/classic/add_many.png +0 -0
- psychopy/app/Resources/classic/add_many@2x.png +0 -0
- psychopy/app/Resources/classic/alerts.png +0 -0
- psychopy/app/Resources/classic/beta.png +0 -0
- psychopy/app/Resources/classic/browser.png +0 -0
- psychopy/app/Resources/classic/browser@2x.png +0 -0
- psychopy/app/Resources/classic/bug16.png +0 -0
- psychopy/app/Resources/classic/case.png +0 -0
- psychopy/app/Resources/classic/case@2x.png +0 -0
- psychopy/app/Resources/classic/circle_mask.png +0 -0
- psychopy/app/Resources/classic/circle_mask@2x.png +0 -0
- psychopy/app/Resources/classic/clear.png +0 -0
- psychopy/app/Resources/classic/clear@2x.png +0 -0
- psychopy/app/Resources/classic/coderclass16.png +0 -0
- psychopy/app/Resources/classic/coderfunc16.png +0 -0
- psychopy/app/Resources/classic/coderimport16.png +0 -0
- psychopy/app/Resources/classic/coderjs16.png +0 -0
- psychopy/app/Resources/classic/coderpython16.png +0 -0
- psychopy/app/Resources/classic/codervar16.png +0 -0
- psychopy/app/Resources/classic/cogwindow32.png +0 -0
- psychopy/app/Resources/classic/color32.png +0 -0
- psychopy/app/Resources/classic/compile32.png +0 -0
- psychopy/app/Resources/classic/compile_js.png +0 -0
- psychopy/app/Resources/classic/compile_js@2x.png +0 -0
- psychopy/app/Resources/classic/compile_py.png +0 -0
- psychopy/app/Resources/classic/compile_py@2x.png +0 -0
- psychopy/app/Resources/classic/copy16.png +0 -0
- psychopy/app/Resources/classic/currentFile.png +0 -0
- psychopy/app/Resources/classic/currentFile@2x.png +0 -0
- psychopy/app/Resources/classic/delete16.png +0 -0
- psychopy/app/Resources/classic/desktop.png +0 -0
- psychopy/app/Resources/classic/desktop@2x.png +0 -0
- psychopy/app/Resources/classic/devices.png +0 -0
- psychopy/app/Resources/classic/devices@2x.png +0 -0
- psychopy/app/Resources/classic/dirup16.png +0 -0
- psychopy/app/Resources/classic/docclose16.png +0 -0
- psychopy/app/Resources/classic/download.png +0 -0
- psychopy/app/Resources/classic/edit.png +0 -0
- psychopy/app/Resources/classic/edit@2x.png +0 -0
- psychopy/app/Resources/classic/editbtn.png +0 -0
- psychopy/app/Resources/classic/editbtn16.png +0 -0
- psychopy/app/Resources/classic/editbtn16@2x.png +0 -0
- psychopy/app/Resources/classic/editbtn@2x.png +0 -0
- psychopy/app/Resources/classic/email.png +0 -0
- psychopy/app/Resources/classic/email@2x.png +0 -0
- psychopy/app/Resources/classic/experiment.png +0 -0
- psychopy/app/Resources/classic/experiment@2x.png +0 -0
- psychopy/app/Resources/classic/expsettings.png +0 -0
- psychopy/app/Resources/classic/expsettings@2x.png +0 -0
- psychopy/app/Resources/classic/file.png +0 -0
- psychopy/app/Resources/classic/file@2x.png +0 -0
- psychopy/app/Resources/classic/fileaudio.png +0 -0
- psychopy/app/Resources/classic/fileaudio@2x.png +0 -0
- psychopy/app/Resources/classic/filecss.png +0 -0
- psychopy/app/Resources/classic/filecss@2x.png +0 -0
- psychopy/app/Resources/classic/filecsv.png +0 -0
- psychopy/app/Resources/classic/filecsv@2x.png +0 -0
- psychopy/app/Resources/classic/filedesign.png +0 -0
- psychopy/app/Resources/classic/filedesign@2x.png +0 -0
- psychopy/app/Resources/classic/filefont.png +0 -0
- psychopy/app/Resources/classic/filefont@2x.png +0 -0
- psychopy/app/Resources/classic/filegit.png +0 -0
- psychopy/app/Resources/classic/filegit@2x.png +0 -0
- psychopy/app/Resources/classic/filehtml.png +0 -0
- psychopy/app/Resources/classic/filehtml@2x.png +0 -0
- psychopy/app/Resources/classic/fileimage.png +0 -0
- psychopy/app/Resources/classic/fileimage@2x.png +0 -0
- psychopy/app/Resources/classic/fileinfo.png +0 -0
- psychopy/app/Resources/classic/fileinfo@2x.png +0 -0
- psychopy/app/Resources/classic/filejs.png +0 -0
- psychopy/app/Resources/classic/filejs@2x.png +0 -0
- psychopy/app/Resources/classic/filejson.png +0 -0
- psychopy/app/Resources/classic/filejson@2x.png +0 -0
- psychopy/app/Resources/classic/filenew.png +0 -0
- psychopy/app/Resources/classic/filenew32.png +0 -0
- psychopy/app/Resources/classic/filenew@2x.png +0 -0
- psychopy/app/Resources/classic/fileopen.png +0 -0
- psychopy/app/Resources/classic/fileopen32.png +0 -0
- psychopy/app/Resources/classic/fileopen@2x.png +0 -0
- psychopy/app/Resources/classic/filepkg.png +0 -0
- psychopy/app/Resources/classic/filepkg@2x.png +0 -0
- psychopy/app/Resources/classic/filepsyexp.png +0 -0
- psychopy/app/Resources/classic/filepsyexp@2x.png +0 -0
- psychopy/app/Resources/classic/filepy.png +0 -0
- psychopy/app/Resources/classic/filepy@2x.png +0 -0
- psychopy/app/Resources/classic/filesave.png +0 -0
- psychopy/app/Resources/classic/filesave32.png +0 -0
- psychopy/app/Resources/classic/filesave@2x.png +0 -0
- psychopy/app/Resources/classic/filesaveas.png +0 -0
- psychopy/app/Resources/classic/filesaveas32.png +0 -0
- psychopy/app/Resources/classic/filesaveas@2x.png +0 -0
- psychopy/app/Resources/classic/filetxt.png +0 -0
- psychopy/app/Resources/classic/filetxt@2x.png +0 -0
- psychopy/app/Resources/classic/fileunknown.png +0 -0
- psychopy/app/Resources/classic/fileunknown@2x.png +0 -0
- psychopy/app/Resources/classic/filevideo.png +0 -0
- psychopy/app/Resources/classic/filevideo@2x.png +0 -0
- psychopy/app/Resources/classic/filter.png +0 -0
- psychopy/app/Resources/classic/filter@2x.png +0 -0
- psychopy/app/Resources/classic/find.png +0 -0
- psychopy/app/Resources/classic/find@2x.png +0 -0
- psychopy/app/Resources/classic/folder-open16.png +0 -0
- psychopy/app/Resources/classic/folder16.png +0 -0
- psychopy/app/Resources/classic/foldernew16.png +0 -0
- psychopy/app/Resources/classic/fork.png +0 -0
- psychopy/app/Resources/classic/fork@2x.png +0 -0
- psychopy/app/Resources/classic/github.png +0 -0
- psychopy/app/Resources/classic/github@2x.png +0 -0
- psychopy/app/Resources/classic/globe.png +0 -0
- psychopy/app/Resources/classic/globe@2x.png +0 -0
- psychopy/app/Resources/classic/globe_bug.png +0 -0
- psychopy/app/Resources/classic/globe_bug@2x.png +0 -0
- psychopy/app/Resources/classic/globe_greensync.png +0 -0
- psychopy/app/Resources/classic/globe_greensync@2x.png +0 -0
- psychopy/app/Resources/classic/globe_info.png +0 -0
- psychopy/app/Resources/classic/globe_info@2x.png +0 -0
- psychopy/app/Resources/classic/globe_magnifier.png +0 -0
- psychopy/app/Resources/classic/globe_magnifier@2x.png +0 -0
- psychopy/app/Resources/classic/globe_run.png +0 -0
- psychopy/app/Resources/classic/globe_run@2x.png +0 -0
- psychopy/app/Resources/classic/globe_user.png +0 -0
- psychopy/app/Resources/classic/globe_user@2x.png +0 -0
- psychopy/app/Resources/classic/goto16.png +0 -0
- psychopy/app/Resources/classic/greendot.png +0 -0
- psychopy/app/Resources/classic/greendot@2x.png +0 -0
- psychopy/app/Resources/classic/greenglobe.png +0 -0
- psychopy/app/Resources/classic/greenglobe@2x.png +0 -0
- psychopy/app/Resources/classic/greenglobe_bug.png +0 -0
- psychopy/app/Resources/classic/greenglobe_bug@2x.png +0 -0
- psychopy/app/Resources/classic/greenglobe_greensync.png +0 -0
- psychopy/app/Resources/classic/greenglobe_greensync@2x.png +0 -0
- psychopy/app/Resources/classic/greenglobe_info.png +0 -0
- psychopy/app/Resources/classic/greenglobe_info@2x.png +0 -0
- psychopy/app/Resources/classic/greenglobe_magnifier.png +0 -0
- psychopy/app/Resources/classic/greenglobe_magnifier@2x.png +0 -0
- psychopy/app/Resources/classic/greenglobe_run.png +0 -0
- psychopy/app/Resources/classic/greenglobe_run@2x.png +0 -0
- psychopy/app/Resources/classic/greenglobe_user.png +0 -0
- psychopy/app/Resources/classic/greenglobe_user@2x.png +0 -0
- psychopy/app/Resources/classic/greydot.png +0 -0
- psychopy/app/Resources/classic/greydot@2x.png +0 -0
- psychopy/app/Resources/classic/greytick.png +0 -0
- psychopy/app/Resources/classic/greytick@2x.png +0 -0
- psychopy/app/Resources/classic/invalid_img.png +0 -0
- psychopy/app/Resources/classic/jsPilot.png +0 -0
- psychopy/app/Resources/classic/jsPilot@2x.png +0 -0
- psychopy/app/Resources/classic/jsRun.png +0 -0
- psychopy/app/Resources/classic/jsRun@2x.png +0 -0
- psychopy/app/Resources/classic/libroot.png +0 -0
- psychopy/app/Resources/classic/libroot@2x.png +0 -0
- psychopy/app/Resources/classic/loop.png +0 -0
- psychopy/app/Resources/classic/loop@2x.png +0 -0
- psychopy/app/Resources/classic/monitor16.png +0 -0
- psychopy/app/Resources/classic/monitors.png +0 -0
- psychopy/app/Resources/classic/monitors16.png +0 -0
- psychopy/app/Resources/classic/monitors32.png +0 -0
- psychopy/app/Resources/classic/monitors@2x.png +0 -0
- psychopy/app/Resources/classic/orangedot.png +0 -0
- psychopy/app/Resources/classic/orangedot@2x.png +0 -0
- psychopy/app/Resources/classic/pavlovia.png +0 -0
- psychopy/app/Resources/classic/pavlovia16.png +0 -0
- psychopy/app/Resources/classic/pavlovia16@2x.png +0 -0
- psychopy/app/Resources/classic/pavlovia@2x.png +0 -0
- psychopy/app/Resources/classic/pavsync.png +0 -0
- psychopy/app/Resources/classic/pavsync@2x.png +0 -0
- psychopy/app/Resources/classic/person_off.png +0 -0
- psychopy/app/Resources/classic/person_off@2x.png +0 -0
- psychopy/app/Resources/classic/person_on.png +0 -0
- psychopy/app/Resources/classic/person_on@2x.png +0 -0
- psychopy/app/Resources/classic/photometer.png +0 -0
- psychopy/app/Resources/classic/photometer@2x.png +0 -0
- psychopy/app/Resources/classic/plugin16.png +0 -0
- psychopy/app/Resources/classic/plugin16@2x.png +0 -0
- psychopy/app/Resources/classic/plugins32.png +0 -0
- psychopy/app/Resources/classic/plus.png +0 -0
- psychopy/app/Resources/classic/plus@2x.png +0 -0
- psychopy/app/Resources/classic/preferences-app.png +0 -0
- psychopy/app/Resources/classic/preferences-app48.png +0 -0
- psychopy/app/Resources/classic/preferences-app@2x.png +0 -0
- psychopy/app/Resources/classic/preferences-conn.png +0 -0
- psychopy/app/Resources/classic/preferences-conn48.png +0 -0
- psychopy/app/Resources/classic/preferences-conn@2x.png +0 -0
- psychopy/app/Resources/classic/preferences-debug.png +0 -0
- psychopy/app/Resources/classic/preferences-debug@2x.png +0 -0
- psychopy/app/Resources/classic/preferences-general.png +0 -0
- psychopy/app/Resources/classic/preferences-general48.png +0 -0
- psychopy/app/Resources/classic/preferences-general@2x.png +0 -0
- psychopy/app/Resources/classic/preferences-hardware.png +0 -0
- psychopy/app/Resources/classic/preferences-hardware48.png +0 -0
- psychopy/app/Resources/classic/preferences-hardware@2x.png +0 -0
- psychopy/app/Resources/classic/preferences-keyboard.png +0 -0
- psychopy/app/Resources/classic/preferences-keyboard48.png +0 -0
- psychopy/app/Resources/classic/preferences-keyboard@2x.png +0 -0
- psychopy/app/Resources/classic/preferences-pilot.png +0 -0
- psychopy/app/Resources/classic/preferences-pilot@2x.png +0 -0
- psychopy/app/Resources/classic/preferences32.png +0 -0
- psychopy/app/Resources/classic/pyPilot.png +0 -0
- psychopy/app/Resources/classic/pyPilot@2x.png +0 -0
- psychopy/app/Resources/classic/pyRun.png +0 -0
- psychopy/app/Resources/classic/pyRun@2x.png +0 -0
- psychopy/app/Resources/classic/reddot.png +0 -0
- psychopy/app/Resources/classic/reddot@2x.png +0 -0
- psychopy/app/Resources/classic/redglobe.png +0 -0
- psychopy/app/Resources/classic/redglobe@2x.png +0 -0
- psychopy/app/Resources/classic/redglobe_bug.png +0 -0
- psychopy/app/Resources/classic/redglobe_bug@2x.png +0 -0
- psychopy/app/Resources/classic/redglobe_greensync.png +0 -0
- psychopy/app/Resources/classic/redglobe_greensync@2x.png +0 -0
- psychopy/app/Resources/classic/redglobe_info.png +0 -0
- psychopy/app/Resources/classic/redglobe_info@2x.png +0 -0
- psychopy/app/Resources/classic/redglobe_magnifier.png +0 -0
- psychopy/app/Resources/classic/redglobe_magnifier@2x.png +0 -0
- psychopy/app/Resources/classic/redglobe_run.png +0 -0
- psychopy/app/Resources/classic/redglobe_run@2x.png +0 -0
- psychopy/app/Resources/classic/redglobe_user.png +0 -0
- psychopy/app/Resources/classic/redglobe_user@2x.png +0 -0
- psychopy/app/Resources/classic/redo.png +0 -0
- psychopy/app/Resources/classic/redo32.png +0 -0
- psychopy/app/Resources/classic/redo@2x.png +0 -0
- psychopy/app/Resources/classic/regex.png +0 -0
- psychopy/app/Resources/classic/regex@2x.png +0 -0
- psychopy/app/Resources/classic/removeExp32.png +0 -0
- psychopy/app/Resources/classic/rename16.png +0 -0
- psychopy/app/Resources/classic/restart.png +0 -0
- psychopy/app/Resources/classic/restart@2x.png +0 -0
- psychopy/app/Resources/classic/run.png +0 -0
- psychopy/app/Resources/classic/run@2x.png +0 -0
- psychopy/app/Resources/classic/runner.png +0 -0
- psychopy/app/Resources/classic/runner@2x.png +0 -0
- psychopy/app/Resources/classic/runnerPilot.png +0 -0
- psychopy/app/Resources/classic/runnerPilot@2x.png +0 -0
- psychopy/app/Resources/classic/savebtn.png +0 -0
- psychopy/app/Resources/classic/savebtn16.png +0 -0
- psychopy/app/Resources/classic/savebtn16@2x.png +0 -0
- psychopy/app/Resources/classic/savebtn@2x.png +0 -0
- psychopy/app/Resources/classic/search.png +0 -0
- psychopy/app/Resources/classic/search@2x.png +0 -0
- psychopy/app/Resources/classic/showBuilder.png +0 -0
- psychopy/app/Resources/classic/showBuilder@2x.png +0 -0
- psychopy/app/Resources/classic/showCoder.png +0 -0
- psychopy/app/Resources/classic/showCoder@2x.png +0 -0
- psychopy/app/Resources/classic/showRunner.png +0 -0
- psychopy/app/Resources/classic/showRunner@2x.png +0 -0
- psychopy/app/Resources/classic/starred.png +0 -0
- psychopy/app/Resources/classic/starred@2x.png +0 -0
- psychopy/app/Resources/classic/start.png +0 -0
- psychopy/app/Resources/classic/start@2x.png +0 -0
- psychopy/app/Resources/classic/stdout.png +0 -0
- psychopy/app/Resources/classic/stop.png +0 -0
- psychopy/app/Resources/classic/stop32.png +0 -0
- psychopy/app/Resources/classic/stop@2x.png +0 -0
- psychopy/app/Resources/classic/switchCtrlBot.png +0 -0
- psychopy/app/Resources/classic/switchCtrlBot@2x.png +0 -0
- psychopy/app/Resources/classic/switchCtrlLeft.png +0 -0
- psychopy/app/Resources/classic/switchCtrlLeft@2x.png +0 -0
- psychopy/app/Resources/classic/switchCtrlRight.png +0 -0
- psychopy/app/Resources/classic/switchCtrlRight@2x.png +0 -0
- psychopy/app/Resources/classic/switchCtrlTop.png +0 -0
- psychopy/app/Resources/classic/switchCtrlTop@2x.png +0 -0
- psychopy/app/Resources/classic/tick.png +0 -0
- psychopy/app/Resources/classic/tick@2x.png +0 -0
- psychopy/app/Resources/classic/undo.png +0 -0
- psychopy/app/Resources/classic/undo32.png +0 -0
- psychopy/app/Resources/classic/undo@2x.png +0 -0
- psychopy/app/Resources/classic/unstarred.png +0 -0
- psychopy/app/Resources/classic/unstarred@2x.png +0 -0
- psychopy/app/Resources/classic/user_none.png +0 -0
- psychopy/app/Resources/classic/view-refresh16.png +0 -0
- psychopy/app/Resources/classic/viewbtn.png +0 -0
- psychopy/app/Resources/classic/viewbtn16.png +0 -0
- psychopy/app/Resources/classic/viewbtn16@2x.png +0 -0
- psychopy/app/Resources/classic/viewbtn@2x.png +0 -0
- psychopy/app/Resources/classic/windows16.png +0 -0
- psychopy/app/Resources/classic/windows16@2x.png +0 -0
- psychopy/app/Resources/coder.ico +0 -0
- psychopy/app/Resources/dark/FlowBottom_CompLeft.png +0 -0
- psychopy/app/Resources/dark/FlowBottom_CompRight.png +0 -0
- psychopy/app/Resources/dark/FlowTop_CompLeft.png +0 -0
- psychopy/app/Resources/dark/FlowTop_CompRight.png +0 -0
- psychopy/app/Resources/dark/README.txt +3 -0
- psychopy/app/Resources/dark/__init__.py +0 -0
- psychopy/app/Resources/dark/add.png +0 -0
- psychopy/app/Resources/dark/add@2x.png +0 -0
- psychopy/app/Resources/dark/addExp32.png +0 -0
- psychopy/app/Resources/dark/addExp32@2x.png +0 -0
- psychopy/app/Resources/dark/add_many.png +0 -0
- psychopy/app/Resources/dark/add_many@2x.png +0 -0
- psychopy/app/Resources/dark/alerts.png +0 -0
- psychopy/app/Resources/dark/alerts@2x.png +0 -0
- psychopy/app/Resources/dark/beta.png +0 -0
- psychopy/app/Resources/dark/beta@2x.png +0 -0
- psychopy/app/Resources/dark/browser.png +0 -0
- psychopy/app/Resources/dark/browser@2x.png +0 -0
- psychopy/app/Resources/dark/bug16.png +0 -0
- psychopy/app/Resources/dark/bug16@2x.png +0 -0
- psychopy/app/Resources/dark/case.png +0 -0
- psychopy/app/Resources/dark/case@2x.png +0 -0
- psychopy/app/Resources/dark/circle_mask.png +0 -0
- psychopy/app/Resources/dark/circle_mask@2x.png +0 -0
- psychopy/app/Resources/dark/clear.png +0 -0
- psychopy/app/Resources/dark/clear@2x.png +0 -0
- psychopy/app/Resources/dark/coderclass16.png +0 -0
- psychopy/app/Resources/dark/coderclass16@2x.png +0 -0
- psychopy/app/Resources/dark/coderfunc16.png +0 -0
- psychopy/app/Resources/dark/coderfunc16@2x.png +0 -0
- psychopy/app/Resources/dark/coderimport16.png +0 -0
- psychopy/app/Resources/dark/coderimport16@2x.png +0 -0
- psychopy/app/Resources/dark/coderjs.png +0 -0
- psychopy/app/Resources/dark/coderjs@2x.png +0 -0
- psychopy/app/Resources/dark/coderpython.png +0 -0
- psychopy/app/Resources/dark/coderpython@2x.png +0 -0
- psychopy/app/Resources/dark/codervar16.png +0 -0
- psychopy/app/Resources/dark/codervar16@2x.png +0 -0
- psychopy/app/Resources/dark/cogwindow32.png +0 -0
- psychopy/app/Resources/dark/cogwindow32@2x.png +0 -0
- psychopy/app/Resources/dark/color32.png +0 -0
- psychopy/app/Resources/dark/color32@2x.png +0 -0
- psychopy/app/Resources/dark/compile_js.png +0 -0
- psychopy/app/Resources/dark/compile_js@2x.png +0 -0
- psychopy/app/Resources/dark/compile_py.png +0 -0
- psychopy/app/Resources/dark/compile_py@2x.png +0 -0
- psychopy/app/Resources/dark/copy16.png +0 -0
- psychopy/app/Resources/dark/copy16@2x.png +0 -0
- psychopy/app/Resources/dark/currentFile16.png +0 -0
- psychopy/app/Resources/dark/currentFile16@2x.png +0 -0
- psychopy/app/Resources/dark/delete16.png +0 -0
- psychopy/app/Resources/dark/delete16@2x.png +0 -0
- psychopy/app/Resources/dark/desktop.png +0 -0
- psychopy/app/Resources/dark/desktop@2x.png +0 -0
- psychopy/app/Resources/dark/devices.png +0 -0
- psychopy/app/Resources/dark/devices@2x.png +0 -0
- psychopy/app/Resources/dark/dirup16.png +0 -0
- psychopy/app/Resources/dark/dirup16@2x.png +0 -0
- psychopy/app/Resources/dark/docclose16.png +0 -0
- psychopy/app/Resources/dark/docclose16@2x.png +0 -0
- psychopy/app/Resources/dark/download.png +0 -0
- psychopy/app/Resources/dark/download@2x.png +0 -0
- psychopy/app/Resources/dark/edit.png +0 -0
- psychopy/app/Resources/dark/edit@2x.png +0 -0
- psychopy/app/Resources/dark/editbtn16.png +0 -0
- psychopy/app/Resources/dark/editbtn16@2x.png +0 -0
- psychopy/app/Resources/dark/email.png +0 -0
- psychopy/app/Resources/dark/email@2x.png +0 -0
- psychopy/app/Resources/dark/experiment.png +0 -0
- psychopy/app/Resources/dark/experiment@2x.png +0 -0
- psychopy/app/Resources/dark/expsettings.png +0 -0
- psychopy/app/Resources/dark/expsettings@2x.png +0 -0
- psychopy/app/Resources/dark/file.png +0 -0
- psychopy/app/Resources/dark/file@16w.png +0 -0
- psychopy/app/Resources/dark/file@16w@2x.png +0 -0
- psychopy/app/Resources/dark/file@2x.png +0 -0
- psychopy/app/Resources/dark/fileaudio.png +0 -0
- psychopy/app/Resources/dark/fileaudio@2x.png +0 -0
- psychopy/app/Resources/dark/filecss.png +0 -0
- psychopy/app/Resources/dark/filecss@2x.png +0 -0
- psychopy/app/Resources/dark/filecsv.png +0 -0
- psychopy/app/Resources/dark/filecsv@2x.png +0 -0
- psychopy/app/Resources/dark/filedesign.png +0 -0
- psychopy/app/Resources/dark/filedesign@2x.png +0 -0
- psychopy/app/Resources/dark/filefont.png +0 -0
- psychopy/app/Resources/dark/filefont@2x.png +0 -0
- psychopy/app/Resources/dark/filegit.png +0 -0
- psychopy/app/Resources/dark/filegit@2x.png +0 -0
- psychopy/app/Resources/dark/filehtml.png +0 -0
- psychopy/app/Resources/dark/filehtml@2x.png +0 -0
- psychopy/app/Resources/dark/fileimage.png +0 -0
- psychopy/app/Resources/dark/fileimage@2x.png +0 -0
- psychopy/app/Resources/dark/fileinfo.png +0 -0
- psychopy/app/Resources/dark/fileinfo@2x.png +0 -0
- psychopy/app/Resources/dark/filejs.png +0 -0
- psychopy/app/Resources/dark/filejs@2x.png +0 -0
- psychopy/app/Resources/dark/filejson.png +0 -0
- psychopy/app/Resources/dark/filejson@2x.png +0 -0
- psychopy/app/Resources/dark/filenew.png +0 -0
- psychopy/app/Resources/dark/filenew32.png +0 -0
- psychopy/app/Resources/dark/filenew32@2x.png +0 -0
- psychopy/app/Resources/dark/filenew@2x.png +0 -0
- psychopy/app/Resources/dark/fileopen.png +0 -0
- psychopy/app/Resources/dark/fileopen32.png +0 -0
- psychopy/app/Resources/dark/fileopen32@2x.png +0 -0
- psychopy/app/Resources/dark/fileopen@2x.png +0 -0
- psychopy/app/Resources/dark/filepkg.png +0 -0
- psychopy/app/Resources/dark/filepkg@2x.png +0 -0
- psychopy/app/Resources/dark/filepsyexp.png +0 -0
- psychopy/app/Resources/dark/filepsyexp@2x.png +0 -0
- psychopy/app/Resources/dark/filepy.png +0 -0
- psychopy/app/Resources/dark/filepy@2x.png +0 -0
- psychopy/app/Resources/dark/filesave.png +0 -0
- psychopy/app/Resources/dark/filesave32.png +0 -0
- psychopy/app/Resources/dark/filesave32@2x.png +0 -0
- psychopy/app/Resources/dark/filesave@2x.png +0 -0
- psychopy/app/Resources/dark/filesaveas.png +0 -0
- psychopy/app/Resources/dark/filesaveas32.png +0 -0
- psychopy/app/Resources/dark/filesaveas32@2x.png +0 -0
- psychopy/app/Resources/dark/filesaveas@2x.png +0 -0
- psychopy/app/Resources/dark/filetxt.png +0 -0
- psychopy/app/Resources/dark/filetxt@2x.png +0 -0
- psychopy/app/Resources/dark/fileunknown.png +0 -0
- psychopy/app/Resources/dark/fileunknown@2x.png +0 -0
- psychopy/app/Resources/dark/filevideo.png +0 -0
- psychopy/app/Resources/dark/filevideo@2x.png +0 -0
- psychopy/app/Resources/dark/filter.png +0 -0
- psychopy/app/Resources/dark/filter@2x.png +0 -0
- psychopy/app/Resources/dark/find.png +0 -0
- psychopy/app/Resources/dark/find@2x.png +0 -0
- psychopy/app/Resources/dark/folder-open16.png +0 -0
- psychopy/app/Resources/dark/folder-open16@2x.png +0 -0
- psychopy/app/Resources/dark/folder16.png +0 -0
- psychopy/app/Resources/dark/folder16@2x.png +0 -0
- psychopy/app/Resources/dark/foldernew16.png +0 -0
- psychopy/app/Resources/dark/foldernew16@2x.png +0 -0
- psychopy/app/Resources/dark/fork.png +0 -0
- psychopy/app/Resources/dark/fork@2x.png +0 -0
- psychopy/app/Resources/dark/github.png +0 -0
- psychopy/app/Resources/dark/github@2x.png +0 -0
- psychopy/app/Resources/dark/globe.png +0 -0
- psychopy/app/Resources/dark/globe@2x.png +0 -0
- psychopy/app/Resources/dark/globe_bug.png +0 -0
- psychopy/app/Resources/dark/globe_bug@2x.png +0 -0
- psychopy/app/Resources/dark/globe_greensync.png +0 -0
- psychopy/app/Resources/dark/globe_greensync@2x.png +0 -0
- psychopy/app/Resources/dark/globe_info.png +0 -0
- psychopy/app/Resources/dark/globe_info@2x.png +0 -0
- psychopy/app/Resources/dark/globe_magnifier.png +0 -0
- psychopy/app/Resources/dark/globe_magnifier@2x.png +0 -0
- psychopy/app/Resources/dark/globe_run.png +0 -0
- psychopy/app/Resources/dark/globe_run@2x.png +0 -0
- psychopy/app/Resources/dark/globe_user.png +0 -0
- psychopy/app/Resources/dark/globe_user@2x.png +0 -0
- psychopy/app/Resources/dark/goto.png +0 -0
- psychopy/app/Resources/dark/goto@2x.png +0 -0
- psychopy/app/Resources/dark/greendot.png +0 -0
- psychopy/app/Resources/dark/greendot@2x.png +0 -0
- psychopy/app/Resources/dark/greenglobe.png +0 -0
- psychopy/app/Resources/dark/greenglobe@2x.png +0 -0
- psychopy/app/Resources/dark/greenglobe_bug.png +0 -0
- psychopy/app/Resources/dark/greenglobe_bug@2x.png +0 -0
- psychopy/app/Resources/dark/greenglobe_greensync.png +0 -0
- psychopy/app/Resources/dark/greenglobe_greensync@2x.png +0 -0
- psychopy/app/Resources/dark/greenglobe_info.png +0 -0
- psychopy/app/Resources/dark/greenglobe_info@2x.png +0 -0
- psychopy/app/Resources/dark/greenglobe_magnifier.png +0 -0
- psychopy/app/Resources/dark/greenglobe_magnifier@2x.png +0 -0
- psychopy/app/Resources/dark/greenglobe_run.png +0 -0
- psychopy/app/Resources/dark/greenglobe_run@2x.png +0 -0
- psychopy/app/Resources/dark/greenglobe_user.png +0 -0
- psychopy/app/Resources/dark/greenglobe_user@2x.png +0 -0
- psychopy/app/Resources/dark/greydot.png +0 -0
- psychopy/app/Resources/dark/greydot@2x.png +0 -0
- psychopy/app/Resources/dark/greytick.png +0 -0
- psychopy/app/Resources/dark/greytick@2x.png +0 -0
- psychopy/app/Resources/dark/invalid_img.png +0 -0
- psychopy/app/Resources/dark/jsPilot.png +0 -0
- psychopy/app/Resources/dark/jsPilot@2x.png +0 -0
- psychopy/app/Resources/dark/jsRun.png +0 -0
- psychopy/app/Resources/dark/jsRun@2x.png +0 -0
- psychopy/app/Resources/dark/libroot16.png +0 -0
- psychopy/app/Resources/dark/libroot16@2x.png +0 -0
- psychopy/app/Resources/dark/loop.png +0 -0
- psychopy/app/Resources/dark/loop@2x.png +0 -0
- psychopy/app/Resources/dark/monitor16.png +0 -0
- psychopy/app/Resources/dark/monitor16@2x.png +0 -0
- psychopy/app/Resources/dark/monitors.png +0 -0
- psychopy/app/Resources/dark/monitors32.png +0 -0
- psychopy/app/Resources/dark/monitors32@2x.png +0 -0
- psychopy/app/Resources/dark/monitors@2x.png +0 -0
- psychopy/app/Resources/dark/orangedot.png +0 -0
- psychopy/app/Resources/dark/orangedot@2x.png +0 -0
- psychopy/app/Resources/dark/pavlovia.png +0 -0
- psychopy/app/Resources/dark/pavlovia16.png +0 -0
- psychopy/app/Resources/dark/pavlovia16@2x.png +0 -0
- psychopy/app/Resources/dark/pavlovia@2x.png +0 -0
- psychopy/app/Resources/dark/pavsync.png +0 -0
- psychopy/app/Resources/dark/pavsync@2x.png +0 -0
- psychopy/app/Resources/dark/person_off.png +0 -0
- psychopy/app/Resources/dark/person_off@2x.png +0 -0
- psychopy/app/Resources/dark/person_on.png +0 -0
- psychopy/app/Resources/dark/person_on@2x.png +0 -0
- psychopy/app/Resources/dark/photometer.png +0 -0
- psychopy/app/Resources/dark/photometer@2x.png +0 -0
- psychopy/app/Resources/dark/plugin16.png +0 -0
- psychopy/app/Resources/dark/plugin16@2x.png +0 -0
- psychopy/app/Resources/dark/plugins32.png +0 -0
- psychopy/app/Resources/dark/plugins32@2x.png +0 -0
- psychopy/app/Resources/dark/plus.png +0 -0
- psychopy/app/Resources/dark/plus@2x.png +0 -0
- psychopy/app/Resources/dark/preferences-app.png +0 -0
- psychopy/app/Resources/dark/preferences-app48.png +0 -0
- psychopy/app/Resources/dark/preferences-app48@2x.png +0 -0
- psychopy/app/Resources/dark/preferences-app@2x.png +0 -0
- psychopy/app/Resources/dark/preferences-conn.png +0 -0
- psychopy/app/Resources/dark/preferences-conn48.png +0 -0
- psychopy/app/Resources/dark/preferences-conn48@2x.png +0 -0
- psychopy/app/Resources/dark/preferences-conn@2x.png +0 -0
- psychopy/app/Resources/dark/preferences-debug.png +0 -0
- psychopy/app/Resources/dark/preferences-debug@2x.png +0 -0
- psychopy/app/Resources/dark/preferences-general.png +0 -0
- psychopy/app/Resources/dark/preferences-general48.png +0 -0
- psychopy/app/Resources/dark/preferences-general48@2x.png +0 -0
- psychopy/app/Resources/dark/preferences-general@2x.png +0 -0
- psychopy/app/Resources/dark/preferences-hardware.png +0 -0
- psychopy/app/Resources/dark/preferences-hardware48.png +0 -0
- psychopy/app/Resources/dark/preferences-hardware48@2x.png +0 -0
- psychopy/app/Resources/dark/preferences-hardware@2x.png +0 -0
- psychopy/app/Resources/dark/preferences-keyboard.png +0 -0
- psychopy/app/Resources/dark/preferences-keyboard48.png +0 -0
- psychopy/app/Resources/dark/preferences-keyboard48@2x.png +0 -0
- psychopy/app/Resources/dark/preferences-keyboard@2x.png +0 -0
- psychopy/app/Resources/dark/preferences-pilot.png +0 -0
- psychopy/app/Resources/dark/preferences-pilot@2x.png +0 -0
- psychopy/app/Resources/dark/preferences32.png +0 -0
- psychopy/app/Resources/dark/preferences32@2x.png +0 -0
- psychopy/app/Resources/dark/pyPilot.png +0 -0
- psychopy/app/Resources/dark/pyPilot@2x.png +0 -0
- psychopy/app/Resources/dark/pyRun.png +0 -0
- psychopy/app/Resources/dark/pyRun@2x.png +0 -0
- psychopy/app/Resources/dark/reddot.png +0 -0
- psychopy/app/Resources/dark/reddot@2x.png +0 -0
- psychopy/app/Resources/dark/redglobe.png +0 -0
- psychopy/app/Resources/dark/redglobe@2x.png +0 -0
- psychopy/app/Resources/dark/redglobe_bug.png +0 -0
- psychopy/app/Resources/dark/redglobe_bug@2x.png +0 -0
- psychopy/app/Resources/dark/redglobe_greensync.png +0 -0
- psychopy/app/Resources/dark/redglobe_greensync@2x.png +0 -0
- psychopy/app/Resources/dark/redglobe_info.png +0 -0
- psychopy/app/Resources/dark/redglobe_info@2x.png +0 -0
- psychopy/app/Resources/dark/redglobe_magnifier.png +0 -0
- psychopy/app/Resources/dark/redglobe_magnifier@2x.png +0 -0
- psychopy/app/Resources/dark/redglobe_run.png +0 -0
- psychopy/app/Resources/dark/redglobe_run@2x.png +0 -0
- psychopy/app/Resources/dark/redglobe_user.png +0 -0
- psychopy/app/Resources/dark/redglobe_user@2x.png +0 -0
- psychopy/app/Resources/dark/redo.png +0 -0
- psychopy/app/Resources/dark/redo32.png +0 -0
- psychopy/app/Resources/dark/redo32@2x.png +0 -0
- psychopy/app/Resources/dark/redo@2x.png +0 -0
- psychopy/app/Resources/dark/regex.png +0 -0
- psychopy/app/Resources/dark/regex@2x.png +0 -0
- psychopy/app/Resources/dark/removeExp32.png +0 -0
- psychopy/app/Resources/dark/removeExp32@2x.png +0 -0
- psychopy/app/Resources/dark/rename16.png +0 -0
- psychopy/app/Resources/dark/rename16@2x.png +0 -0
- psychopy/app/Resources/dark/restart.png +0 -0
- psychopy/app/Resources/dark/restart@2x.png +0 -0
- psychopy/app/Resources/dark/runner.png +0 -0
- psychopy/app/Resources/dark/runner@2x.png +0 -0
- psychopy/app/Resources/dark/runnerPilot.png +0 -0
- psychopy/app/Resources/dark/runnerPilot@2x.png +0 -0
- psychopy/app/Resources/dark/savebtn16.png +0 -0
- psychopy/app/Resources/dark/savebtn16@2x.png +0 -0
- psychopy/app/Resources/dark/search.png +0 -0
- psychopy/app/Resources/dark/search@2x.png +0 -0
- psychopy/app/Resources/dark/showBuilder.png +0 -0
- psychopy/app/Resources/dark/showBuilder@2x.png +0 -0
- psychopy/app/Resources/dark/showCoder.png +0 -0
- psychopy/app/Resources/dark/showCoder@2x.png +0 -0
- psychopy/app/Resources/dark/showRunner.png +0 -0
- psychopy/app/Resources/dark/showRunner@2x.png +0 -0
- psychopy/app/Resources/dark/starred.png +0 -0
- psychopy/app/Resources/dark/starred@2x.png +0 -0
- psychopy/app/Resources/dark/start.png +0 -0
- psychopy/app/Resources/dark/start@2x.png +0 -0
- psychopy/app/Resources/dark/stdout.png +0 -0
- psychopy/app/Resources/dark/stdout@2x.png +0 -0
- psychopy/app/Resources/dark/stop.png +0 -0
- psychopy/app/Resources/dark/stop32.png +0 -0
- psychopy/app/Resources/dark/stop32@2x.png +0 -0
- psychopy/app/Resources/dark/stop@2x.png +0 -0
- psychopy/app/Resources/dark/switchCtrlBot.png +0 -0
- psychopy/app/Resources/dark/switchCtrlBot@2x.png +0 -0
- psychopy/app/Resources/dark/switchCtrlLeft.png +0 -0
- psychopy/app/Resources/dark/switchCtrlLeft@2x.png +0 -0
- psychopy/app/Resources/dark/switchCtrlRight.png +0 -0
- psychopy/app/Resources/dark/switchCtrlRight@2x.png +0 -0
- psychopy/app/Resources/dark/switchCtrlTop.png +0 -0
- psychopy/app/Resources/dark/switchCtrlTop@2x.png +0 -0
- psychopy/app/Resources/dark/tick.png +0 -0
- psychopy/app/Resources/dark/tick@2x.png +0 -0
- psychopy/app/Resources/dark/undo.png +0 -0
- psychopy/app/Resources/dark/undo32.png +0 -0
- psychopy/app/Resources/dark/undo32@2x.png +0 -0
- psychopy/app/Resources/dark/undo@2x.png +0 -0
- psychopy/app/Resources/dark/unstarred.png +0 -0
- psychopy/app/Resources/dark/unstarred@2x.png +0 -0
- psychopy/app/Resources/dark/user_none.png +0 -0
- psychopy/app/Resources/dark/view-refresh16.png +0 -0
- psychopy/app/Resources/dark/view-refresh16@2x.png +0 -0
- psychopy/app/Resources/dark/viewbtn16.png +0 -0
- psychopy/app/Resources/dark/viewbtn16@2x.png +0 -0
- psychopy/app/Resources/dark/windows16.png +0 -0
- psychopy/app/Resources/dark/windows16@2x.png +0 -0
- psychopy/app/Resources/light/FlowBottom_CompLeft.png +0 -0
- psychopy/app/Resources/light/FlowBottom_CompRight.png +0 -0
- psychopy/app/Resources/light/FlowTop_CompLeft.png +0 -0
- psychopy/app/Resources/light/FlowTop_CompRight.png +0 -0
- psychopy/app/Resources/light/README.txt +3 -0
- psychopy/app/Resources/light/__init__.py +0 -0
- psychopy/app/Resources/light/add.png +0 -0
- psychopy/app/Resources/light/add@2x.png +0 -0
- psychopy/app/Resources/light/addExp32.png +0 -0
- psychopy/app/Resources/light/addExp32@2x.png +0 -0
- psychopy/app/Resources/light/add_many.png +0 -0
- psychopy/app/Resources/light/add_many@2x.png +0 -0
- psychopy/app/Resources/light/alerts.png +0 -0
- psychopy/app/Resources/light/alerts@2x.png +0 -0
- psychopy/app/Resources/light/beta.png +0 -0
- psychopy/app/Resources/light/beta@2x.png +0 -0
- psychopy/app/Resources/light/browser.png +0 -0
- psychopy/app/Resources/light/browser@2x.png +0 -0
- psychopy/app/Resources/light/bug16.png +0 -0
- psychopy/app/Resources/light/bug16@2x.png +0 -0
- psychopy/app/Resources/light/case.png +0 -0
- psychopy/app/Resources/light/case@2x.png +0 -0
- psychopy/app/Resources/light/circle_mask.png +0 -0
- psychopy/app/Resources/light/circle_mask@2x.png +0 -0
- psychopy/app/Resources/light/clear.png +0 -0
- psychopy/app/Resources/light/clear@2x.png +0 -0
- psychopy/app/Resources/light/coderclass16.png +0 -0
- psychopy/app/Resources/light/coderclass16@2x.png +0 -0
- psychopy/app/Resources/light/coderfunc16.png +0 -0
- psychopy/app/Resources/light/coderfunc16@2x.png +0 -0
- psychopy/app/Resources/light/coderimport16.png +0 -0
- psychopy/app/Resources/light/coderimport16@2x.png +0 -0
- psychopy/app/Resources/light/coderjs.png +0 -0
- psychopy/app/Resources/light/coderjs@2x.png +0 -0
- psychopy/app/Resources/light/coderpython.png +0 -0
- psychopy/app/Resources/light/coderpython@2x.png +0 -0
- psychopy/app/Resources/light/codervar16.png +0 -0
- psychopy/app/Resources/light/codervar16@2x.png +0 -0
- psychopy/app/Resources/light/cogwindow32.png +0 -0
- psychopy/app/Resources/light/cogwindow32@2x.png +0 -0
- psychopy/app/Resources/light/color16.png +0 -0
- psychopy/app/Resources/light/color16@2x.png +0 -0
- psychopy/app/Resources/light/color32.png +0 -0
- psychopy/app/Resources/light/color32@2x.png +0 -0
- psychopy/app/Resources/light/compile_js.png +0 -0
- psychopy/app/Resources/light/compile_js@2x.png +0 -0
- psychopy/app/Resources/light/compile_py.png +0 -0
- psychopy/app/Resources/light/compile_py@2x.png +0 -0
- psychopy/app/Resources/light/copy16.png +0 -0
- psychopy/app/Resources/light/copy16@2x.png +0 -0
- psychopy/app/Resources/light/currentFile16.png +0 -0
- psychopy/app/Resources/light/currentFile16@2x.png +0 -0
- psychopy/app/Resources/light/delete16.png +0 -0
- psychopy/app/Resources/light/delete16@2x.png +0 -0
- psychopy/app/Resources/light/delete8.png +0 -0
- psychopy/app/Resources/light/desktop.png +0 -0
- psychopy/app/Resources/light/desktop@2x.png +0 -0
- psychopy/app/Resources/light/devices.png +0 -0
- psychopy/app/Resources/light/devices@2x.png +0 -0
- psychopy/app/Resources/light/dirup16.png +0 -0
- psychopy/app/Resources/light/dirup16@2x.png +0 -0
- psychopy/app/Resources/light/docclose16.png +0 -0
- psychopy/app/Resources/light/docclose16@2x.png +0 -0
- psychopy/app/Resources/light/download.png +0 -0
- psychopy/app/Resources/light/download@2x.png +0 -0
- psychopy/app/Resources/light/edit.png +0 -0
- psychopy/app/Resources/light/edit@2x.png +0 -0
- psychopy/app/Resources/light/editbtn16.png +0 -0
- psychopy/app/Resources/light/editbtn16@2x.png +0 -0
- psychopy/app/Resources/light/email.png +0 -0
- psychopy/app/Resources/light/email@2x.png +0 -0
- psychopy/app/Resources/light/experiment.png +0 -0
- psychopy/app/Resources/light/experiment@2x.png +0 -0
- psychopy/app/Resources/light/expsettings.png +0 -0
- psychopy/app/Resources/light/expsettings@2x.png +0 -0
- psychopy/app/Resources/light/file.png +0 -0
- psychopy/app/Resources/light/file@2x.png +0 -0
- psychopy/app/Resources/light/fileaudio.png +0 -0
- psychopy/app/Resources/light/fileaudio@2x.png +0 -0
- psychopy/app/Resources/light/filecss.png +0 -0
- psychopy/app/Resources/light/filecss@2x.png +0 -0
- psychopy/app/Resources/light/filecsv.png +0 -0
- psychopy/app/Resources/light/filecsv@2x.png +0 -0
- psychopy/app/Resources/light/filedesign.png +0 -0
- psychopy/app/Resources/light/filedesign@2x.png +0 -0
- psychopy/app/Resources/light/filefont.png +0 -0
- psychopy/app/Resources/light/filefont@2x.png +0 -0
- psychopy/app/Resources/light/filegit.png +0 -0
- psychopy/app/Resources/light/filegit@2x.png +0 -0
- psychopy/app/Resources/light/filehtml.png +0 -0
- psychopy/app/Resources/light/filehtml@2x.png +0 -0
- psychopy/app/Resources/light/fileimage.png +0 -0
- psychopy/app/Resources/light/fileimage@2x.png +0 -0
- psychopy/app/Resources/light/fileinfo.png +0 -0
- psychopy/app/Resources/light/fileinfo@2x.png +0 -0
- psychopy/app/Resources/light/filejs.png +0 -0
- psychopy/app/Resources/light/filejs@2x.png +0 -0
- psychopy/app/Resources/light/filejson.png +0 -0
- psychopy/app/Resources/light/filejson@2x.png +0 -0
- psychopy/app/Resources/light/filenew.png +0 -0
- psychopy/app/Resources/light/filenew32.png +0 -0
- psychopy/app/Resources/light/filenew32@2x.png +0 -0
- psychopy/app/Resources/light/filenew@2x.png +0 -0
- psychopy/app/Resources/light/fileopen.png +0 -0
- psychopy/app/Resources/light/fileopen32.png +0 -0
- psychopy/app/Resources/light/fileopen32@2x.png +0 -0
- psychopy/app/Resources/light/fileopen@2x.png +0 -0
- psychopy/app/Resources/light/filepkg.png +0 -0
- psychopy/app/Resources/light/filepkg@2x.png +0 -0
- psychopy/app/Resources/light/filepsyexp.png +0 -0
- psychopy/app/Resources/light/filepsyexp@2x.png +0 -0
- psychopy/app/Resources/light/filepy.png +0 -0
- psychopy/app/Resources/light/filepy@2x.png +0 -0
- psychopy/app/Resources/light/filesave.png +0 -0
- psychopy/app/Resources/light/filesave32.png +0 -0
- psychopy/app/Resources/light/filesave32@2x.png +0 -0
- psychopy/app/Resources/light/filesave@2x.png +0 -0
- psychopy/app/Resources/light/filesaveas.png +0 -0
- psychopy/app/Resources/light/filesaveas32.png +0 -0
- psychopy/app/Resources/light/filesaveas32@2x.png +0 -0
- psychopy/app/Resources/light/filesaveas@2x.png +0 -0
- psychopy/app/Resources/light/filetxt.png +0 -0
- psychopy/app/Resources/light/filetxt@2x.png +0 -0
- psychopy/app/Resources/light/fileunknown.png +0 -0
- psychopy/app/Resources/light/fileunknown@2x.png +0 -0
- psychopy/app/Resources/light/filevideo.png +0 -0
- psychopy/app/Resources/light/filevideo@2x.png +0 -0
- psychopy/app/Resources/light/filter.png +0 -0
- psychopy/app/Resources/light/filter@2x.png +0 -0
- psychopy/app/Resources/light/find.png +0 -0
- psychopy/app/Resources/light/find@2x.png +0 -0
- psychopy/app/Resources/light/folder-open16.png +0 -0
- psychopy/app/Resources/light/folder-open16@2x.png +0 -0
- psychopy/app/Resources/light/folder16.png +0 -0
- psychopy/app/Resources/light/folder16@2x.png +0 -0
- psychopy/app/Resources/light/foldernew16.png +0 -0
- psychopy/app/Resources/light/foldernew16@2x.png +0 -0
- psychopy/app/Resources/light/fork.png +0 -0
- psychopy/app/Resources/light/fork@2x.png +0 -0
- psychopy/app/Resources/light/github.png +0 -0
- psychopy/app/Resources/light/github@2x.png +0 -0
- psychopy/app/Resources/light/globe.png +0 -0
- psychopy/app/Resources/light/globe@2x.png +0 -0
- psychopy/app/Resources/light/globe_bug.png +0 -0
- psychopy/app/Resources/light/globe_bug@2x.png +0 -0
- psychopy/app/Resources/light/globe_greensync.png +0 -0
- psychopy/app/Resources/light/globe_greensync@2x.png +0 -0
- psychopy/app/Resources/light/globe_info.png +0 -0
- psychopy/app/Resources/light/globe_info@2x.png +0 -0
- psychopy/app/Resources/light/globe_magnifier.png +0 -0
- psychopy/app/Resources/light/globe_magnifier@2x.png +0 -0
- psychopy/app/Resources/light/globe_run.png +0 -0
- psychopy/app/Resources/light/globe_run@2x.png +0 -0
- psychopy/app/Resources/light/globe_user.png +0 -0
- psychopy/app/Resources/light/globe_user@2x.png +0 -0
- psychopy/app/Resources/light/goto16.png +0 -0
- psychopy/app/Resources/light/goto16@2x.png +0 -0
- psychopy/app/Resources/light/greendot.png +0 -0
- psychopy/app/Resources/light/greendot@2x.png +0 -0
- psychopy/app/Resources/light/greenglobe.png +0 -0
- psychopy/app/Resources/light/greenglobe@2x.png +0 -0
- psychopy/app/Resources/light/greenglobe_bug.png +0 -0
- psychopy/app/Resources/light/greenglobe_bug@2x.png +0 -0
- psychopy/app/Resources/light/greenglobe_greensync.png +0 -0
- psychopy/app/Resources/light/greenglobe_greensync@2x.png +0 -0
- psychopy/app/Resources/light/greenglobe_info.png +0 -0
- psychopy/app/Resources/light/greenglobe_info@2x.png +0 -0
- psychopy/app/Resources/light/greenglobe_magnifier.png +0 -0
- psychopy/app/Resources/light/greenglobe_magnifier@2x.png +0 -0
- psychopy/app/Resources/light/greenglobe_run.png +0 -0
- psychopy/app/Resources/light/greenglobe_run@2x.png +0 -0
- psychopy/app/Resources/light/greenglobe_user.png +0 -0
- psychopy/app/Resources/light/greenglobe_user@2x.png +0 -0
- psychopy/app/Resources/light/greydot.png +0 -0
- psychopy/app/Resources/light/greydot@2x.png +0 -0
- psychopy/app/Resources/light/greytick.png +0 -0
- psychopy/app/Resources/light/greytick@2x.png +0 -0
- psychopy/app/Resources/light/invalid_img.png +0 -0
- psychopy/app/Resources/light/jsPilot.png +0 -0
- psychopy/app/Resources/light/jsPilot@2x.png +0 -0
- psychopy/app/Resources/light/jsRun.png +0 -0
- psychopy/app/Resources/light/jsRun@2x.png +0 -0
- psychopy/app/Resources/light/libroot16.png +0 -0
- psychopy/app/Resources/light/libroot16@2x.png +0 -0
- psychopy/app/Resources/light/loop.png +0 -0
- psychopy/app/Resources/light/loop@2x.png +0 -0
- psychopy/app/Resources/light/monitor16.png +0 -0
- psychopy/app/Resources/light/monitor16@2x.png +0 -0
- psychopy/app/Resources/light/monitors.png +0 -0
- psychopy/app/Resources/light/monitors32.png +0 -0
- psychopy/app/Resources/light/monitors32@2x.png +0 -0
- psychopy/app/Resources/light/monitors@2x.png +0 -0
- psychopy/app/Resources/light/orangedot.png +0 -0
- psychopy/app/Resources/light/orangedot@2x.png +0 -0
- psychopy/app/Resources/light/pavlovia.png +0 -0
- psychopy/app/Resources/light/pavlovia16.png +0 -0
- psychopy/app/Resources/light/pavlovia16@2x.png +0 -0
- psychopy/app/Resources/light/pavlovia@2x.png +0 -0
- psychopy/app/Resources/light/pavsync.png +0 -0
- psychopy/app/Resources/light/pavsync@2x.png +0 -0
- psychopy/app/Resources/light/person_off.png +0 -0
- psychopy/app/Resources/light/person_off@2x.png +0 -0
- psychopy/app/Resources/light/person_on.png +0 -0
- psychopy/app/Resources/light/person_on@2x.png +0 -0
- psychopy/app/Resources/light/photometer.png +0 -0
- psychopy/app/Resources/light/photometer@2x.png +0 -0
- psychopy/app/Resources/light/plugin16.png +0 -0
- psychopy/app/Resources/light/plugin16@2x.png +0 -0
- psychopy/app/Resources/light/plugins32.png +0 -0
- psychopy/app/Resources/light/plugins32@2x.png +0 -0
- psychopy/app/Resources/light/plus.png +0 -0
- psychopy/app/Resources/light/plus@2x.png +0 -0
- psychopy/app/Resources/light/preferences-app.png +0 -0
- psychopy/app/Resources/light/preferences-app48.png +0 -0
- psychopy/app/Resources/light/preferences-app48@2x.png +0 -0
- psychopy/app/Resources/light/preferences-app@2x.png +0 -0
- psychopy/app/Resources/light/preferences-conn.png +0 -0
- psychopy/app/Resources/light/preferences-conn48.png +0 -0
- psychopy/app/Resources/light/preferences-conn48@2x.png +0 -0
- psychopy/app/Resources/light/preferences-conn@2x.png +0 -0
- psychopy/app/Resources/light/preferences-general.png +0 -0
- psychopy/app/Resources/light/preferences-general48.png +0 -0
- psychopy/app/Resources/light/preferences-general48@2x.png +0 -0
- psychopy/app/Resources/light/preferences-general@2x.png +0 -0
- psychopy/app/Resources/light/preferences-hardware.png +0 -0
- psychopy/app/Resources/light/preferences-hardware48.png +0 -0
- psychopy/app/Resources/light/preferences-hardware48@2x.png +0 -0
- psychopy/app/Resources/light/preferences-hardware@2x.png +0 -0
- psychopy/app/Resources/light/preferences-keyboard.png +0 -0
- psychopy/app/Resources/light/preferences-keyboard48.png +0 -0
- psychopy/app/Resources/light/preferences-keyboard48@2x.png +0 -0
- psychopy/app/Resources/light/preferences-keyboard@2x.png +0 -0
- psychopy/app/Resources/light/preferences-pilot.png +0 -0
- psychopy/app/Resources/light/preferences-pilot@2x.png +0 -0
- psychopy/app/Resources/light/preferences32.png +0 -0
- psychopy/app/Resources/light/preferences32@2x.png +0 -0
- psychopy/app/Resources/light/pyPilot.png +0 -0
- psychopy/app/Resources/light/pyPilot@2x.png +0 -0
- psychopy/app/Resources/light/pyRun.png +0 -0
- psychopy/app/Resources/light/pyRun@2x.png +0 -0
- psychopy/app/Resources/light/reddot.png +0 -0
- psychopy/app/Resources/light/reddot@2x.png +0 -0
- psychopy/app/Resources/light/redglobe.png +0 -0
- psychopy/app/Resources/light/redglobe@2x.png +0 -0
- psychopy/app/Resources/light/redglobe_bug.png +0 -0
- psychopy/app/Resources/light/redglobe_bug@2x.png +0 -0
- psychopy/app/Resources/light/redglobe_greensync.png +0 -0
- psychopy/app/Resources/light/redglobe_greensync@2x.png +0 -0
- psychopy/app/Resources/light/redglobe_info.png +0 -0
- psychopy/app/Resources/light/redglobe_info@2x.png +0 -0
- psychopy/app/Resources/light/redglobe_magnifier.png +0 -0
- psychopy/app/Resources/light/redglobe_magnifier@2x.png +0 -0
- psychopy/app/Resources/light/redglobe_run.png +0 -0
- psychopy/app/Resources/light/redglobe_run@2x.png +0 -0
- psychopy/app/Resources/light/redglobe_user.png +0 -0
- psychopy/app/Resources/light/redglobe_user@2x.png +0 -0
- psychopy/app/Resources/light/redo.png +0 -0
- psychopy/app/Resources/light/redo32.png +0 -0
- psychopy/app/Resources/light/redo32@2x.png +0 -0
- psychopy/app/Resources/light/redo@2x.png +0 -0
- psychopy/app/Resources/light/regex.png +0 -0
- psychopy/app/Resources/light/regex@2x.png +0 -0
- psychopy/app/Resources/light/removeExp32.png +0 -0
- psychopy/app/Resources/light/removeExp32@2x.png +0 -0
- psychopy/app/Resources/light/rename16.png +0 -0
- psychopy/app/Resources/light/rename16@2x.png +0 -0
- psychopy/app/Resources/light/restart.png +0 -0
- psychopy/app/Resources/light/restart@2x.png +0 -0
- psychopy/app/Resources/light/runner.png +0 -0
- psychopy/app/Resources/light/runner@2x.png +0 -0
- psychopy/app/Resources/light/runnerPilot.png +0 -0
- psychopy/app/Resources/light/runnerPilot@2x.png +0 -0
- psychopy/app/Resources/light/savebtn16.png +0 -0
- psychopy/app/Resources/light/savebtn16@2x.png +0 -0
- psychopy/app/Resources/light/search.png +0 -0
- psychopy/app/Resources/light/search@2x.png +0 -0
- psychopy/app/Resources/light/showBuilder.png +0 -0
- psychopy/app/Resources/light/showBuilder@2x.png +0 -0
- psychopy/app/Resources/light/showCoder.png +0 -0
- psychopy/app/Resources/light/showCoder@2x.png +0 -0
- psychopy/app/Resources/light/showRunner.png +0 -0
- psychopy/app/Resources/light/showRunner@2x.png +0 -0
- psychopy/app/Resources/light/starred.png +0 -0
- psychopy/app/Resources/light/starred@2x.png +0 -0
- psychopy/app/Resources/light/start.png +0 -0
- psychopy/app/Resources/light/start@2x.png +0 -0
- psychopy/app/Resources/light/stdout.png +0 -0
- psychopy/app/Resources/light/stdout@2x.png +0 -0
- psychopy/app/Resources/light/stop.png +0 -0
- psychopy/app/Resources/light/stop32.png +0 -0
- psychopy/app/Resources/light/stop32@2x.png +0 -0
- psychopy/app/Resources/light/stop@2x.png +0 -0
- psychopy/app/Resources/light/switchCtrlBot.png +0 -0
- psychopy/app/Resources/light/switchCtrlBot@2x.png +0 -0
- psychopy/app/Resources/light/switchCtrlLeft.png +0 -0
- psychopy/app/Resources/light/switchCtrlLeft@2x.png +0 -0
- psychopy/app/Resources/light/switchCtrlRight.png +0 -0
- psychopy/app/Resources/light/switchCtrlRight@2x.png +0 -0
- psychopy/app/Resources/light/switchCtrlTop.png +0 -0
- psychopy/app/Resources/light/switchCtrlTop@2x.png +0 -0
- psychopy/app/Resources/light/tick.png +0 -0
- psychopy/app/Resources/light/tick@2x.png +0 -0
- psychopy/app/Resources/light/undo.png +0 -0
- psychopy/app/Resources/light/undo32.png +0 -0
- psychopy/app/Resources/light/undo32@2x.png +0 -0
- psychopy/app/Resources/light/undo@2x.png +0 -0
- psychopy/app/Resources/light/unstarred.png +0 -0
- psychopy/app/Resources/light/unstarred@2x.png +0 -0
- psychopy/app/Resources/light/user_none.png +0 -0
- psychopy/app/Resources/light/view-refresh16.png +0 -0
- psychopy/app/Resources/light/view-refresh16@2x.png +0 -0
- psychopy/app/Resources/light/viewbtn16.png +0 -0
- psychopy/app/Resources/light/viewbtn16@2x.png +0 -0
- psychopy/app/Resources/light/windows16.png +0 -0
- psychopy/app/Resources/light/windows16@2x.png +0 -0
- psychopy/app/Resources/moveComponentIcons.py +50 -0
- psychopy/app/Resources/psychopy.desktop +13 -0
- psychopy/app/Resources/psychopy.icns +0 -0
- psychopy/app/Resources/psychopy.ico +0 -0
- psychopy/app/Resources/psychopy.png +0 -0
- psychopy/app/Resources/psychopy.xml +9 -0
- psychopy/app/Resources/psychopy@2x.png +0 -0
- psychopy/app/Resources/routine_templates/Basic.psyexp +344 -0
- psychopy/app/Resources/routine_templates/Misc.psyexp +228 -0
- psychopy/app/Resources/routine_templates/Online.psyexp +200 -0
- psychopy/app/Resources/routine_templates/Trials.psyexp +735 -0
- psychopy/app/Resources/routine_templates/readme.md +14 -0
- psychopy/app/Resources/runner.ico +0 -0
- psychopy/app/Resources/splash.png +0 -0
- psychopy/app/Resources/splash@2x.png +0 -0
- psychopy/app/Resources/tips.txt +45 -0
- psychopy/app/Resources/tips_ar_001.txt +45 -0
- psychopy/app/Resources/tips_fr_FR.txt +45 -0
- psychopy/app/Resources/tips_ja_JP.txt +42 -0
- psychopy/app/Resources/tips_zh_CN.txt +45 -0
- psychopy/app/Resources/window.ico +0 -0
- psychopy/app/__init__.py +339 -0
- psychopy/app/__main__.py +3 -0
- psychopy/app/_psychopyApp.py +1298 -0
- psychopy/app/appData.spec +58 -0
- psychopy/app/builder/__init__.py +5 -0
- psychopy/app/builder/builder.py +4738 -0
- psychopy/app/builder/dialogs/__init__.py +1910 -0
- psychopy/app/builder/dialogs/dlgsCode.py +631 -0
- psychopy/app/builder/dialogs/dlgsConditions.py +669 -0
- psychopy/app/builder/dialogs/findDlg.py +275 -0
- psychopy/app/builder/dialogs/paramCtrls.py +1802 -0
- psychopy/app/builder/validators.py +589 -0
- psychopy/app/coder/__init__.py +8 -0
- psychopy/app/coder/codeEditorBase.py +460 -0
- psychopy/app/coder/coder.py +3100 -0
- psychopy/app/coder/fileBrowser.py +714 -0
- psychopy/app/coder/folding.py +128 -0
- psychopy/app/coder/psychoParser.py +139 -0
- psychopy/app/coder/repl.py +496 -0
- psychopy/app/coder/sourceTree.py +302 -0
- psychopy/app/colorpicker/__init__.py +594 -0
- psychopy/app/colorpicker/ui.py +336 -0
- psychopy/app/connections/__init__.py +10 -0
- psychopy/app/connections/news.py +104 -0
- psychopy/app/connections/sendusage.py +61 -0
- psychopy/app/connections/updates.py +642 -0
- psychopy/app/console.py +164 -0
- psychopy/app/deviceManager/__init__.py +1 -0
- psychopy/app/deviceManager/addDialog.py +218 -0
- psychopy/app/deviceManager/dialog.py +185 -0
- psychopy/app/deviceManager/panel.py +191 -0
- psychopy/app/deviceManager/utils.py +60 -0
- psychopy/app/dialogs.py +664 -0
- psychopy/app/errorDlg.py +238 -0
- psychopy/app/frametracker.py +8 -0
- psychopy/app/idle.py +181 -0
- psychopy/app/jobs.py +676 -0
- psychopy/app/linuxconfig/__init__.py +153 -0
- psychopy/app/linuxconfig/ui.py +88 -0
- psychopy/app/locale/ar_001/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/ar_001/LC_MESSAGE/messages.po +12695 -0
- psychopy/app/locale/cs_CZ/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/cs_CZ/LC_MESSAGE/messages.po +10199 -0
- psychopy/app/locale/da_DK/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/da_DK/LC_MESSAGE/messages.po +10199 -0
- psychopy/app/locale/de_DE/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/de_DE/LC_MESSAGE/messages.po +11221 -0
- psychopy/app/locale/el_GR/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/el_GR/LC_MESSAGE/messages.po +10200 -0
- psychopy/app/locale/en_NZ/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/en_NZ/LC_MESSAGE/messages.po +10200 -0
- psychopy/app/locale/en_US/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/en_US/LC_MESSAGE/messages.po +10195 -0
- psychopy/app/locale/es_CO/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/es_CO/LC_MESSAGE/messages.po +11917 -0
- psychopy/app/locale/es_ES/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/es_ES/LC_MESSAGE/messages.po +11924 -0
- psychopy/app/locale/es_US/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/es_US/LC_MESSAGE/messages.po +11917 -0
- psychopy/app/locale/et_EE/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/et_EE/LC_MESSAGE/messages.po +11084 -0
- psychopy/app/locale/fa_IR/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/fa_IR/LC_MESSAGE/messages.po +11590 -0
- psychopy/app/locale/fi_FI/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/fi_FI/LC_MESSAGE/messages.po +10199 -0
- psychopy/app/locale/fr_FR/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/fr_FR/LC_MESSAGE/messages.po +11091 -0
- psychopy/app/locale/he_IL/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/he_IL/LC_MESSAGE/messages.po +11072 -0
- psychopy/app/locale/hi_IN/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/hi_IN/LC_MESSAGE/messages.po +11071 -0
- psychopy/app/locale/hu_HU/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/hu_HU/LC_MESSAGE/messages.po +10200 -0
- psychopy/app/locale/it_IT/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/it_IT/LC_MESSAGE/messages.po +11072 -0
- psychopy/app/locale/ja_JP/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/ja_JP/LC_MESSAGE/messages.po +11268 -0
- psychopy/app/locale/ko_KR/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/ko_KR/LC_MESSAGE/messages.po +10199 -0
- psychopy/app/locale/ms_MY/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/ms_MY/LC_MESSAGE/messages.po +11463 -0
- psychopy/app/locale/nl_NL/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/nl_NL/LC_MESSAGE/messages.po +10200 -0
- psychopy/app/locale/nn_NO/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/nn_NO/LC_MESSAGE/messages.po +10200 -0
- psychopy/app/locale/pl_PL/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/pl_PL/LC_MESSAGE/messages.po +10200 -0
- psychopy/app/locale/pt_PT/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/pt_PT/LC_MESSAGE/messages.po +11288 -0
- psychopy/app/locale/ro_RO/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/ro_RO/LC_MESSAGE/messages.po +10200 -0
- psychopy/app/locale/ru_RU/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/ru_RU/LC_MESSAGE/messages.po +10199 -0
- psychopy/app/locale/sv_SE/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/sv_SE/LC_MESSAGE/messages.po +11441 -0
- psychopy/app/locale/tr_TR/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/tr_TR/LC_MESSAGE/messages.po +11069 -0
- psychopy/app/locale/zh_CN/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/zh_CN/LC_MESSAGE/messages.po +12085 -0
- psychopy/app/locale/zh_TW/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/zh_TW/LC_MESSAGE/messages.po +11929 -0
- psychopy/app/localizedStrings.py +386 -0
- psychopy/app/pavlovia_ui/__init__.py +22 -0
- psychopy/app/pavlovia_ui/_base.py +268 -0
- psychopy/app/pavlovia_ui/functions.py +176 -0
- psychopy/app/pavlovia_ui/menu.py +140 -0
- psychopy/app/pavlovia_ui/project.py +943 -0
- psychopy/app/pavlovia_ui/search.py +444 -0
- psychopy/app/pavlovia_ui/sync.py +137 -0
- psychopy/app/pavlovia_ui/user.py +264 -0
- psychopy/app/plugin_manager/__init__.py +5 -0
- psychopy/app/plugin_manager/dialog.py +402 -0
- psychopy/app/plugin_manager/output.py +132 -0
- psychopy/app/plugin_manager/packageIndex.py +303 -0
- psychopy/app/plugin_manager/packages.py +643 -0
- psychopy/app/plugin_manager/plugins.py +1363 -0
- psychopy/app/plugin_manager/utils.py +115 -0
- psychopy/app/preferencesDlg.py +771 -0
- psychopy/app/psychopyApp.py +207 -0
- psychopy/app/ribbon.py +1019 -0
- psychopy/app/runner/__init__.py +1 -0
- psychopy/app/runner/runner.py +1299 -0
- psychopy/app/runner/scriptProcess.py +363 -0
- psychopy/app/stdout/__init__.py +1 -0
- psychopy/app/stdout/stdOutRich.py +410 -0
- psychopy/app/sysInfoDlg.py +242 -0
- psychopy/app/themes/__init__.py +78 -0
- psychopy/app/themes/colors.py +201 -0
- psychopy/app/themes/css/contrast_black.css +112 -0
- psychopy/app/themes/css/contrast_white.css +115 -0
- psychopy/app/themes/css/dark.css +112 -0
- psychopy/app/themes/css/light.css +115 -0
- psychopy/app/themes/fonts.py +629 -0
- psychopy/app/themes/handlers.py +321 -0
- psychopy/app/themes/icons.py +267 -0
- psychopy/app/themes/spec/Classic.json +154 -0
- psychopy/app/themes/spec/ClassicDark.json +154 -0
- psychopy/app/themes/spec/GitHub.json +154 -0
- psychopy/app/themes/spec/HiVisDark.json +153 -0
- psychopy/app/themes/spec/HiVisLight.json +154 -0
- psychopy/app/themes/spec/MinimalDark.json +154 -0
- psychopy/app/themes/spec/MinimalLight.json +153 -0
- psychopy/app/themes/spec/PsychopyDark.json +231 -0
- psychopy/app/themes/spec/PsychopyLight.json +236 -0
- psychopy/app/themes/ui.py +74 -0
- psychopy/app/ui/__init__.py +184 -0
- psychopy/app/urls.py +31 -0
- psychopy/app/utils.py +1741 -0
- psychopy/app/viewer/__init__.py +0 -0
- psychopy/assets/Psychopy Window Favicon@16w.png +0 -0
- psychopy/assets/Psychopy Window Favicon@32w.png +0 -0
- psychopy/assets/USB-C.png +0 -0
- psychopy/assets/USB.png +0 -0
- psychopy/assets/__init__.py +0 -0
- psychopy/assets/click.png +0 -0
- psychopy/assets/clicknext.png +0 -0
- psychopy/assets/creditCard.png +0 -0
- psychopy/assets/default.mp3 +0 -0
- psychopy/assets/default.mp4 +0 -0
- psychopy/assets/default.png +0 -0
- psychopy/assets/fonts/Arvo-Bold.ttf +0 -0
- psychopy/assets/fonts/Arvo-BoldItalic.ttf +0 -0
- psychopy/assets/fonts/Arvo-Italic.ttf +0 -0
- psychopy/assets/fonts/Arvo-Regular.ttf +0 -0
- psychopy/assets/fonts/DejaVuSerif.ttf +0 -0
- psychopy/assets/fonts/IndieFlower-Regular.ttf +0 -0
- psychopy/assets/fonts/JetBrainsMono-Italic-VariableFont_wght.ttf +0 -0
- psychopy/assets/fonts/JetBrainsMono-VariableFont_wght.ttf +0 -0
- psychopy/assets/fonts/NotoSans-Bold.ttf +0 -0
- psychopy/assets/fonts/NotoSans-BoldItalic.ttf +0 -0
- psychopy/assets/fonts/NotoSans-Italic.ttf +0 -0
- psychopy/assets/fonts/NotoSans-Regular.ttf +0 -0
- psychopy/assets/next.png +0 -0
- psychopy/assets/psychopy.ico +0 -0
- psychopy/assets/psychopy.png +0 -0
- psychopy/assets/templates/__init__.py +0 -0
- psychopy/assets/templates/instruct1.png +0 -0
- psychopy/assets/templates/instruct2.png +0 -0
- psychopy/assets/touch.png +0 -0
- psychopy/assets/touchnext.png +0 -0
- psychopy/assets/voicekeyThresholdStim.wav +0 -0
- psychopy/assets/window.ico +0 -0
- psychopy/changes/2023.1.0.md +9 -0
- psychopy/changes/2024.1.0.md +16 -0
- psychopy/changes/__init__.py +0 -0
- psychopy/clock.py +619 -0
- psychopy/colors.py +1058 -0
- psychopy/compatibility.py +147 -0
- psychopy/constants.py +87 -0
- psychopy/contrib/__init__.py +0 -0
- psychopy/contrib/configobj/LICENSE +39 -0
- psychopy/contrib/configobj/__init__.py +2455 -0
- psychopy/contrib/configobj/_version.py +2 -0
- psychopy/contrib/configobj/validate.py +1458 -0
- psychopy/contrib/lazy_import.py +402 -0
- psychopy/contrib/mseq.py +273 -0
- psychopy/contrib/mseqSearch.py +183 -0
- psychopy/contrib/psi.py +100 -0
- psychopy/contrib/quest.py +484 -0
- psychopy/contrib/tesselate.py +188 -0
- psychopy/core.py +167 -0
- psychopy/data/__init__.py +45 -0
- psychopy/data/base.py +566 -0
- psychopy/data/counterbalance.py +210 -0
- psychopy/data/experiment.py +1049 -0
- psychopy/data/fit.py +248 -0
- psychopy/data/routine.py +94 -0
- psychopy/data/shelf.py +237 -0
- psychopy/data/staircase.py +2270 -0
- psychopy/data/trial.py +2505 -0
- psychopy/data/utils.py +858 -0
- psychopy/demos/__init__.py +0 -0
- psychopy/demos/builder/Design Templates/branchedExperiment/README.md +5 -0
- psychopy/demos/builder/Design Templates/branchedExperiment/branchedExperiment.psyexp +354 -0
- psychopy/demos/builder/Design Templates/branchedExperiment/trialTypes.xlsx +0 -0
- psychopy/demos/builder/Design Templates/psychophysicsStaircase/README.md +20 -0
- psychopy/demos/builder/Design Templates/psychophysicsStaircase/psychophysicsStaircase.psyexp +286 -0
- psychopy/demos/builder/Design Templates/psychophysicsStairsInterleaved/README.md +14 -0
- psychopy/demos/builder/Design Templates/psychophysicsStairsInterleaved/psychophysicsStaircaseInterleaved.psyexp +340 -0
- psychopy/demos/builder/Design Templates/psychophysicsStairsInterleaved/stairDefinitions.xlsx +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/README.md +18 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/chooseBlock.xlsx +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/facesBlock.xlsx +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/housesBlock.xlsx +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/randomisedBlocks.psyexp +219 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/stims/face01.jpg +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/stims/face02.jpg +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/stims/face03.jpg +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/stims/house01.jpg +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/stims/house02.jpg +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/stims/house03.jpg +0 -0
- psychopy/demos/builder/Experiments/BART/README.md +30 -0
- psychopy/demos/builder/Experiments/BART/assets/background.jpg +0 -0
- psychopy/demos/builder/Experiments/BART/assets/background.png +0 -0
- psychopy/demos/builder/Experiments/BART/assets/bang.mp3 +0 -0
- psychopy/demos/builder/Experiments/BART/assets/bang.wav +0 -0
- psychopy/demos/builder/Experiments/BART/assets/blueBalloon.png +0 -0
- psychopy/demos/builder/Experiments/BART/assets/greenBalloon.png +0 -0
- psychopy/demos/builder/Experiments/BART/assets/redBalloon.png +0 -0
- psychopy/demos/builder/Experiments/BART/bart.psyexp +844 -0
- psychopy/demos/builder/Experiments/BART/spreadsheets/conditions.xlsx +0 -0
- psychopy/demos/builder/Experiments/BigFiveInventory/BFI.psyexp +255 -0
- psychopy/demos/builder/Experiments/BigFiveInventory/README.md +23 -0
- psychopy/demos/builder/Experiments/BigFiveInventory/TIPI.xlsx +0 -0
- psychopy/demos/builder/Experiments/BigFiveInventory/bigFiveItems.xlsx +0 -0
- psychopy/demos/builder/Experiments/BigFiveInventory/demographics.xlsx +0 -0
- psychopy/demos/builder/Experiments/BigFiveInventory/mini_IPIP.xlsx +0 -0
- psychopy/demos/builder/Experiments/GoNoGo/conditions.xlsx +0 -0
- psychopy/demos/builder/Experiments/GoNoGo/gng.psyexp +462 -0
- psychopy/demos/builder/Experiments/GoNoGo/go.png +0 -0
- psychopy/demos/builder/Experiments/GoNoGo/nogo.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/README.md +5 -0
- psychopy/demos/builder/Experiments/dragAndDrop/drag_and_drop.psyexp +494 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/blank_grid.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/make_shapes.psyexp +221 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/readme.md +4 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/solution_1.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/solution_10.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/solution_2.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/solution_3.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/solution_4.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/solution_5.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/solution_6.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/solution_7.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/solution_8.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/solution_9.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/solutions.xlsx +0 -0
- psychopy/demos/builder/Experiments/goNoGo/readme.md +14 -0
- psychopy/demos/builder/Experiments/mentalRotation/F.png +0 -0
- psychopy/demos/builder/Experiments/mentalRotation/FR.png +0 -0
- psychopy/demos/builder/Experiments/mentalRotation/MentalRot.csv +33 -0
- psychopy/demos/builder/Experiments/mentalRotation/MentalRotation.psyexp +646 -0
- psychopy/demos/builder/Experiments/mentalRotation/README.md +23 -0
- psychopy/demos/builder/Experiments/navon/NavonTask.psyexp +509 -0
- psychopy/demos/builder/Experiments/navon/README.md +26 -0
- psychopy/demos/builder/Experiments/navon/bigHsmallH.png +0 -0
- psychopy/demos/builder/Experiments/navon/bigHsmallS.png +0 -0
- psychopy/demos/builder/Experiments/navon/bigSsmallH.png +0 -0
- psychopy/demos/builder/Experiments/navon/bigSsmallS.png +0 -0
- psychopy/demos/builder/Experiments/navon/mask.png +0 -0
- psychopy/demos/builder/Experiments/navon/stimuli.pptx +0 -0
- psychopy/demos/builder/Experiments/navon/trialTypes.xlsx +0 -0
- psychopy/demos/builder/Experiments/sternberg/README.md +14 -0
- psychopy/demos/builder/Experiments/sternberg/mainTrials.xlsx +0 -0
- psychopy/demos/builder/Experiments/sternberg/pracTrials.xlsx +0 -0
- psychopy/demos/builder/Experiments/sternberg/sternberg.psyexp +649 -0
- psychopy/demos/builder/Experiments/stroop/README.md +15 -0
- psychopy/demos/builder/Experiments/stroop/stroop.psyexp +321 -0
- psychopy/demos/builder/Experiments/stroop/trialTypes.csv +7 -0
- psychopy/demos/builder/Experiments/stroopExtended/README.md +14 -0
- psychopy/demos/builder/Experiments/stroopExtended/stroop.psyexp +418 -0
- psychopy/demos/builder/Experiments/stroopExtended/stroopReverse.psyexp +418 -0
- psychopy/demos/builder/Experiments/stroopExtended/trialTypes.xlsx +0 -0
- psychopy/demos/builder/Experiments/stroopExtended/trialTypesReverse.xlsx +0 -0
- psychopy/demos/builder/Experiments/stroopVoice/README.md +27 -0
- psychopy/demos/builder/Experiments/stroopVoice/conditions.xlsx +0 -0
- psychopy/demos/builder/Experiments/stroopVoice/stroopVoice.psyexp +382 -0
- psychopy/demos/builder/Feature Demos/buttonBox/buttonBoxDemo.psyexp +371 -0
- psychopy/demos/builder/Feature Demos/buttonBox/readme.md +5 -0
- psychopy/demos/builder/Feature Demos/counterbalance/counterbalance.psyexp +308 -0
- psychopy/demos/builder/Feature Demos/gratings/gratings.psyexp +391 -0
- psychopy/demos/builder/Feature Demos/gratings/readme.md +8 -0
- psychopy/demos/builder/Feature Demos/movies/movie.psyexp +220 -0
- psychopy/demos/builder/Feature Demos/movies/readme.md +3 -0
- psychopy/demos/builder/Feature Demos/noise/face.jpg +0 -0
- psychopy/demos/builder/Feature Demos/noise/noise.psyexp +477 -0
- psychopy/demos/builder/Feature Demos/noise/readme.md +3 -0
- psychopy/demos/builder/Feature Demos/panorama/panImg.jpg +0 -0
- psychopy/demos/builder/Feature Demos/panorama/panorama.psyexp +177 -0
- psychopy/demos/builder/Feature Demos/pilotMode/pilotMode.psyexp +434 -0
- psychopy/demos/builder/Feature Demos/pilotMode/readme.md +7 -0
- psychopy/demos/builder/Feature Demos/progress/progressBar.psyexp +451 -0
- psychopy/demos/builder/Feature Demos/progress/readme.md +1 -0
- psychopy/demos/builder/Feature Demos/sliders/README.md +8 -0
- psychopy/demos/builder/Feature Demos/sliders/fruitConditions.xlsx +0 -0
- psychopy/demos/builder/Feature Demos/sliders/sliders.psyexp +984 -0
- psychopy/demos/builder/Feature Demos/visualValidator/readme.md +7 -0
- psychopy/demos/builder/Feature Demos/visualValidator/visualValidator.psyexp +199 -0
- psychopy/demos/builder/Hardware/EEG_parallel_component/EEG_triggers_parallel_comp.psyexp +639 -0
- psychopy/demos/builder/Hardware/EEG_serial_code/EEG_triggers_serial_code.psyexp +415 -0
- psychopy/demos/builder/Hardware/EEG_serial_component/EEG_triggers_serial_comp.psyexp +659 -0
- psychopy/demos/builder/Hardware/EGI_netstation/README.md +17 -0
- psychopy/demos/builder/Hardware/EGI_netstation/stroop.psyexp +339 -0
- psychopy/demos/builder/Hardware/EGI_netstation/trialTypesEEG.csv +7 -0
- psychopy/demos/builder/Hardware/Eyetracking_visual_search/readme.md +19 -0
- psychopy/demos/builder/Hardware/Eyetracking_visual_search/trials_params.xlsx +0 -0
- psychopy/demos/builder/Hardware/Eyetracking_visual_search/visualSearch.psyexp +830 -0
- psychopy/demos/builder/Hardware/camera/camera.psyexp +330 -0
- psychopy/demos/builder/Hardware/camera/readme.md +6 -0
- psychopy/demos/builder/Hardware/eyetracking/eyetracking.psyexp +459 -0
- psychopy/demos/builder/Hardware/eyetracking/readme.md +7 -0
- psychopy/demos/builder/Hardware/eyetracking_custom_cal/Bullseye_grey.mov +0 -0
- psychopy/demos/builder/Hardware/eyetracking_custom_cal/eyetracking_custom_cal.psyexp +468 -0
- psychopy/demos/builder/Hardware/eyetracking_custom_cal/readme.md +7 -0
- psychopy/demos/builder/Hardware/fMRI/fMRI_demo.psyexp +211 -0
- psychopy/demos/builder/Hardware/fMRI/readme.md +7 -0
- psychopy/demos/builder/Hardware/lab_streaming_layer/lsl_triggers_demo.psyexp +360 -0
- psychopy/demos/builder/Hardware/lab_streaming_layer/lsl_triggers_demo_legacy.psyexp +360 -0
- psychopy/demos/builder/Hardware/lab_streaming_layer/lsl_triggers_demo_legacy_legacy.psyexp +312 -0
- psychopy/demos/builder/Hardware/lab_streaming_layer_legacy/lsl_triggers_demo_legacy.psyexp +360 -0
- psychopy/demos/builder/Hardware/lab_streaming_layer_legacy/lsl_triggers_demo_legacy_legacy.psyexp +360 -0
- psychopy/demos/builder/Hardware/lab_streaming_layer_legacy/lsl_triggers_demo_legacy_legacy_legacy.psyexp +312 -0
- psychopy/demos/builder/Hardware/microphone/microphone.psyexp +484 -0
- psychopy/demos/builder/Hardware/microphone/phrases.xlsx +0 -0
- psychopy/demos/builder/Hardware/microphone/readme.md +9 -0
- psychopy/demos/builder/Hardware/pump/README.md +19 -0
- psychopy/demos/builder/Hardware/pump/pump.psyexp +646 -0
- psychopy/demos/builder/Helper Tools/achorVSalignment/FlowCircular-Regular.ttf +0 -0
- psychopy/demos/builder/Helper Tools/achorVSalignment/anchorAlignment.psyexp +350 -0
- psychopy/demos/builder/Helper Tools/achorVSalignment/readme.md +5 -0
- psychopy/demos/builder/Helper Tools/clockFace/README.md +3 -0
- psychopy/demos/builder/Helper Tools/clockFace/clockFace.psyexp +211 -0
- psychopy/demos/builder/Helper Tools/colors/README.md +5 -0
- psychopy/demos/builder/Helper Tools/colors/colors.psyexp +321 -0
- psychopy/demos/builder/Helper Tools/drawPolygon/README.md +5 -0
- psychopy/demos/builder/Helper Tools/drawPolygon/drawPolygon.psyexp +704 -0
- psychopy/demos/builder/Helper Tools/keyNameFinder/README.md +14 -0
- psychopy/demos/builder/Helper Tools/keyNameFinder/keyNameFinder.psyexp +225 -0
- psychopy/demos/builder/Helper Tools/spatialUnits/README.md +6 -0
- psychopy/demos/builder/Helper Tools/spatialUnits/unitDemo.psyexp +206 -0
- psychopy/demos/builder/README.txt +43 -0
- psychopy/demos/builder/__init__.py +0 -0
- psychopy/demos/coder/__init__.py +0 -0
- psychopy/demos/coder/basic/hello_world.py +37 -0
- psychopy/demos/coder/csvFromPsydat.py +29 -0
- psychopy/demos/coder/experiment control/JND_staircase_analysis.py +85 -0
- psychopy/demos/coder/experiment control/JND_staircase_exp.py +110 -0
- psychopy/demos/coder/experiment control/TrialHandler.py +64 -0
- psychopy/demos/coder/experiment control/TrialHandler2.py +42 -0
- psychopy/demos/coder/experiment control/__init__.py +0 -0
- psychopy/demos/coder/experiment control/autoDraw_autoLog.py +50 -0
- psychopy/demos/coder/experiment control/experimentHandler.py +57 -0
- psychopy/demos/coder/experiment control/fMRI_launchScan.py +74 -0
- psychopy/demos/coder/experiment control/gammaMotionAnalysis.py +68 -0
- psychopy/demos/coder/experiment control/gammaMotionNull.py +169 -0
- psychopy/demos/coder/experiment control/logFiles.py +55 -0
- psychopy/demos/coder/experiment control/piloting.py +65 -0
- psychopy/demos/coder/experiment control/runtimeInfo.py +79 -0
- psychopy/demos/coder/hardware/CRS_BitsBox.py +75 -0
- psychopy/demos/coder/hardware/CRS_BitsPlusPlus.py +73 -0
- psychopy/demos/coder/hardware/RiftHeadTrackingExample.py +95 -0
- psychopy/demos/coder/hardware/RiftMinimal.py +44 -0
- psychopy/demos/coder/hardware/VSHD_Distortion.py +49 -0
- psychopy/demos/coder/hardware/__init__.py +0 -0
- psychopy/demos/coder/hardware/camera.py +90 -0
- psychopy/demos/coder/hardware/cedrusRB730.py +38 -0
- psychopy/demos/coder/hardware/crsBitsAdvancedDemo.py +780 -0
- psychopy/demos/coder/hardware/egi_netstation.py +45 -0
- psychopy/demos/coder/hardware/hdf5_extract.py +133 -0
- psychopy/demos/coder/hardware/ioLab_bbox.py +62 -0
- psychopy/demos/coder/hardware/labjack_u3.py +61 -0
- psychopy/demos/coder/hardware/monitorDemo.py +28 -0
- psychopy/demos/coder/hardware/parallelPortOutput.py +49 -0
- psychopy/demos/coder/hardware/qmixPump.py +79 -0
- psychopy/demos/coder/hardware/testSoundLatency.py +127 -0
- psychopy/demos/coder/input/GUI.py +52 -0
- psychopy/demos/coder/input/__init__.py +0 -0
- psychopy/demos/coder/input/customMouse.py +51 -0
- psychopy/demos/coder/input/joystick_universal.py +84 -0
- psychopy/demos/coder/input/keyNameFinder.py +39 -0
- psychopy/demos/coder/input/mic.png +0 -0
- psychopy/demos/coder/input/mouse.py +66 -0
- psychopy/demos/coder/iohub/delaytest.py +231 -0
- psychopy/demos/coder/iohub/eyetracking/gcCursor/images/canal.jpg +0 -0
- psychopy/demos/coder/iohub/eyetracking/gcCursor/images/fall.jpg +0 -0
- psychopy/demos/coder/iohub/eyetracking/gcCursor/images/lake.jpg +0 -0
- psychopy/demos/coder/iohub/eyetracking/gcCursor/images/party.jpg +0 -0
- psychopy/demos/coder/iohub/eyetracking/gcCursor/images/swimming.jpg +0 -0
- psychopy/demos/coder/iohub/eyetracking/gcCursor/readTrialEventsByConditionVariables.py +67 -0
- psychopy/demos/coder/iohub/eyetracking/gcCursor/readTrialEventsByMessages.py +34 -0
- psychopy/demos/coder/iohub/eyetracking/gcCursor/run.py +323 -0
- psychopy/demos/coder/iohub/eyetracking/gcCursor/trial_conditions.xlsx +0 -0
- psychopy/demos/coder/iohub/eyetracking/simple.py +147 -0
- psychopy/demos/coder/iohub/eyetracking/validation.py +251 -0
- psychopy/demos/coder/iohub/iodatastore/saveEventReport.py +56 -0
- psychopy/demos/coder/iohub/keyboard.py +189 -0
- psychopy/demos/coder/iohub/keyboardreactiontime.py +88 -0
- psychopy/demos/coder/iohub/launchHub.py +160 -0
- psychopy/demos/coder/iohub/mouse.py +112 -0
- psychopy/demos/coder/iohub/mouse_multi_window.py +124 -0
- psychopy/demos/coder/iohub/serial/_parseserial.py +53 -0
- psychopy/demos/coder/iohub/serial/customparser.py +84 -0
- psychopy/demos/coder/iohub/serial/pstbox.py +166 -0
- psychopy/demos/coder/iohub/wintab/_wintabgraphics.py +281 -0
- psychopy/demos/coder/iohub/wintab/pen_demo.py +260 -0
- psychopy/demos/coder/misc/encrypt_data.py +48 -0
- psychopy/demos/coder/misc/hdf5_2_csv +33 -0
- psychopy/demos/coder/misc/makeMovie.py +28 -0
- psychopy/demos/coder/misc/rigidBodyTransform.py +76 -0
- psychopy/demos/coder/stimuli/Campaign.ttf +0 -0
- psychopy/demos/coder/stimuli/MovieStim.py +65 -0
- psychopy/demos/coder/stimuli/__init__.py +0 -0
- psychopy/demos/coder/stimuli/aperture.py +37 -0
- psychopy/demos/coder/stimuli/beach.jpg +0 -0
- psychopy/demos/coder/stimuli/bufferImageStim.py +78 -0
- psychopy/demos/coder/stimuli/clockface.py +43 -0
- psychopy/demos/coder/stimuli/colorPalette.py +134 -0
- psychopy/demos/coder/stimuli/compare_text_timing.py +193 -0
- psychopy/demos/coder/stimuli/counterphase.py +43 -0
- psychopy/demos/coder/stimuli/customTextures.py +57 -0
- psychopy/demos/coder/stimuli/dot_gabors.py +35 -0
- psychopy/demos/coder/stimuli/dots.py +35 -0
- psychopy/demos/coder/stimuli/elementArrays.py +92 -0
- psychopy/demos/coder/stimuli/embeddedOpenGL.py +35 -0
- psychopy/demos/coder/stimuli/face.jpg +0 -0
- psychopy/demos/coder/stimuli/face_jpg.py +48 -0
- psychopy/demos/coder/stimuli/gabor.py +30 -0
- psychopy/demos/coder/stimuli/imagesAndPatches.py +51 -0
- psychopy/demos/coder/stimuli/jwpIntro.mp4 +0 -0
- psychopy/demos/coder/stimuli/kanizsa.py +41 -0
- psychopy/demos/coder/stimuli/maskReveal.py +63 -0
- psychopy/demos/coder/stimuli/plaid.py +43 -0
- psychopy/demos/coder/stimuli/ratingScale.py +183 -0
- psychopy/demos/coder/stimuli/rotatingFlashingWedge.py +37 -0
- psychopy/demos/coder/stimuli/screensAndWindows.py +58 -0
- psychopy/demos/coder/stimuli/secondOrderGratings.py +66 -0
- psychopy/demos/coder/stimuli/shapeContains.py +50 -0
- psychopy/demos/coder/stimuli/shapes.py +63 -0
- psychopy/demos/coder/stimuli/soundStimuli.py +49 -0
- psychopy/demos/coder/stimuli/starField.py +48 -0
- psychopy/demos/coder/stimuli/stim3d.py +107 -0
- psychopy/demos/coder/stimuli/textBoxStim/textbox_glyph_placement.py +93 -0
- psychopy/demos/coder/stimuli/textBoxStim/textbox_simple.py +71 -0
- psychopy/demos/coder/stimuli/textStimuli.py +106 -0
- psychopy/demos/coder/stimuli/textbox_editable.py +64 -0
- psychopy/demos/coder/stimuli/variousVisualStims.py +47 -0
- psychopy/demos/coder/stimuli/visual_noise.py +31 -0
- psychopy/demos/coder/sysInfo.py +56 -0
- psychopy/demos/coder/timing/__init__.py +0 -0
- psychopy/demos/coder/timing/callOnFlip.py +39 -0
- psychopy/demos/coder/timing/clocksAndTimers.py +46 -0
- psychopy/demos/coder/timing/millikeyKeyboardTimingTest.py +323 -0
- psychopy/demos/coder/timing/timeByFrames.py +80 -0
- psychopy/demos/coder/timing/timeByFramesEx.py +107 -0
- psychopy/demos/coder/understanding psychopy/colors.py +70 -0
- psychopy/demos/coder/understanding psychopy/fontLayout.py +69 -0
- psychopy/demos/demo_migration.py +214 -0
- psychopy/demos/modernizeDemos.py +16 -0
- psychopy/demos/test_demo_migration.py +155 -0
- psychopy/devices/__init__.py +8 -0
- psychopy/event.py +1339 -0
- psychopy/exceptions.py +59 -0
- psychopy/experiment/__init__.py +51 -0
- psychopy/experiment/_experiment.py +1514 -0
- psychopy/experiment/blankTemplate.xltx +0 -0
- psychopy/experiment/components/__init__.py +402 -0
- psychopy/experiment/components/_base.py +1689 -0
- psychopy/experiment/components/aperture/__init__.py +153 -0
- psychopy/experiment/components/aperture/classic/aperture.png +0 -0
- psychopy/experiment/components/aperture/classic/aperture@2x.png +0 -0
- psychopy/experiment/components/aperture/dark/aperture.png +0 -0
- psychopy/experiment/components/aperture/dark/aperture@2x.png +0 -0
- psychopy/experiment/components/aperture/light/aperture.png +0 -0
- psychopy/experiment/components/aperture/light/aperture@2x.png +0 -0
- psychopy/experiment/components/brush/__init__.py +165 -0
- psychopy/experiment/components/brush/classic/brush.png +0 -0
- psychopy/experiment/components/brush/classic/brush@2x.png +0 -0
- psychopy/experiment/components/brush/dark/brush.png +0 -0
- psychopy/experiment/components/brush/dark/brush@2x.png +0 -0
- psychopy/experiment/components/brush/light/brush.png +0 -0
- psychopy/experiment/components/brush/light/brush@2x.png +0 -0
- psychopy/experiment/components/button/__init__.py +493 -0
- psychopy/experiment/components/button/classic/button.png +0 -0
- psychopy/experiment/components/button/classic/button@2x.png +0 -0
- psychopy/experiment/components/button/dark/button.png +0 -0
- psychopy/experiment/components/button/dark/button@2x.png +0 -0
- psychopy/experiment/components/button/light/button.png +0 -0
- psychopy/experiment/components/button/light/button@2x.png +0 -0
- psychopy/experiment/components/buttonBox/__init__.py +322 -0
- psychopy/experiment/components/buttonBox/classic/buttonBox.png +0 -0
- psychopy/experiment/components/buttonBox/classic/buttonBox@2x.png +0 -0
- psychopy/experiment/components/buttonBox/dark/buttonBox.png +0 -0
- psychopy/experiment/components/buttonBox/dark/buttonBox@2x.png +0 -0
- psychopy/experiment/components/buttonBox/light/buttonBox.png +0 -0
- psychopy/experiment/components/buttonBox/light/buttonBox@2x.png +0 -0
- psychopy/experiment/components/camera/__init__.py +381 -0
- psychopy/experiment/components/camera/classic/webcam.png +0 -0
- psychopy/experiment/components/camera/classic/webcam@2x.png +0 -0
- psychopy/experiment/components/camera/dark/webcam.png +0 -0
- psychopy/experiment/components/camera/dark/webcam@2x.png +0 -0
- psychopy/experiment/components/camera/light/webcam.png +0 -0
- psychopy/experiment/components/camera/light/webcam@2x.png +0 -0
- psychopy/experiment/components/code/__init__.py +299 -0
- psychopy/experiment/components/code/classic/code.png +0 -0
- psychopy/experiment/components/code/classic/code@2x.png +0 -0
- psychopy/experiment/components/code/dark/code.png +0 -0
- psychopy/experiment/components/code/dark/code@2x.png +0 -0
- psychopy/experiment/components/code/light/code.png +0 -0
- psychopy/experiment/components/code/light/code@2x.png +0 -0
- psychopy/experiment/components/dots/__init__.py +199 -0
- psychopy/experiment/components/dots/classic/dots.png +0 -0
- psychopy/experiment/components/dots/classic/dots@2x.png +0 -0
- psychopy/experiment/components/dots/dark/dots.png +0 -0
- psychopy/experiment/components/dots/dark/dots@2x.png +0 -0
- psychopy/experiment/components/dots/dots.xcf +0 -0
- psychopy/experiment/components/dots/light/dots.png +0 -0
- psychopy/experiment/components/dots/light/dots@2x.png +0 -0
- psychopy/experiment/components/eyetracker_record/__init__.py +194 -0
- psychopy/experiment/components/eyetracker_record/classic/eyetracker_record.png +0 -0
- psychopy/experiment/components/eyetracker_record/classic/eyetracker_record@2x.png +0 -0
- psychopy/experiment/components/eyetracker_record/dark/eyetracker_record.png +0 -0
- psychopy/experiment/components/eyetracker_record/dark/eyetracker_record@2x.png +0 -0
- psychopy/experiment/components/eyetracker_record/light/eyetracker_record.png +0 -0
- psychopy/experiment/components/eyetracker_record/light/eyetracker_record@2x.png +0 -0
- psychopy/experiment/components/form/__init__.py +227 -0
- psychopy/experiment/components/form/classic/form.png +0 -0
- psychopy/experiment/components/form/classic/form@2x.png +0 -0
- psychopy/experiment/components/form/dark/form.png +0 -0
- psychopy/experiment/components/form/dark/form@2x.png +0 -0
- psychopy/experiment/components/form/formItems.xltx +0 -0
- psychopy/experiment/components/form/light/form.png +0 -0
- psychopy/experiment/components/form/light/form@2x.png +0 -0
- psychopy/experiment/components/grating/__init__.py +203 -0
- psychopy/experiment/components/grating/classic/grating.png +0 -0
- psychopy/experiment/components/grating/classic/grating@2x.png +0 -0
- psychopy/experiment/components/grating/dark/grating.png +0 -0
- psychopy/experiment/components/grating/dark/grating@2x.png +0 -0
- psychopy/experiment/components/grating/light/grating.png +0 -0
- psychopy/experiment/components/grating/light/grating@2x.png +0 -0
- psychopy/experiment/components/image/__init__.py +195 -0
- psychopy/experiment/components/image/classic/image.png +0 -0
- psychopy/experiment/components/image/classic/image@2x.png +0 -0
- psychopy/experiment/components/image/dark/image.png +0 -0
- psychopy/experiment/components/image/dark/image@2x.png +0 -0
- psychopy/experiment/components/image/light/image.png +0 -0
- psychopy/experiment/components/image/light/image@2x.png +0 -0
- psychopy/experiment/components/joyButtons/__init__.py +453 -0
- psychopy/experiment/components/joyButtons/classic/joyButtons.png +0 -0
- psychopy/experiment/components/joyButtons/classic/joybuttons@2x.png +0 -0
- psychopy/experiment/components/joyButtons/dark/joyButtons.png +0 -0
- psychopy/experiment/components/joyButtons/dark/joyButtons@2x.png +0 -0
- psychopy/experiment/components/joyButtons/light/joyButtons.png +0 -0
- psychopy/experiment/components/joyButtons/light/joyButtons@2x.png +0 -0
- psychopy/experiment/components/joyButtons/virtualJoyButtons.py +34 -0
- psychopy/experiment/components/joystick/__init__.py +572 -0
- psychopy/experiment/components/joystick/classic/joystick.png +0 -0
- psychopy/experiment/components/joystick/classic/joystick@2x.png +0 -0
- psychopy/experiment/components/joystick/dark/joystick.png +0 -0
- psychopy/experiment/components/joystick/dark/joystick@2x.png +0 -0
- psychopy/experiment/components/joystick/light/joystick.png +0 -0
- psychopy/experiment/components/joystick/light/joystick@2x.png +0 -0
- psychopy/experiment/components/joystick/virtualJoystick.py +40 -0
- psychopy/experiment/components/keyboard/__init__.py +568 -0
- psychopy/experiment/components/keyboard/classic/keyboard.png +0 -0
- psychopy/experiment/components/keyboard/classic/keyboard@2x.png +0 -0
- psychopy/experiment/components/keyboard/dark/keyboard.png +0 -0
- psychopy/experiment/components/keyboard/dark/keyboard@2x.png +0 -0
- psychopy/experiment/components/keyboard/light/keyboard.png +0 -0
- psychopy/experiment/components/keyboard/light/keyboard@2x.png +0 -0
- psychopy/experiment/components/keyboard.xcf +0 -0
- psychopy/experiment/components/microphone/__init__.py +600 -0
- psychopy/experiment/components/microphone/classic/microphone.png +0 -0
- psychopy/experiment/components/microphone/classic/microphone@2x.png +0 -0
- psychopy/experiment/components/microphone/dark/microphone.png +0 -0
- psychopy/experiment/components/microphone/dark/microphone@2x.png +0 -0
- psychopy/experiment/components/microphone/light/microphone.png +0 -0
- psychopy/experiment/components/microphone/light/microphone@2x.png +0 -0
- psychopy/experiment/components/mouse/__init__.py +773 -0
- psychopy/experiment/components/mouse/classic/mouse.png +0 -0
- psychopy/experiment/components/mouse/classic/mouse@2x.png +0 -0
- psychopy/experiment/components/mouse/dark/mouse.png +0 -0
- psychopy/experiment/components/mouse/dark/mouse@2x.png +0 -0
- psychopy/experiment/components/mouse/light/mouse.png +0 -0
- psychopy/experiment/components/mouse/light/mouse@2x.png +0 -0
- psychopy/experiment/components/movie/__init__.py +348 -0
- psychopy/experiment/components/movie/classic/movie.png +0 -0
- psychopy/experiment/components/movie/classic/movie@2x.png +0 -0
- psychopy/experiment/components/movie/dark/movie.png +0 -0
- psychopy/experiment/components/movie/dark/movie@2x.png +0 -0
- psychopy/experiment/components/movie/light/movie.png +0 -0
- psychopy/experiment/components/movie/light/movie@2x.png +0 -0
- psychopy/experiment/components/panorama/__init__.py +456 -0
- psychopy/experiment/components/panorama/classic/panorama.png +0 -0
- psychopy/experiment/components/panorama/classic/panorama@2x.png +0 -0
- psychopy/experiment/components/panorama/dark/panorama.png +0 -0
- psychopy/experiment/components/panorama/dark/panorama@2x.png +0 -0
- psychopy/experiment/components/panorama/light/panorama.png +0 -0
- psychopy/experiment/components/panorama/light/panorama@2x.png +0 -0
- psychopy/experiment/components/parallelOut/__init__.py +178 -0
- psychopy/experiment/components/parallelOut/classic/parallel.png +0 -0
- psychopy/experiment/components/parallelOut/classic/parallel@2x.png +0 -0
- psychopy/experiment/components/parallelOut/dark/parallel.png +0 -0
- psychopy/experiment/components/parallelOut/dark/parallel@2x.png +0 -0
- psychopy/experiment/components/parallelOut/light/parallel.png +0 -0
- psychopy/experiment/components/parallelOut/light/parallel@2x.png +0 -0
- psychopy/experiment/components/polygon/__init__.py +332 -0
- psychopy/experiment/components/polygon/classic/polygon.png +0 -0
- psychopy/experiment/components/polygon/classic/polygon@2x.png +0 -0
- psychopy/experiment/components/polygon/dark/polygon.png +0 -0
- psychopy/experiment/components/polygon/dark/polygon@2x.png +0 -0
- psychopy/experiment/components/polygon/light/polygon.png +0 -0
- psychopy/experiment/components/polygon/light/polygon@2x.png +0 -0
- psychopy/experiment/components/progress/__init__.py +130 -0
- psychopy/experiment/components/progress/classic/progress.png +0 -0
- psychopy/experiment/components/progress/classic/progress@2x.png +0 -0
- psychopy/experiment/components/progress/dark/progress.png +0 -0
- psychopy/experiment/components/progress/dark/progress@2x.png +0 -0
- psychopy/experiment/components/progress/light/progress.png +0 -0
- psychopy/experiment/components/progress/light/progress@2x.png +0 -0
- psychopy/experiment/components/resourceManager/__init__.py +176 -0
- psychopy/experiment/components/resourceManager/classic/resource_manager.png +0 -0
- psychopy/experiment/components/resourceManager/classic/resource_manager@2x.png +0 -0
- psychopy/experiment/components/resourceManager/dark/resource_manager.png +0 -0
- psychopy/experiment/components/resourceManager/dark/resource_manager@2x.png +0 -0
- psychopy/experiment/components/resourceManager/light/resource_manager.png +0 -0
- psychopy/experiment/components/resourceManager/light/resource_manager@2x.png +0 -0
- psychopy/experiment/components/roi/__init__.py +316 -0
- psychopy/experiment/components/roi/classic/eyetracker_roi.png +0 -0
- psychopy/experiment/components/roi/classic/eyetracker_roi@2x.png +0 -0
- psychopy/experiment/components/roi/dark/eyetracker_roi.png +0 -0
- psychopy/experiment/components/roi/dark/eyetracker_roi@2X.png +0 -0
- psychopy/experiment/components/roi/light/eyetracker_roi.png +0 -0
- psychopy/experiment/components/roi/light/eyetracker_roi@2X.png +0 -0
- psychopy/experiment/components/routineSettings/__init__.py +387 -0
- psychopy/experiment/components/routineSettings/classic/routineSettings.png +0 -0
- psychopy/experiment/components/routineSettings/classic/routineSettings@2x.png +0 -0
- psychopy/experiment/components/routineSettings/dark/routineSettings.png +0 -0
- psychopy/experiment/components/routineSettings/dark/routineSettings@2x.png +0 -0
- psychopy/experiment/components/routineSettings/light/routineSettings.png +0 -0
- psychopy/experiment/components/routineSettings/light/routineSettings@2x.png +0 -0
- psychopy/experiment/components/serialOut/__init__.py +304 -0
- psychopy/experiment/components/serialOut/classic/serial.png +0 -0
- psychopy/experiment/components/serialOut/classic/serial@2x.png +0 -0
- psychopy/experiment/components/serialOut/dark/serial.png +0 -0
- psychopy/experiment/components/serialOut/dark/serial@2x.png +0 -0
- psychopy/experiment/components/serialOut/light/serial.png +0 -0
- psychopy/experiment/components/serialOut/light/serial@2x.png +0 -0
- psychopy/experiment/components/settings/JS_htmlHeader.tmpl +23 -0
- psychopy/experiment/components/settings/JS_setupExp.tmpl +28 -0
- psychopy/experiment/components/settings/__init__.py +2254 -0
- psychopy/experiment/components/settings/classic/settings.png +0 -0
- psychopy/experiment/components/settings/classic/settings@2x.png +0 -0
- psychopy/experiment/components/settings/dark/settings.png +0 -0
- psychopy/experiment/components/settings/dark/settings@2x.png +0 -0
- psychopy/experiment/components/settings/eyetracking.py +108 -0
- psychopy/experiment/components/settings/light/settings.png +0 -0
- psychopy/experiment/components/settings/light/settings@2x.png +0 -0
- psychopy/experiment/components/slider/__init__.py +410 -0
- psychopy/experiment/components/slider/classic/slider.png +0 -0
- psychopy/experiment/components/slider/classic/slider@2x.png +0 -0
- psychopy/experiment/components/slider/dark/slider.png +0 -0
- psychopy/experiment/components/slider/dark/slider@2x.png +0 -0
- psychopy/experiment/components/slider/light/slider.png +0 -0
- psychopy/experiment/components/slider/light/slider@2x.png +0 -0
- psychopy/experiment/components/sound/__init__.py +441 -0
- psychopy/experiment/components/sound/classic/sound.png +0 -0
- psychopy/experiment/components/sound/classic/sound@2x.png +0 -0
- psychopy/experiment/components/sound/dark/sound.png +0 -0
- psychopy/experiment/components/sound/dark/sound@2x.png +0 -0
- psychopy/experiment/components/sound/light/sound.png +0 -0
- psychopy/experiment/components/sound/light/sound@2x.png +0 -0
- psychopy/experiment/components/soundsensor/__init__.py +324 -0
- psychopy/experiment/components/soundsensor/classic/soundsensor.png +0 -0
- psychopy/experiment/components/soundsensor/classic/soundsensor@2x.png +0 -0
- psychopy/experiment/components/soundsensor/dark/soundsensor.png +0 -0
- psychopy/experiment/components/soundsensor/dark/soundsensor@2x.png +0 -0
- psychopy/experiment/components/soundsensor/light/soundsensor.png +0 -0
- psychopy/experiment/components/soundsensor/light/soundsensor@2x.png +0 -0
- psychopy/experiment/components/static/__init__.py +293 -0
- psychopy/experiment/components/static/classic/static.png +0 -0
- psychopy/experiment/components/static/classic/static@2x.png +0 -0
- psychopy/experiment/components/static/dark/static.png +0 -0
- psychopy/experiment/components/static/dark/static@2x.png +0 -0
- psychopy/experiment/components/static/light/static.png +0 -0
- psychopy/experiment/components/static/light/static@2x.png +0 -0
- psychopy/experiment/components/text/__init__.py +190 -0
- psychopy/experiment/components/text/classic/text.png +0 -0
- psychopy/experiment/components/text/classic/text@2x.png +0 -0
- psychopy/experiment/components/text/dark/text.png +0 -0
- psychopy/experiment/components/text/dark/text@2x.png +0 -0
- psychopy/experiment/components/text/light/text.png +0 -0
- psychopy/experiment/components/text/light/text@2x.png +0 -0
- psychopy/experiment/components/textbox/__init__.py +336 -0
- psychopy/experiment/components/textbox/classic/textbox.png +0 -0
- psychopy/experiment/components/textbox/classic/textbox@2x.png +0 -0
- psychopy/experiment/components/textbox/dark/textbox.png +0 -0
- psychopy/experiment/components/textbox/dark/textbox@2x.png +0 -0
- psychopy/experiment/components/textbox/light/textbox.png +0 -0
- psychopy/experiment/components/textbox/light/textbox@2x.png +0 -0
- psychopy/experiment/components/unknown/__init__.py +87 -0
- psychopy/experiment/components/unknown/classic/unknown.png +0 -0
- psychopy/experiment/components/unknown/classic/unknown@2x.png +0 -0
- psychopy/experiment/components/unknown/dark/unknown.png +0 -0
- psychopy/experiment/components/unknown/dark/unknown@2x.png +0 -0
- psychopy/experiment/components/unknown/light/unknown.png +0 -0
- psychopy/experiment/components/unknown/light/unknown@2x.png +0 -0
- psychopy/experiment/components/unknownPlugin/__init__.py +86 -0
- psychopy/experiment/components/unknownPlugin/classic/unknownPlugin.png +0 -0
- psychopy/experiment/components/unknownPlugin/classic/unknownPlugin@2x.png +0 -0
- psychopy/experiment/components/unknownPlugin/dark/unknownPlugin.png +0 -0
- psychopy/experiment/components/unknownPlugin/dark/unknownPlugin@2x.png +0 -0
- psychopy/experiment/components/unknownPlugin/light/unknownPlugin.png +0 -0
- psychopy/experiment/components/unknownPlugin/light/unknownPlugin@2x.png +0 -0
- psychopy/experiment/components/utils.py +0 -0
- psychopy/experiment/components/variable/__init__.py +184 -0
- psychopy/experiment/components/variable/classic/variable.png +0 -0
- psychopy/experiment/components/variable/classic/variable@2x.png +0 -0
- psychopy/experiment/components/variable/dark/variable.png +0 -0
- psychopy/experiment/components/variable/dark/variable@2x.png +0 -0
- psychopy/experiment/components/variable/light/variable.png +0 -0
- psychopy/experiment/components/variable/light/variable@2x.png +0 -0
- psychopy/experiment/devices.py +303 -0
- psychopy/experiment/experiment.xsd +223 -0
- psychopy/experiment/exports.py +390 -0
- psychopy/experiment/flow.py +547 -0
- psychopy/experiment/localization.py +11 -0
- psychopy/experiment/loopTemplate.xltx +0 -0
- psychopy/experiment/loops.py +1051 -0
- psychopy/experiment/monitor.py +74 -0
- psychopy/experiment/params.py +541 -0
- psychopy/experiment/plugins.py +42 -0
- psychopy/experiment/py2js.py +183 -0
- psychopy/experiment/py2js_transpiler.py +613 -0
- psychopy/experiment/questPlusTemplate.xltx +0 -0
- psychopy/experiment/questTemplate.xltx +0 -0
- psychopy/experiment/routines/__init__.py +108 -0
- psychopy/experiment/routines/_base.py +1172 -0
- psychopy/experiment/routines/audioValidator/__init__.py +229 -0
- psychopy/experiment/routines/audioValidator/classic/audio_validator.png +0 -0
- psychopy/experiment/routines/audioValidator/classic/audio_validator@2x.png +0 -0
- psychopy/experiment/routines/audioValidator/dark/audio_validator.png +0 -0
- psychopy/experiment/routines/audioValidator/dark/audio_validator@2x.png +0 -0
- psychopy/experiment/routines/audioValidator/light/audio_validator.png +0 -0
- psychopy/experiment/routines/audioValidator/light/audio_validator@2x.png +0 -0
- psychopy/experiment/routines/counterbalance/__init__.py +320 -0
- psychopy/experiment/routines/counterbalance/classic/counterbalance.png +0 -0
- psychopy/experiment/routines/counterbalance/classic/counterbalance@2x.png +0 -0
- psychopy/experiment/routines/counterbalance/counterbalanceItems.xltx +0 -0
- psychopy/experiment/routines/counterbalance/dark/counterbalance.png +0 -0
- psychopy/experiment/routines/counterbalance/dark/counterbalance@2x.png +0 -0
- psychopy/experiment/routines/counterbalance/light/counterbalance.png +0 -0
- psychopy/experiment/routines/counterbalance/light/counterbalance@2x.png +0 -0
- psychopy/experiment/routines/eyetracker_calibrate/__init__.py +334 -0
- psychopy/experiment/routines/eyetracker_calibrate/classic/eyetracker_calib.png +0 -0
- psychopy/experiment/routines/eyetracker_calibrate/dark/eyetracker_calib.png +0 -0
- psychopy/experiment/routines/eyetracker_calibrate/dark/eyetracker_calib@2x.png +0 -0
- psychopy/experiment/routines/eyetracker_calibrate/light/eyetracker_calib.png +0 -0
- psychopy/experiment/routines/eyetracker_calibrate/light/eyetracker_calib@2x.png +0 -0
- psychopy/experiment/routines/eyetracker_validate/__init__.py +354 -0
- psychopy/experiment/routines/eyetracker_validate/classic/eyetracker_valid.png +0 -0
- psychopy/experiment/routines/eyetracker_validate/dark/eyetracker_valid.png +0 -0
- psychopy/experiment/routines/eyetracker_validate/dark/eyetracker_valid@2x.png +0 -0
- psychopy/experiment/routines/eyetracker_validate/light/eyetracker_valid.png +0 -0
- psychopy/experiment/routines/eyetracker_validate/light/eyetracker_valid@2x.png +0 -0
- psychopy/experiment/routines/pavlovia_survey/__init__.py +236 -0
- psychopy/experiment/routines/pavlovia_survey/classic/survey.png +0 -0
- psychopy/experiment/routines/pavlovia_survey/classic/survey@2x.png +0 -0
- psychopy/experiment/routines/pavlovia_survey/dark/survey.png +0 -0
- psychopy/experiment/routines/pavlovia_survey/dark/survey@2x.png +0 -0
- psychopy/experiment/routines/pavlovia_survey/light/survey.png +0 -0
- psychopy/experiment/routines/pavlovia_survey/light/survey@2x.png +0 -0
- psychopy/experiment/routines/unknown/__init__.py +30 -0
- psychopy/experiment/routines/unknown/classic/eyetracker_record.png +0 -0
- psychopy/experiment/routines/unknown/classic/unknown.png +0 -0
- psychopy/experiment/routines/unknown/dark/eyetracker_record.png +0 -0
- psychopy/experiment/routines/unknown/dark/eyetracker_record@2x.png +0 -0
- psychopy/experiment/routines/unknown/dark/unknown.png +0 -0
- psychopy/experiment/routines/unknown/dark/unknown@2x.png +0 -0
- psychopy/experiment/routines/unknown/light/eyetracker_record.png +0 -0
- psychopy/experiment/routines/unknown/light/eyetracker_record@2x.png +0 -0
- psychopy/experiment/routines/unknown/light/unknown.png +0 -0
- psychopy/experiment/routines/unknown/light/unknown@2x.png +0 -0
- psychopy/experiment/routines/utils.py +0 -0
- psychopy/experiment/routines/visualValidator/__init__.py +395 -0
- psychopy/experiment/routines/visualValidator/classic/visual_validator.png +0 -0
- psychopy/experiment/routines/visualValidator/classic/visual_validator@2x.png +0 -0
- psychopy/experiment/routines/visualValidator/dark/visual_validator.png +0 -0
- psychopy/experiment/routines/visualValidator/dark/visual_validator@2x.png +0 -0
- psychopy/experiment/routines/visualValidator/light/visual_validator.png +0 -0
- psychopy/experiment/routines/visualValidator/light/visual_validator@2x.png +0 -0
- psychopy/experiment/staircaseTemplate.xltx +0 -0
- psychopy/experiment/utils.py +44 -0
- psychopy/filters.py +11 -0
- psychopy/gamma.py +9 -0
- psychopy/gui/__init__.py +47 -0
- psychopy/gui/qtgui.py +882 -0
- psychopy/gui/util.py +74 -0
- psychopy/gui/wxgui.py +420 -0
- psychopy/hardware/__init__.py +178 -0
- psychopy/hardware/base.py +466 -0
- psychopy/hardware/bbtk/__init__.py +24 -0
- psychopy/hardware/brainproducts.py +25 -0
- psychopy/hardware/button.py +238 -0
- psychopy/hardware/buttonbox/__init__.py +122 -0
- psychopy/hardware/camera/__init__.py +3657 -0
- psychopy/hardware/cedrus.py +24 -0
- psychopy/hardware/crs/__init__.py +46 -0
- psychopy/hardware/crs/bits.py +37 -0
- psychopy/hardware/crs/colorcal.py +18 -0
- psychopy/hardware/crs/optical.py +33 -0
- psychopy/hardware/crs/shaders.py +34 -0
- psychopy/hardware/emotiv.py +33 -0
- psychopy/hardware/emulator.py +46 -0
- psychopy/hardware/exceptions.py +86 -0
- psychopy/hardware/eyetracker.py +132 -0
- psychopy/hardware/forp.py +37 -0
- psychopy/hardware/gammasci.py +26 -0
- psychopy/hardware/iolab.py +24 -0
- psychopy/hardware/joystick/__init__.py +1196 -0
- psychopy/hardware/joystick/_base.py +251 -0
- psychopy/hardware/joystick/backend_glfw.py +306 -0
- psychopy/hardware/joystick/backend_pyglet.py +309 -0
- psychopy/hardware/joystick/mappings.py +287 -0
- psychopy/hardware/keyboard.py +975 -0
- psychopy/hardware/knownDevices.json +52 -0
- psychopy/hardware/labhackers.py +27 -0
- psychopy/hardware/labjacks.py +26 -0
- psychopy/hardware/lightsensor.py +789 -0
- psychopy/hardware/listener.py +330 -0
- psychopy/hardware/manager.py +992 -0
- psychopy/hardware/microphone.py +1630 -0
- psychopy/hardware/minolta.py +33 -0
- psychopy/hardware/monitor.py +144 -0
- psychopy/hardware/mouse/__init__.py +885 -0
- psychopy/hardware/photometer/__init__.py +207 -0
- psychopy/hardware/pr.py +33 -0
- psychopy/hardware/qmix.py +32 -0
- psychopy/hardware/serialdevice.py +387 -0
- psychopy/hardware/soundsensor.py +476 -0
- psychopy/hardware/spatial/__init__.py +231 -0
- psychopy/hardware/speaker.py +351 -0
- psychopy/hardware/triggerbox/__init__.py +56 -0
- psychopy/hardware/triggerbox/base.py +170 -0
- psychopy/hardware/triggerbox/parallel.py +362 -0
- psychopy/info.py +719 -0
- psychopy/iohub/__init__.py +50 -0
- psychopy/iohub/client/__init__.py +1481 -0
- psychopy/iohub/client/connect.py +260 -0
- psychopy/iohub/client/eyetracker/__init__.py +4 -0
- psychopy/iohub/client/eyetracker/validation/__init__.py +8 -0
- psychopy/iohub/client/eyetracker/validation/posgrid.py +274 -0
- psychopy/iohub/client/eyetracker/validation/procedure.py +1292 -0
- psychopy/iohub/client/eyetracker/validation/trigger.py +240 -0
- psychopy/iohub/client/keyboard.py +513 -0
- psychopy/iohub/client/wintab.py +378 -0
- psychopy/iohub/constants.py +1176 -0
- psychopy/iohub/datastore/__init__.py +439 -0
- psychopy/iohub/datastore/default_datastore.yaml +8 -0
- psychopy/iohub/datastore/util.py +868 -0
- psychopy/iohub/default_config.yaml +17 -0
- psychopy/iohub/devices/__init__.py +1047 -0
- psychopy/iohub/devices/computer.py +607 -0
- psychopy/iohub/devices/default_device.yaml +15 -0
- psychopy/iohub/devices/deviceConfigValidation.py +519 -0
- psychopy/iohub/devices/display/__init__.py +755 -0
- psychopy/iohub/devices/display/default_display.yaml +118 -0
- psychopy/iohub/devices/display/supported_config_settings.yaml +69 -0
- psychopy/iohub/devices/eventfilters.py +3572 -0
- psychopy/iohub/devices/experiment/__init__.py +316 -0
- psychopy/iohub/devices/experiment/default_experiment.yaml +74 -0
- psychopy/iohub/devices/experiment/supported_config_settings.yaml +26 -0
- psychopy/iohub/devices/eyetracker/__init__.py +474 -0
- psychopy/iohub/devices/eyetracker/calibration/__init__.py +1 -0
- psychopy/iohub/devices/eyetracker/calibration/procedure.py +391 -0
- psychopy/iohub/devices/eyetracker/default_eyetracker.yaml +18 -0
- psychopy/iohub/devices/eyetracker/eye_events.py +1751 -0
- psychopy/iohub/devices/eyetracker/filters/__init__.py +4 -0
- psychopy/iohub/devices/eyetracker/filters/parser.py +913 -0
- psychopy/iohub/devices/eyetracker/hw/__init__.py +4 -0
- psychopy/iohub/devices/eyetracker/hw/gazepoint/__init__.py +29 -0
- psychopy/iohub/devices/eyetracker/hw/gazepoint/gp3/__init__.py +29 -0
- psychopy/iohub/devices/eyetracker/hw/gazepoint/gp3/calibration.py +18 -0
- psychopy/iohub/devices/eyetracker/hw/gazepoint/gp3/eyetracker.py +31 -0
- psychopy/iohub/devices/eyetracker/hw/mouse/__init__.py +8 -0
- psychopy/iohub/devices/eyetracker/hw/mouse/calibration.py +10 -0
- psychopy/iohub/devices/eyetracker/hw/mouse/default_eyetracker.yaml +102 -0
- psychopy/iohub/devices/eyetracker/hw/mouse/eyetracker.py +443 -0
- psychopy/iohub/devices/eyetracker/hw/mouse/supported_config_settings.yaml +110 -0
- psychopy/iohub/devices/eyetracker/hw/pupil_labs/__init__.py +4 -0
- psychopy/iohub/devices/eyetracker/hw/pupil_labs/neon/__init__.py +27 -0
- psychopy/iohub/devices/eyetracker/hw/pupil_labs/neon/eyetracker.py +18 -0
- psychopy/iohub/devices/eyetracker/hw/pupil_labs/pupil_core/__init__.py +29 -0
- psychopy/iohub/devices/eyetracker/hw/pupil_labs/pupil_core/bisector.py +20 -0
- psychopy/iohub/devices/eyetracker/hw/pupil_labs/pupil_core/constants.py +19 -0
- psychopy/iohub/devices/eyetracker/hw/pupil_labs/pupil_core/data_parse.py +22 -0
- psychopy/iohub/devices/eyetracker/hw/pupil_labs/pupil_core/eyetracker.py +18 -0
- psychopy/iohub/devices/eyetracker/hw/pupil_labs/pupil_core/pupil_remote.py +18 -0
- psychopy/iohub/devices/eyetracker/hw/sr_research/__init__.py +4 -0
- psychopy/iohub/devices/eyetracker/hw/sr_research/eyelink/__init__.py +28 -0
- psychopy/iohub/devices/eyetracker/hw/sr_research/eyelink/calibration.py +22 -0
- psychopy/iohub/devices/eyetracker/hw/sr_research/eyelink/eyetracker.py +38 -0
- psychopy/iohub/devices/eyetracker/hw/tobii/__init__.py +29 -0
- psychopy/iohub/devices/eyetracker/hw/tobii/calibration.py +19 -0
- psychopy/iohub/devices/eyetracker/hw/tobii/eyetracker.py +17 -0
- psychopy/iohub/devices/eyetracker/hw/tobii/tobiiwrapper.py +19 -0
- psychopy/iohub/devices/eyetracker/supported_config_settings.yaml +44 -0
- psychopy/iohub/devices/keyboard/__init__.py +309 -0
- psychopy/iohub/devices/keyboard/darwin.py +431 -0
- psychopy/iohub/devices/keyboard/darwinkey.py +94 -0
- psychopy/iohub/devices/keyboard/default_keyboard.yaml +94 -0
- psychopy/iohub/devices/keyboard/linux2.py +102 -0
- psychopy/iohub/devices/keyboard/supported_config_settings.yaml +39 -0
- psychopy/iohub/devices/keyboard/win32.py +356 -0
- psychopy/iohub/devices/mouse/__init__.py +709 -0
- psychopy/iohub/devices/mouse/darwin.py +414 -0
- psychopy/iohub/devices/mouse/default_mouse.yaml +92 -0
- psychopy/iohub/devices/mouse/linux2.py +172 -0
- psychopy/iohub/devices/mouse/supported_config_settings.yaml +39 -0
- psychopy/iohub/devices/mouse/win32.py +284 -0
- psychopy/iohub/devices/pyXHook.py +619 -0
- psychopy/iohub/devices/serial/__init__.py +779 -0
- psychopy/iohub/devices/serial/default_pstbox.yaml +108 -0
- psychopy/iohub/devices/serial/default_serial.yaml +108 -0
- psychopy/iohub/devices/serial/supported_config_settings.yaml +85 -0
- psychopy/iohub/devices/serial/supported_config_settings_pstbox.yaml +85 -0
- psychopy/iohub/devices/supported_config_settings.yaml +36 -0
- psychopy/iohub/devices/wintab/__init__.py +580 -0
- psychopy/iohub/devices/wintab/default_wintab.yaml +89 -0
- psychopy/iohub/devices/wintab/supported_config_settings.yaml +42 -0
- psychopy/iohub/devices/wintab/win32.py +722 -0
- psychopy/iohub/devices/xlib.py +6795 -0
- psychopy/iohub/errors.py +61 -0
- psychopy/iohub/lazy_import.py +582 -0
- psychopy/iohub/net.py +349 -0
- psychopy/iohub/server.py +1075 -0
- psychopy/iohub/start_iohub_process.py +121 -0
- psychopy/iohub/util/__init__.py +832 -0
- psychopy/iohub/util/visualangle.py +126 -0
- psychopy/layout.py +916 -0
- psychopy/liaison.py +471 -0
- psychopy/locale_setup.py +41 -0
- psychopy/localization/__init__.py +22 -0
- psychopy/localization/_localization.py +155 -0
- psychopy/localization/generateTranslationTemplate.py +257 -0
- psychopy/localization/mappings.txt +170 -0
- psychopy/localization/messages.pot +9950 -0
- psychopy/localization/readme.txt +68 -0
- psychopy/logging.py +415 -0
- psychopy/microphone.py +28 -0
- psychopy/misc.py +40 -0
- psychopy/monitors/MonitorCenter.py +1354 -0
- psychopy/monitors/__init__.py +30 -0
- psychopy/monitors/calibData.py +78 -0
- psychopy/monitors/calibTools.py +1301 -0
- psychopy/monitors/getLumSeries.py +50 -0
- psychopy/monitors/psychopy-icon.svg +395 -0
- psychopy/monitors/psychopy.ico +0 -0
- psychopy/parallel/__init__.py +206 -0
- psychopy/parallel/_dlportio.py +150 -0
- psychopy/parallel/_inpout.py +120 -0
- psychopy/parallel/_linux.py +105 -0
- psychopy/piloting.py +61 -0
- psychopy/platform_specific/__init__.py +46 -0
- psychopy/platform_specific/darwin.py +326 -0
- psychopy/platform_specific/linux.py +77 -0
- psychopy/platform_specific/win32.py +124 -0
- psychopy/plugins/__init__.py +1397 -0
- psychopy/plugins/util.py +104 -0
- psychopy/preferences/Darwin.spec +294 -0
- psychopy/preferences/FreeBSD.spec +294 -0
- psychopy/preferences/Linux.spec +294 -0
- psychopy/preferences/Windows.spec +294 -0
- psychopy/preferences/__init__.py +20 -0
- psychopy/preferences/baseNoArch.spec +290 -0
- psychopy/preferences/devices.py +80 -0
- psychopy/preferences/generateHints.py +93 -0
- psychopy/preferences/generateSpec.py +80 -0
- psychopy/preferences/hints.py +367 -0
- psychopy/preferences/preferences.py +448 -0
- psychopy/projects/__init__.py +11 -0
- psychopy/projects/gitignore.py +45 -0
- psychopy/projects/pavlovia.py +1674 -0
- psychopy/projects/sshkeys.py +107 -0
- psychopy/psychojs.zip +0 -0
- psychopy/pylintrc +69 -0
- psychopy/scripts/__init__.py +0 -0
- psychopy/scripts/psychopy-pkgutil.py +969 -0
- psychopy/scripts/psyexpCompile.py +229 -0
- psychopy/session.py +1651 -0
- psychopy/sound/__init__.py +50 -0
- psychopy/sound/_base.py +399 -0
- psychopy/sound/audioclip.py +1325 -0
- psychopy/sound/audiodevice.py +857 -0
- psychopy/sound/backend_ptb.py +406 -0
- psychopy/sound/backend_pygame.py +323 -0
- psychopy/sound/backend_pyo.py +64 -0
- psychopy/sound/backend_pysound.py +324 -0
- psychopy/sound/backend_sounddevice.py +44 -0
- psychopy/sound/backends/__init__.py +0 -0
- psychopy/sound/exceptions.py +115 -0
- psychopy/sound/microphone.py +357 -0
- psychopy/sound/sound.py +58 -0
- psychopy/sound/transcribe.py +1321 -0
- psychopy/tests/README.md +344 -0
- psychopy/tests/__init__.py +47 -0
- psychopy/tests/data/Electronic_Chime-KevanGC-495939803.wav +0 -0
- psychopy/tests/data/TestCircle_w128h128_bottom_left.png +0 -0
- psychopy/tests/data/TestCircle_w128h128_bottom_right.png +0 -0
- psychopy/tests/data/TestCircle_w128h128_center_center.png +0 -0
- psychopy/tests/data/TestCircle_w128h128_top_left.png +0 -0
- psychopy/tests/data/TestCircle_w128h128_top_right.png +0 -0
- psychopy/tests/data/TestCircle_w128h64_bottom_left.png +0 -0
- psychopy/tests/data/TestCircle_w128h64_bottom_right.png +0 -0
- psychopy/tests/data/TestCircle_w128h64_center_center.png +0 -0
- psychopy/tests/data/TestCircle_w128h64_top_left.png +0 -0
- psychopy/tests/data/TestCircle_w128h64_top_right.png +0 -0
- psychopy/tests/data/TestCircle_w64h128_bottom_left.png +0 -0
- psychopy/tests/data/TestCircle_w64h128_bottom_right.png +0 -0
- psychopy/tests/data/TestCircle_w64h128_center_center.png +0 -0
- psychopy/tests/data/TestCircle_w64h128_top_left.png +0 -0
- psychopy/tests/data/TestCircle_w64h128_top_right.png +0 -0
- psychopy/tests/data/TestCircle_w64h64_bottom_left.png +0 -0
- psychopy/tests/data/TestCircle_w64h64_bottom_right.png +0 -0
- psychopy/tests/data/TestCircle_w64h64_center_center.png +0 -0
- psychopy/tests/data/TestCircle_w64h64_top_left.png +0 -0
- psychopy/tests/data/TestCircle_w64h64_top_right.png +0 -0
- psychopy/tests/data/TestForm_scrolling_nq10_s0.5.png +0 -0
- psychopy/tests/data/TestForm_scrolling_nq10_s0.png +0 -0
- psychopy/tests/data/TestForm_scrolling_nq10_s1.png +0 -0
- psychopy/tests/data/TestForm_scrolling_nq1_s0.5.png +0 -0
- psychopy/tests/data/TestForm_scrolling_nq1_s0.png +0 -0
- psychopy/tests/data/TestForm_scrolling_nq1_s1.png +0 -0
- psychopy/tests/data/TestForm_scrolling_nq3_s0.5.png +0 -0
- psychopy/tests/data/TestForm_scrolling_nq3_s0.png +0 -0
- psychopy/tests/data/TestForm_scrolling_nq3_s1.png +0 -0
- psychopy/tests/data/TestImage_w128h128_bottom_left.png +0 -0
- psychopy/tests/data/TestImage_w128h128_bottom_right.png +0 -0
- psychopy/tests/data/TestImage_w128h128_center_center.png +0 -0
- psychopy/tests/data/TestImage_w128h128_top_left.png +0 -0
- psychopy/tests/data/TestImage_w128h128_top_right.png +0 -0
- psychopy/tests/data/TestImage_w128h64_bottom_left.png +0 -0
- psychopy/tests/data/TestImage_w128h64_bottom_right.png +0 -0
- psychopy/tests/data/TestImage_w128h64_center_center.png +0 -0
- psychopy/tests/data/TestImage_w128h64_top_left.png +0 -0
- psychopy/tests/data/TestImage_w128h64_top_right.png +0 -0
- psychopy/tests/data/TestImage_w64h128_bottom_left.png +0 -0
- psychopy/tests/data/TestImage_w64h128_bottom_right.png +0 -0
- psychopy/tests/data/TestImage_w64h128_center_center.png +0 -0
- psychopy/tests/data/TestImage_w64h128_top_left.png +0 -0
- psychopy/tests/data/TestImage_w64h128_top_right.png +0 -0
- psychopy/tests/data/TestImage_w64h64_bottom_left.png +0 -0
- psychopy/tests/data/TestImage_w64h64_bottom_right.png +0 -0
- psychopy/tests/data/TestImage_w64h64_center_center.png +0 -0
- psychopy/tests/data/TestImage_w64h64_top_left.png +0 -0
- psychopy/tests/data/TestImage_w64h64_top_right.png +0 -0
- psychopy/tests/data/TestProgress_testValue_horizontal_center center_0.3.png +0 -0
- psychopy/tests/data/TestProgress_testValue_horizontal_center center_0.6.png +0 -0
- psychopy/tests/data/TestProgress_testValue_horizontal_left center_0.3.png +0 -0
- psychopy/tests/data/TestProgress_testValue_horizontal_left center_0.6.png +0 -0
- psychopy/tests/data/TestProgress_testValue_horizontal_right center_0.3.png +0 -0
- psychopy/tests/data/TestProgress_testValue_horizontal_right center_0.6.png +0 -0
- psychopy/tests/data/TestProgress_testValue_minmax_0.png +0 -0
- psychopy/tests/data/TestProgress_testValue_minmax_1.png +0 -0
- psychopy/tests/data/TestProgress_testValue_vertical_bottom center_0.3.png +0 -0
- psychopy/tests/data/TestProgress_testValue_vertical_bottom center_0.6.png +0 -0
- psychopy/tests/data/TestProgress_testValue_vertical_center center_0.3.png +0 -0
- psychopy/tests/data/TestProgress_testValue_vertical_center center_0.6.png +0 -0
- psychopy/tests/data/TestProgress_testValue_vertical_top center_0.3.png +0 -0
- psychopy/tests/data/TestProgress_testValue_vertical_top center_0.6.png +0 -0
- psychopy/tests/data/TestProgress_w128h128_bottom_left.png +0 -0
- psychopy/tests/data/TestProgress_w128h128_bottom_right.png +0 -0
- psychopy/tests/data/TestProgress_w128h128_center_center.png +0 -0
- psychopy/tests/data/TestProgress_w128h128_top_left.png +0 -0
- psychopy/tests/data/TestProgress_w128h128_top_right.png +0 -0
- psychopy/tests/data/TestProgress_w128h64_bottom_left.png +0 -0
- psychopy/tests/data/TestProgress_w128h64_bottom_right.png +0 -0
- psychopy/tests/data/TestProgress_w128h64_center_center.png +0 -0
- psychopy/tests/data/TestProgress_w128h64_top_left.png +0 -0
- psychopy/tests/data/TestProgress_w128h64_top_right.png +0 -0
- psychopy/tests/data/TestProgress_w64h128_bottom_left.png +0 -0
- psychopy/tests/data/TestProgress_w64h128_bottom_right.png +0 -0
- psychopy/tests/data/TestProgress_w64h128_center_center.png +0 -0
- psychopy/tests/data/TestProgress_w64h128_top_left.png +0 -0
- psychopy/tests/data/TestProgress_w64h128_top_right.png +0 -0
- psychopy/tests/data/TestProgress_w64h64_bottom_left.png +0 -0
- psychopy/tests/data/TestProgress_w64h64_bottom_right.png +0 -0
- psychopy/tests/data/TestProgress_w64h64_center_center.png +0 -0
- psychopy/tests/data/TestProgress_w64h64_top_left.png +0 -0
- psychopy/tests/data/TestProgress_w64h64_top_right.png +0 -0
- psychopy/tests/data/TestROI_w128h128_bottom_left.png +0 -0
- psychopy/tests/data/TestROI_w128h128_bottom_right.png +0 -0
- psychopy/tests/data/TestROI_w128h128_center_center.png +0 -0
- psychopy/tests/data/TestROI_w128h128_top_left.png +0 -0
- psychopy/tests/data/TestROI_w128h128_top_right.png +0 -0
- psychopy/tests/data/TestROI_w128h64_bottom_left.png +0 -0
- psychopy/tests/data/TestROI_w128h64_bottom_right.png +0 -0
- psychopy/tests/data/TestROI_w128h64_center_center.png +0 -0
- psychopy/tests/data/TestROI_w128h64_top_left.png +0 -0
- psychopy/tests/data/TestROI_w128h64_top_right.png +0 -0
- psychopy/tests/data/TestROI_w64h128_bottom_left.png +0 -0
- psychopy/tests/data/TestROI_w64h128_bottom_right.png +0 -0
- psychopy/tests/data/TestROI_w64h128_center_center.png +0 -0
- psychopy/tests/data/TestROI_w64h128_top_left.png +0 -0
- psychopy/tests/data/TestROI_w64h128_top_right.png +0 -0
- psychopy/tests/data/TestROI_w64h64_bottom_left.png +0 -0
- psychopy/tests/data/TestROI_w64h64_bottom_right.png +0 -0
- psychopy/tests/data/TestROI_w64h64_center_center.png +0 -0
- psychopy/tests/data/TestROI_w64h64_top_left.png +0 -0
- psychopy/tests/data/TestROI_w64h64_top_right.png +0 -0
- psychopy/tests/data/TestSession_exp1.png +0 -0
- psychopy/tests/data/TestSession_exp2.png +0 -0
- psychopy/tests/data/TestShape_w128h128_bottom_left.png +0 -0
- psychopy/tests/data/TestShape_w128h128_bottom_right.png +0 -0
- psychopy/tests/data/TestShape_w128h128_center_center.png +0 -0
- psychopy/tests/data/TestShape_w128h128_top_left.png +0 -0
- psychopy/tests/data/TestShape_w128h128_top_right.png +0 -0
- psychopy/tests/data/TestShape_w128h64_bottom_left.png +0 -0
- psychopy/tests/data/TestShape_w128h64_bottom_right.png +0 -0
- psychopy/tests/data/TestShape_w128h64_center_center.png +0 -0
- psychopy/tests/data/TestShape_w128h64_top_left.png +0 -0
- psychopy/tests/data/TestShape_w128h64_top_right.png +0 -0
- psychopy/tests/data/TestShape_w64h128_bottom_left.png +0 -0
- psychopy/tests/data/TestShape_w64h128_bottom_right.png +0 -0
- psychopy/tests/data/TestShape_w64h128_center_center.png +0 -0
- psychopy/tests/data/TestShape_w64h128_top_left.png +0 -0
- psychopy/tests/data/TestShape_w64h128_top_right.png +0 -0
- psychopy/tests/data/TestShape_w64h64_bottom_left.png +0 -0
- psychopy/tests/data/TestShape_w64h64_bottom_right.png +0 -0
- psychopy/tests/data/TestShape_w64h64_center_center.png +0 -0
- psychopy/tests/data/TestShape_w64h64_top_left.png +0 -0
- psychopy/tests/data/TestShape_w64h64_top_right.png +0 -0
- psychopy/tests/data/TestTarget_w128h128_bottom_left.png +0 -0
- psychopy/tests/data/TestTarget_w128h128_bottom_right.png +0 -0
- psychopy/tests/data/TestTarget_w128h128_center_center.png +0 -0
- psychopy/tests/data/TestTarget_w128h128_top_left.png +0 -0
- psychopy/tests/data/TestTarget_w128h128_top_right.png +0 -0
- psychopy/tests/data/TestTarget_w128h64_bottom_left.png +0 -0
- psychopy/tests/data/TestTarget_w128h64_bottom_right.png +0 -0
- psychopy/tests/data/TestTarget_w128h64_center_center.png +0 -0
- psychopy/tests/data/TestTarget_w128h64_top_left.png +0 -0
- psychopy/tests/data/TestTarget_w128h64_top_right.png +0 -0
- psychopy/tests/data/TestTarget_w64h128_bottom_left.png +0 -0
- psychopy/tests/data/TestTarget_w64h128_bottom_right.png +0 -0
- psychopy/tests/data/TestTarget_w64h128_center_center.png +0 -0
- psychopy/tests/data/TestTarget_w64h128_top_left.png +0 -0
- psychopy/tests/data/TestTarget_w64h128_top_right.png +0 -0
- psychopy/tests/data/TestTarget_w64h64_bottom_left.png +0 -0
- psychopy/tests/data/TestTarget_w64h64_bottom_right.png +0 -0
- psychopy/tests/data/TestTarget_w64h64_center_center.png +0 -0
- psychopy/tests/data/TestTarget_w64h64_top_left.png +0 -0
- psychopy/tests/data/TestTarget_w64h64_top_right.png +0 -0
- psychopy/tests/data/TestTextbox_testLetterSpacing_0p6.png +0 -0
- psychopy/tests/data/TestTextbox_testLetterSpacing_0p8.png +0 -0
- psychopy/tests/data/TestTextbox_testLetterSpacing_1.png +0 -0
- psychopy/tests/data/TestTextbox_testLetterSpacing_1p2.png +0 -0
- psychopy/tests/data/TestTextbox_testLetterSpacing_1p4.png +0 -0
- psychopy/tests/data/TestTextbox_testLetterSpacing_1p6.png +0 -0
- psychopy/tests/data/TestTextbox_testLetterSpacing_1p8.png +0 -0
- psychopy/tests/data/TestTextbox_testLetterSpacing_2p0.png +0 -0
- psychopy/tests/data/TestTextbox_testLetterSpacing_None.png +0 -0
- psychopy/tests/data/TestUnknownPluginComponent_load_resave.psyexp +135 -0
- psychopy/tests/data/Test_textbox/test_ori_0_bottom right.png +0 -0
- psychopy/tests/data/Test_textbox/test_ori_0_center.png +0 -0
- psychopy/tests/data/Test_textbox/test_ori_0_top left.png +0 -0
- psychopy/tests/data/Test_textbox/test_ori_120_bottom right.png +0 -0
- psychopy/tests/data/Test_textbox/test_ori_120_center.png +0 -0
- psychopy/tests/data/Test_textbox/test_ori_120_top left.png +0 -0
- psychopy/tests/data/Test_textbox/test_ori_180_bottom right.png +0 -0
- psychopy/tests/data/Test_textbox/test_ori_180_center.png +0 -0
- psychopy/tests/data/Test_textbox/test_ori_180_top left.png +0 -0
- psychopy/tests/data/Test_textbox/test_ori_240_bottom right.png +0 -0
- psychopy/tests/data/Test_textbox/test_ori_240_center.png +0 -0
- psychopy/tests/data/Test_textbox/test_ori_240_top left.png +0 -0
- psychopy/tests/data/Test_textbox_testSpeechpoint_-3ovr8_0ovr8.png +0 -0
- psychopy/tests/data/Test_textbox_testSpeechpoint_0ovr8_-3ovr8.png +0 -0
- psychopy/tests/data/Test_textbox_testSpeechpoint_0ovr8_3ovr8.png +0 -0
- psychopy/tests/data/Test_textbox_testSpeechpoint_3ovr8_0ovr8.png +0 -0
- psychopy/tests/data/Test_textbox_w128h128_bottom_left.png +0 -0
- psychopy/tests/data/Test_textbox_w128h128_bottom_right.png +0 -0
- psychopy/tests/data/Test_textbox_w128h128_center_center.png +0 -0
- psychopy/tests/data/Test_textbox_w128h128_top_left.png +0 -0
- psychopy/tests/data/Test_textbox_w128h128_top_right.png +0 -0
- psychopy/tests/data/Test_textbox_w128h64_bottom_left.png +0 -0
- psychopy/tests/data/Test_textbox_w128h64_bottom_right.png +0 -0
- psychopy/tests/data/Test_textbox_w128h64_center_center.png +0 -0
- psychopy/tests/data/Test_textbox_w128h64_top_left.png +0 -0
- psychopy/tests/data/Test_textbox_w128h64_top_right.png +0 -0
- psychopy/tests/data/Test_textbox_w64h128_bottom_left.png +0 -0
- psychopy/tests/data/Test_textbox_w64h128_bottom_right.png +0 -0
- psychopy/tests/data/Test_textbox_w64h128_center_center.png +0 -0
- psychopy/tests/data/Test_textbox_w64h128_top_left.png +0 -0
- psychopy/tests/data/Test_textbox_w64h128_top_right.png +0 -0
- psychopy/tests/data/Test_textbox_w64h64_bottom_left.png +0 -0
- psychopy/tests/data/Test_textbox_w64h64_bottom_right.png +0 -0
- psychopy/tests/data/Test_textbox_w64h64_center_center.png +0 -0
- psychopy/tests/data/Test_textbox_w64h64_top_left.png +0 -0
- psychopy/tests/data/Test_textbox_w64h64_top_right.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w128h128_bottom_left.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w128h128_bottom_right.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w128h128_center_center.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w128h128_top_left.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w128h128_top_right.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w128h64_bottom_left.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w128h64_bottom_right.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w128h64_center_center.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w128h64_top_left.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w128h64_top_right.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w64h128_bottom_left.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w64h128_bottom_right.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w64h128_center_center.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w64h128_top_left.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w64h128_top_right.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w64h64_bottom_left.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w64h64_bottom_right.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w64h64_center_center.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w64h64_top_left.png +0 -0
- psychopy/tests/data/Test_uax14_textbox_w64h64_top_right.png +0 -0
- psychopy/tests/data/TextComponent_disabled.psyexp +63 -0
- psychopy/tests/data/TextComponent_not_disabled.psyexp +63 -0
- psychopy/tests/data/aperture1_deg.png +0 -0
- psychopy/tests/data/aperture1_degFlat.png +0 -0
- psychopy/tests/data/aperture1_degFlatPos.png +0 -0
- psychopy/tests/data/aperture1_norm.png +0 -0
- psychopy/tests/data/aperture1_normHexbackground.png +0 -0
- psychopy/tests/data/aperture1_normNoShade.png +0 -0
- psychopy/tests/data/aperture1_pix.png +0 -0
- psychopy/tests/data/aperture1_stencil.png +0 -0
- psychopy/tests/data/aperture2_deg.png +0 -0
- psychopy/tests/data/aperture2_degFlat.png +0 -0
- psychopy/tests/data/aperture2_degFlatPos.png +0 -0
- psychopy/tests/data/aperture2_norm.png +0 -0
- psychopy/tests/data/aperture2_normHexbackground.png +0 -0
- psychopy/tests/data/aperture2_normNoShade.png +0 -0
- psychopy/tests/data/aperture2_pix.png +0 -0
- psychopy/tests/data/aperture2_stencil.png +0 -0
- psychopy/tests/data/beatandrcos_cm.png +0 -0
- psychopy/tests/data/beatandrcos_deg.png +0 -0
- psychopy/tests/data/beatandrcos_degFlat.png +0 -0
- psychopy/tests/data/beatandrcos_degFlatPos.png +0 -0
- psychopy/tests/data/beatandrcos_height.png +0 -0
- psychopy/tests/data/beatandrcos_norm.png +0 -0
- psychopy/tests/data/beatandrcos_normAddBlend.png +0 -0
- psychopy/tests/data/beatandrcos_normHexbackground.png +0 -0
- psychopy/tests/data/beatandrcos_pix.png +0 -0
- psychopy/tests/data/beatandrcos_stencil.png +0 -0
- psychopy/tests/data/blend_add_cm.png +0 -0
- psychopy/tests/data/blend_add_deg.png +0 -0
- psychopy/tests/data/blend_add_degFlat.png +0 -0
- psychopy/tests/data/blend_add_degFlatPos.png +0 -0
- psychopy/tests/data/blend_add_height.png +0 -0
- psychopy/tests/data/blend_add_norm.png +0 -0
- psychopy/tests/data/blend_add_normAddBlend.png +0 -0
- psychopy/tests/data/blend_add_normHexbackground.png +0 -0
- psychopy/tests/data/blend_add_normNoShade.png +0 -0
- psychopy/tests/data/blend_add_pix.png +0 -0
- psychopy/tests/data/blend_add_stencil.png +0 -0
- psychopy/tests/data/broken2020_2_5_resources/broken_resources.psyexp +84 -0
- psychopy/tests/data/broken2020_2_5_resources/psychopy72.png +0 -0
- psychopy/tests/data/bufferimg_gabor_cm.png +0 -0
- psychopy/tests/data/bufferimg_gabor_deg.png +0 -0
- psychopy/tests/data/bufferimg_gabor_degFlat.png +0 -0
- psychopy/tests/data/bufferimg_gabor_degFlatPos.png +0 -0
- psychopy/tests/data/bufferimg_gabor_height.png +0 -0
- psychopy/tests/data/bufferimg_gabor_norm.png +0 -0
- psychopy/tests/data/bufferimg_gabor_normAddBlend.png +0 -0
- psychopy/tests/data/bufferimg_gabor_normHexbackground.png +0 -0
- psychopy/tests/data/bufferimg_gabor_normNoShade.png +0 -0
- psychopy/tests/data/bufferimg_gabor_pix.png +0 -0
- psychopy/tests/data/bufferimg_gabor_stencil.png +0 -0
- psychopy/tests/data/circleHex_cm.png +0 -0
- psychopy/tests/data/circleHex_deg.png +0 -0
- psychopy/tests/data/circleHex_degFlat.png +0 -0
- psychopy/tests/data/circleHex_degFlatPos.png +0 -0
- psychopy/tests/data/circleHex_height.png +0 -0
- psychopy/tests/data/circleHex_norm.png +0 -0
- psychopy/tests/data/circleHex_normAddBlend.png +0 -0
- psychopy/tests/data/circleHex_normHexbackground.png +0 -0
- psychopy/tests/data/circleHex_normNoShade.png +0 -0
- psychopy/tests/data/circleHex_pix.png +0 -0
- psychopy/tests/data/circleHex_stencil.png +0 -0
- psychopy/tests/data/corrFullRandom.csv +16 -0
- psychopy/tests/data/corrFullRandom.tsv +6 -0
- psychopy/tests/data/corrFullRandomTH2.csv +16 -0
- psychopy/tests/data/corrMultiKeyExpWide.csv +3 -0
- psychopy/tests/data/corrMultiKeyTrials.csv +8 -0
- psychopy/tests/data/corrMultiKeyTrials.xlsx +0 -0
- psychopy/tests/data/corrRandom.csv +16 -0
- psychopy/tests/data/corrRandom.tsv +6 -0
- psychopy/tests/data/corrRandomTH2.csv +16 -0
- psychopy/tests/data/corrXlsx.xlsx +0 -0
- psychopy/tests/data/correctScript/js/correctCodeComponent.js +181 -0
- psychopy/tests/data/correctScript/js/correctImageComponent.js +204 -0
- psychopy/tests/data/correctScript/js/correctKeyboardComponent.js +225 -0
- psychopy/tests/data/correctScript/js/correctMouseComponent.js +221 -0
- psychopy/tests/data/correctScript/js/correctMovieComponent.js +210 -0
- psychopy/tests/data/correctScript/js/correctPolygonComponent.js +205 -0
- psychopy/tests/data/correctScript/js/correctSliderComponent.js +209 -0
- psychopy/tests/data/correctScript/js/correctSoundComponent.js +205 -0
- psychopy/tests/data/correctScript/js/correctTextComponent.js +207 -0
- psychopy/tests/data/correctScript/python/correctApertureComponent.py +157 -0
- psychopy/tests/data/correctScript/python/correctCodeComponent.py +135 -0
- psychopy/tests/data/correctScript/python/correctDotsComponent.py +161 -0
- psychopy/tests/data/correctScript/python/correctEnvGratingComponent.py +167 -0
- psychopy/tests/data/correctScript/python/correctFormComponent.py +150 -0
- psychopy/tests/data/correctScript/python/correctGratingComponent.py +158 -0
- psychopy/tests/data/correctScript/python/correctImageComponent.py +160 -0
- psychopy/tests/data/correctScript/python/correctJoyButtonsComponent.py +204 -0
- psychopy/tests/data/correctScript/python/correctJoystickComponent.py +214 -0
- psychopy/tests/data/correctScript/python/correctKeyboardComponent.py +169 -0
- psychopy/tests/data/correctScript/python/correctMicrophoneComponent.py +163 -0
- psychopy/tests/data/correctScript/python/correctMouseComponent.py +174 -0
- psychopy/tests/data/correctScript/python/correctMovieComponent.py +160 -0
- psychopy/tests/data/correctScript/python/correctNoiseStimComponent.py +169 -0
- psychopy/tests/data/correctScript/python/correctParallelOutComponent.py +156 -0
- psychopy/tests/data/correctScript/python/correctPatchComponent.py +159 -0
- psychopy/tests/data/correctScript/python/correctPolygonComponent.py +159 -0
- psychopy/tests/data/correctScript/python/correctQmixPumpComponent.py +174 -0
- psychopy/tests/data/correctScript/python/correctRatingScaleComponent.py +152 -0
- psychopy/tests/data/correctScript/python/correctSliderComponent.py +159 -0
- psychopy/tests/data/correctScript/python/correctSoundComponent.py +157 -0
- psychopy/tests/data/correctScript/python/correctStaticComponent.py +176 -0
- psychopy/tests/data/correctScript/python/correctTextComponent.py +159 -0
- psychopy/tests/data/correctScript/python/correctVariableComponent.py +139 -0
- psychopy/tests/data/correctScript/python/correctcedrusButtonBoxComponent.py +199 -0
- psychopy/tests/data/correctScript/python/correctioLabsButtonBoxComponent.py +187 -0
- psychopy/tests/data/dataTest.xlsx +0 -0
- psychopy/tests/data/dots_cm.png +0 -0
- psychopy/tests/data/dots_deg.png +0 -0
- psychopy/tests/data/dots_degFlat.png +0 -0
- psychopy/tests/data/dots_degFlatPos.png +0 -0
- psychopy/tests/data/dots_height.png +0 -0
- psychopy/tests/data/dots_norm.png +0 -0
- psychopy/tests/data/dots_normAddBlend.png +0 -0
- psychopy/tests/data/dots_normHexbackground.png +0 -0
- psychopy/tests/data/dots_normNoShade.png +0 -0
- psychopy/tests/data/dots_pix.png +0 -0
- psychopy/tests/data/dots_stencil.png +0 -0
- psychopy/tests/data/duplicateHeaders.csv +2 -0
- psychopy/tests/data/elarray1_cm.png +0 -0
- psychopy/tests/data/elarray1_deg.png +0 -0
- psychopy/tests/data/elarray1_degFlat.png +0 -0
- psychopy/tests/data/elarray1_degFlatPos.png +0 -0
- psychopy/tests/data/elarray1_height.png +0 -0
- psychopy/tests/data/elarray1_norm.png +0 -0
- psychopy/tests/data/elarray1_normAddBlend.png +0 -0
- psychopy/tests/data/elarray1_normHexbackground.png +0 -0
- psychopy/tests/data/elarray1_pix.png +0 -0
- psychopy/tests/data/elarray1_stencil.png +0 -0
- psychopy/tests/data/envelopeandrcos_cm.png +0 -0
- psychopy/tests/data/envelopeandrcos_deg.png +0 -0
- psychopy/tests/data/envelopeandrcos_degFlat.png +0 -0
- psychopy/tests/data/envelopeandrcos_degFlatPos.png +0 -0
- psychopy/tests/data/envelopeandrcos_height.png +0 -0
- psychopy/tests/data/envelopeandrcos_norm.png +0 -0
- psychopy/tests/data/envelopeandrcos_normAddBlend.png +0 -0
- psychopy/tests/data/envelopeandrcos_normHexbackground.png +0 -0
- psychopy/tests/data/envelopeandrcos_pix.png +0 -0
- psychopy/tests/data/envelopeandrcos_stencil.png +0 -0
- psychopy/tests/data/envelopepowerandrcos_cm.png +0 -0
- psychopy/tests/data/envelopepowerandrcos_deg.png +0 -0
- psychopy/tests/data/envelopepowerandrcos_degFlat.png +0 -0
- psychopy/tests/data/envelopepowerandrcos_degFlatPos.png +0 -0
- psychopy/tests/data/envelopepowerandrcos_height.png +0 -0
- psychopy/tests/data/envelopepowerandrcos_norm.png +0 -0
- psychopy/tests/data/envelopepowerandrcos_normAddBlend.png +0 -0
- psychopy/tests/data/envelopepowerandrcos_normHexbackground.png +0 -0
- psychopy/tests/data/envelopepowerandrcos_pix.png +0 -0
- psychopy/tests/data/envelopepowerandrcos_stencil.png +0 -0
- psychopy/tests/data/filltext.png +0 -0
- psychopy/tests/data/form_font_demographics.png +0 -0
- psychopy/tests/data/form_font_demographics.xlsx +0 -0
- psychopy/tests/data/form_font_languages.png +0 -0
- psychopy/tests/data/form_font_languages.xlsx +0 -0
- psychopy/tests/data/form_font_nonstandard.png +0 -0
- psychopy/tests/data/futureParams.psyexp +150 -0
- psychopy/tests/data/gabor1_cm.png +0 -0
- psychopy/tests/data/gabor1_deg.png +0 -0
- psychopy/tests/data/gabor1_degFlat.png +0 -0
- psychopy/tests/data/gabor1_degFlatPos.png +0 -0
- psychopy/tests/data/gabor1_height.png +0 -0
- psychopy/tests/data/gabor1_norm.png +0 -0
- psychopy/tests/data/gabor1_normAddBlend.png +0 -0
- psychopy/tests/data/gabor1_normHexbackground.png +0 -0
- psychopy/tests/data/gabor1_normNoShade.png +0 -0
- psychopy/tests/data/gabor1_pix.png +0 -0
- psychopy/tests/data/gabor1_stencil.png +0 -0
- psychopy/tests/data/gabor2_cm.png +0 -0
- psychopy/tests/data/gabor2_deg.png +0 -0
- psychopy/tests/data/gabor2_degFlat.png +0 -0
- psychopy/tests/data/gabor2_degFlatPos.png +0 -0
- psychopy/tests/data/gabor2_height.png +0 -0
- psychopy/tests/data/gabor2_norm.png +0 -0
- psychopy/tests/data/gabor2_normAddBlend.png +0 -0
- psychopy/tests/data/gabor2_normHexbackground.png +0 -0
- psychopy/tests/data/gabor2_normNoShade.png +0 -0
- psychopy/tests/data/gabor2_pix.png +0 -0
- psychopy/tests/data/gabor2_stencil.png +0 -0
- psychopy/tests/data/ghost_stroop.psyexp +131 -0
- psychopy/tests/data/ghost_trialTypes.xlsx +0 -0
- psychopy/tests/data/green_48000.flac.dist +0 -0
- psychopy/tests/data/greyscale.jpg +0 -0
- psychopy/tests/data/greyscale2.png +0 -0
- psychopy/tests/data/greyscale2_cm.png +0 -0
- psychopy/tests/data/greyscale2_deg.png +0 -0
- psychopy/tests/data/greyscale2_degFlat.png +0 -0
- psychopy/tests/data/greyscale2_degFlatPos.png +0 -0
- psychopy/tests/data/greyscale2_height.png +0 -0
- psychopy/tests/data/greyscale2_norm.png +0 -0
- psychopy/tests/data/greyscale2_normAddBlend.png +0 -0
- psychopy/tests/data/greyscale2_normHexbackground.png +0 -0
- psychopy/tests/data/greyscale2_normNoShade.png +0 -0
- psychopy/tests/data/greyscale2_pix.png +0 -0
- psychopy/tests/data/greyscale2_stencil.png +0 -0
- psychopy/tests/data/greyscaleLowContr_cm.png +0 -0
- psychopy/tests/data/greyscaleLowContr_deg.png +0 -0
- psychopy/tests/data/greyscaleLowContr_degFlat.png +0 -0
- psychopy/tests/data/greyscaleLowContr_degFlatPos.png +0 -0
- psychopy/tests/data/greyscaleLowContr_height.png +0 -0
- psychopy/tests/data/greyscaleLowContr_norm.png +0 -0
- psychopy/tests/data/greyscaleLowContr_normAddBlend.png +0 -0
- psychopy/tests/data/greyscaleLowContr_normHexbackground.png +0 -0
- psychopy/tests/data/greyscaleLowContr_normNoShade.png +0 -0
- psychopy/tests/data/greyscaleLowContr_pix.png +0 -0
- psychopy/tests/data/greyscaleLowContr_stencil.png +0 -0
- psychopy/tests/data/greyscale_cm.png +0 -0
- psychopy/tests/data/greyscale_deg.png +0 -0
- psychopy/tests/data/greyscale_degFlat.png +0 -0
- psychopy/tests/data/greyscale_degFlatPos.png +0 -0
- psychopy/tests/data/greyscale_height.png +0 -0
- psychopy/tests/data/greyscale_norm.png +0 -0
- psychopy/tests/data/greyscale_normAddBlend.png +0 -0
- psychopy/tests/data/greyscale_normHexbackground.png +0 -0
- psychopy/tests/data/greyscale_normNoShade.png +0 -0
- psychopy/tests/data/greyscale_pix.png +0 -0
- psychopy/tests/data/greyscale_stencil.png +0 -0
- psychopy/tests/data/imageAndGauss_cm.png +0 -0
- psychopy/tests/data/imageAndGauss_deg.png +0 -0
- psychopy/tests/data/imageAndGauss_degFlat.png +0 -0
- psychopy/tests/data/imageAndGauss_degFlatPos.png +0 -0
- psychopy/tests/data/imageAndGauss_height.png +0 -0
- psychopy/tests/data/imageAndGauss_norm.png +0 -0
- psychopy/tests/data/imageAndGauss_normAddBlend.png +0 -0
- psychopy/tests/data/imageAndGauss_normHexbackground.png +0 -0
- psychopy/tests/data/imageAndGauss_normNoShade.png +0 -0
- psychopy/tests/data/imageAndGauss_pix.png +0 -0
- psychopy/tests/data/imageAndGauss_stencil.png +0 -0
- psychopy/tests/data/movFrame1_cm.png +0 -0
- psychopy/tests/data/movFrame1_deg.png +0 -0
- psychopy/tests/data/movFrame1_degFlat.png +0 -0
- psychopy/tests/data/movFrame1_degFlatPos.png +0 -0
- psychopy/tests/data/movFrame1_height.png +0 -0
- psychopy/tests/data/movFrame1_norm.png +0 -0
- psychopy/tests/data/movFrame1_normAddBlend.png +0 -0
- psychopy/tests/data/movFrame1_normHexbackground.png +0 -0
- psychopy/tests/data/movFrame1_normNoShade.png +0 -0
- psychopy/tests/data/movFrame1_pix.png +0 -0
- psychopy/tests/data/movFrame1_stencil.png +0 -0
- psychopy/tests/data/multiKeypressExperiment.psydat +357 -0
- psychopy/tests/data/multiKeypressTrialhandler.psydat +252 -0
- psychopy/tests/data/multiStairConds.xlsx +0 -0
- psychopy/tests/data/multiStairQuestPlus.xlsx +0 -0
- psychopy/tests/data/newstyle.psydat +6155 -0
- psychopy/tests/data/noiseAndRcos_cm.png +0 -0
- psychopy/tests/data/noiseAndRcos_deg.png +0 -0
- psychopy/tests/data/noiseAndRcos_degFlat.png +0 -0
- psychopy/tests/data/noiseAndRcos_degFlatPos.png +0 -0
- psychopy/tests/data/noiseAndRcos_height.png +0 -0
- psychopy/tests/data/noiseAndRcos_norm.png +0 -0
- psychopy/tests/data/noiseAndRcos_normAddBlend.png +0 -0
- psychopy/tests/data/noiseAndRcos_normHexbackground.png +0 -0
- psychopy/tests/data/noiseAndRcos_normNoShade.png +0 -0
- psychopy/tests/data/noiseAndRcos_pix.png +0 -0
- psychopy/tests/data/noiseAndRcos_stencil.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_cm.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_deg.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_degFlat.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_degFlatPos.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_height.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_norm.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_normAddBlend.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_normHexbackground.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_normNoShade.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_pix.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_stencil.png +0 -0
- psychopy/tests/data/numpyImage_cm.png +0 -0
- psychopy/tests/data/numpyImage_deg.png +0 -0
- psychopy/tests/data/numpyImage_degFlat.png +0 -0
- psychopy/tests/data/numpyImage_degFlatPos.png +0 -0
- psychopy/tests/data/numpyImage_height.png +0 -0
- psychopy/tests/data/numpyImage_norm.png +0 -0
- psychopy/tests/data/numpyImage_normAddBlend.png +0 -0
- psychopy/tests/data/numpyImage_normHexbackground.png +0 -0
- psychopy/tests/data/numpyImage_normNoShade.png +0 -0
- psychopy/tests/data/numpyImage_pix.png +0 -0
- psychopy/tests/data/numpyImage_stencil.png +0 -0
- psychopy/tests/data/numpyLowContr_cm.png +0 -0
- psychopy/tests/data/numpyLowContr_deg.png +0 -0
- psychopy/tests/data/numpyLowContr_degFlat.png +0 -0
- psychopy/tests/data/numpyLowContr_degFlatPos.png +0 -0
- psychopy/tests/data/numpyLowContr_height.png +0 -0
- psychopy/tests/data/numpyLowContr_norm.png +0 -0
- psychopy/tests/data/numpyLowContr_normAddBlend.png +0 -0
- psychopy/tests/data/numpyLowContr_normHexbackground.png +0 -0
- psychopy/tests/data/numpyLowContr_normNoShade.png +0 -0
- psychopy/tests/data/numpyLowContr_pix.png +0 -0
- psychopy/tests/data/numpyLowContr_stencil.png +0 -0
- psychopy/tests/data/oldstyle.psydat +1534 -0
- psychopy/tests/data/oldstyle_stair.psydat +263 -0
- psychopy/tests/data/ratingscale1_cm.png +0 -0
- psychopy/tests/data/ratingscale1_deg.png +0 -0
- psychopy/tests/data/ratingscale1_degFlat.png +0 -0
- psychopy/tests/data/ratingscale1_degFlatPos.png +0 -0
- psychopy/tests/data/ratingscale1_height.png +0 -0
- psychopy/tests/data/ratingscale1_norm.png +0 -0
- psychopy/tests/data/ratingscale1_normAddBlend.png +0 -0
- psychopy/tests/data/ratingscale1_normHexbackground.png +0 -0
- psychopy/tests/data/ratingscale1_normNoShade.png +0 -0
- psychopy/tests/data/ratingscale1_pix.png +0 -0
- psychopy/tests/data/ratingscale1_stencil.png +0 -0
- psychopy/tests/data/red_16000.flac.dist +0 -0
- psychopy/tests/data/retroListParam.psyexp +82 -0
- psychopy/tests/data/right_to_left_unidcode.xlsx +0 -0
- psychopy/tests/data/sample.meshwarp.data +11522 -0
- psychopy/tests/data/shape2_1_cm.png +0 -0
- psychopy/tests/data/shape2_1_deg.png +0 -0
- psychopy/tests/data/shape2_1_degFlat.png +0 -0
- psychopy/tests/data/shape2_1_degFlatPos.png +0 -0
- psychopy/tests/data/shape2_1_height.png +0 -0
- psychopy/tests/data/shape2_1_norm.png +0 -0
- psychopy/tests/data/shape2_1_normAddBlend.png +0 -0
- psychopy/tests/data/shape2_1_normHexbackground.png +0 -0
- psychopy/tests/data/shape2_1_normNoShade.png +0 -0
- psychopy/tests/data/shape2_1_pix.png +0 -0
- psychopy/tests/data/shape2_1_stencil.png +0 -0
- psychopy/tests/data/shape2_2_cm.png +0 -0
- psychopy/tests/data/shape2_2_deg.png +0 -0
- psychopy/tests/data/shape2_2_degFlat.png +0 -0
- psychopy/tests/data/shape2_2_degFlatPos.png +0 -0
- psychopy/tests/data/shape2_2_height.png +0 -0
- psychopy/tests/data/shape2_2_norm.png +0 -0
- psychopy/tests/data/shape2_2_normAddBlend.png +0 -0
- psychopy/tests/data/shape2_2_normHexbackground.png +0 -0
- psychopy/tests/data/shape2_2_normNoShade.png +0 -0
- psychopy/tests/data/shape2_2_pix.png +0 -0
- psychopy/tests/data/shape2_2_stencil.png +0 -0
- psychopy/tests/data/simpleimage1_cm.png +0 -0
- psychopy/tests/data/simpleimage1_deg.png +0 -0
- psychopy/tests/data/simpleimage1_degFlat.png +0 -0
- psychopy/tests/data/simpleimage1_degFlatPos.png +0 -0
- psychopy/tests/data/simpleimage1_height.png +0 -0
- psychopy/tests/data/simpleimage1_norm.png +0 -0
- psychopy/tests/data/simpleimage1_normAddBlend.png +0 -0
- psychopy/tests/data/simpleimage1_normHexbackground.png +0 -0
- psychopy/tests/data/simpleimage1_normNoShade.png +0 -0
- psychopy/tests/data/simpleimage1_pix.png +0 -0
- psychopy/tests/data/simpleimage1_stencil.png +0 -0
- psychopy/tests/data/test001EntryImporting.psyexp +66 -0
- psychopy/tests/data/testMovie.mp4 +0 -0
- psychopy/tests/data/test_basic_run.py +1 -0
- psychopy/tests/data/test_circle_radius_.1height.png +0 -0
- psychopy/tests/data/test_circle_radius_.2height.png +0 -0
- psychopy/tests/data/test_circle_radius_10pix.png +0 -0
- psychopy/tests/data/test_circle_radius_20pix.png +0 -0
- psychopy/tests/data/test_components/testClearKeyboard/testClearKeyboard.psyexp +200 -0
- psychopy/tests/data/test_form_combinations_choice_bigItem.png +0 -0
- psychopy/tests/data/test_form_combinations_choice_bigItemOverflow.png +0 -0
- psychopy/tests/data/test_form_combinations_choice_bigResp.png +0 -0
- psychopy/tests/data/test_form_combinations_choice_bigRespOverflow.png +0 -0
- psychopy/tests/data/test_form_combinations_description_bigItem.png +0 -0
- psychopy/tests/data/test_form_combinations_description_bigItemOverflow.png +0 -0
- psychopy/tests/data/test_form_combinations_description_bigResp.png +0 -0
- psychopy/tests/data/test_form_combinations_description_bigRespOverflow.png +0 -0
- psychopy/tests/data/test_form_combinations_free text_bigItem.png +0 -0
- psychopy/tests/data/test_form_combinations_free text_bigItemOverflow.png +0 -0
- psychopy/tests/data/test_form_combinations_free text_bigResp.png +0 -0
- psychopy/tests/data/test_form_combinations_free text_bigRespOverflow.png +0 -0
- psychopy/tests/data/test_form_combinations_heading_bigItem.png +0 -0
- psychopy/tests/data/test_form_combinations_heading_bigItemOverflow.png +0 -0
- psychopy/tests/data/test_form_combinations_heading_bigResp.png +0 -0
- psychopy/tests/data/test_form_combinations_heading_bigRespOverflow.png +0 -0
- psychopy/tests/data/test_form_combinations_radio_bigItem.png +0 -0
- psychopy/tests/data/test_form_combinations_radio_bigItemOverflow.png +0 -0
- psychopy/tests/data/test_form_combinations_radio_bigResp.png +0 -0
- psychopy/tests/data/test_form_combinations_radio_bigRespOverflow.png +0 -0
- psychopy/tests/data/test_form_combinations_rating_bigItem.png +0 -0
- psychopy/tests/data/test_form_combinations_rating_bigItemOverflow.png +0 -0
- psychopy/tests/data/test_form_combinations_rating_bigResp.png +0 -0
- psychopy/tests/data/test_form_combinations_rating_bigRespOverflow.png +0 -0
- psychopy/tests/data/test_form_combinations_slider_bigItem.png +0 -0
- psychopy/tests/data/test_form_combinations_slider_bigItemOverflow.png +0 -0
- psychopy/tests/data/test_form_combinations_slider_bigResp.png +0 -0
- psychopy/tests/data/test_form_combinations_slider_bigRespOverflow.png +0 -0
- psychopy/tests/data/test_get_resources/blue.png +0 -0
- psychopy/tests/data/test_get_resources/groupA.csv +3 -0
- psychopy/tests/data/test_get_resources/groupB.csv +3 -0
- psychopy/tests/data/test_get_resources/groups.csv +3 -0
- psychopy/tests/data/test_get_resources/handledbyrm_constrloop.psyexp +143 -0
- psychopy/tests/data/test_get_resources/handledbyrm_noloop.psyexp +114 -0
- psychopy/tests/data/test_get_resources/handledbyrm_recurloop.psyexp +138 -0
- psychopy/tests/data/test_get_resources/handledbyrm_strloop.psyexp +126 -0
- psychopy/tests/data/test_get_resources/handledbystatic_constrloop.psyexp +141 -0
- psychopy/tests/data/test_get_resources/handledbystatic_noloop.psyexp +112 -0
- psychopy/tests/data/test_get_resources/handledbystatic_recurloop.psyexp +136 -0
- psychopy/tests/data/test_get_resources/handledbystatic_strloop.psyexp +124 -0
- psychopy/tests/data/test_get_resources/unhandled_constrloop.psyexp +128 -0
- psychopy/tests/data/test_get_resources/unhandled_noloop.psyexp +99 -0
- psychopy/tests/data/test_get_resources/unhandled_recurloop.psyexp +123 -0
- psychopy/tests/data/test_get_resources/unhandled_strloop.psyexp +111 -0
- psychopy/tests/data/test_get_resources/white.png +0 -0
- psychopy/tests/data/test_get_resources/yellow.png +0 -0
- psychopy/tests/data/test_image_aspect_default_None.png +0 -0
- psychopy/tests/data/test_image_aspect_default_xFull_yNone.png +0 -0
- psychopy/tests/data/test_image_aspect_default_xNone_yFull.png +0 -0
- psychopy/tests/data/test_image_aspect_default_xNone_yNone.png +0 -0
- psychopy/tests/data/test_image_flip_anchor_horiz.png +0 -0
- psychopy/tests/data/test_image_flip_anchor_vert.png +0 -0
- psychopy/tests/data/test_loaded_namespace/test_counterbalance.psyexp +142 -0
- psychopy/tests/data/test_loaded_namespace/test_custom_missing.psyexp +129 -0
- psychopy/tests/data/test_loaded_namespace/test_missing_counterbalance.psyexp +116 -0
- psychopy/tests/data/test_loaded_namespace/test_mix_exp.psyexp +181 -0
- psychopy/tests/data/test_loaded_namespace/test_mix_missing.psyexp +140 -0
- psychopy/tests/data/test_loaded_namespace/test_mix_name_calibration.psyexp +164 -0
- psychopy/tests/data/test_loops/testLoopsBlocks.psyexp +161 -0
- psychopy/tests/data/test_loops/testStaircase.psyexp +105 -0
- psychopy/tests/data/test_loops/test_current_loop_attr.psyexp +185 -0
- psychopy/tests/data/test_panorama/panoramaTestImage.png +0 -0
- psychopy/tests/data/test_panorama/panoramaTestImage.svg +1 -0
- psychopy/tests/data/test_panorama/testPanorama_mvmt_-0.3_-0.3.png +0 -0
- psychopy/tests/data/test_panorama/testPanorama_mvmt_-0.3_0.3.png +0 -0
- psychopy/tests/data/test_panorama/testPanorama_mvmt_-1.0_-0.3.png +0 -0
- psychopy/tests/data/test_panorama/testPanorama_mvmt_-1.0_0.3.png +0 -0
- psychopy/tests/data/test_panorama/testPanorama_mvmt_0.0_-1.0.png +0 -0
- psychopy/tests/data/test_panorama/testPanorama_mvmt_0.0_1.0.png +0 -0
- psychopy/tests/data/test_panorama/testPanorama_mvmt_0.3_-0.3.png +0 -0
- psychopy/tests/data/test_panorama/testPanorama_mvmt_0.3_0.3.png +0 -0
- psychopy/tests/data/test_resources.psyexp +491 -0
- psychopy/tests/data/test_session/outside_root/externalExp.psyexp +116 -0
- psychopy/tests/data/test_session/root/annotation/annotation.psyexp +161 -0
- psychopy/tests/data/test_session/root/error/error.psyexp +93 -0
- psychopy/tests/data/test_session/root/exp1/exp1.psyexp +133 -0
- psychopy/tests/data/test_session/root/exp2/exp2.psyexp +133 -0
- psychopy/tests/data/test_session/root/frameRate/frameRate.psyexp +114 -0
- psychopy/tests/data/test_session/root/invUseVersion/invUseVersion.psyexp +133 -0
- psychopy/tests/data/test_session/root/testClockFormat/testClockFormat.psyexp +122 -0
- psychopy/tests/data/test_session/root/testCtrls/testCtrls.psyexp +115 -0
- psychopy/tests/data/test_session/root/testEditExpInfo/testEditExpInfo.psyexp +135 -0
- psychopy/tests/data/test_session/root/testFutureTrials/testFutureTrials.psyexp +155 -0
- psychopy/tests/data/test_session/root/testNamedButtonBox/testNamedButtonBox.psyexp +145 -0
- psychopy/tests/data/test_session/root/testTrialNav/trialNav.psyexp +158 -0
- psychopy/tests/data/test_slider_horiz_accute_horiz.png +0 -0
- psychopy/tests/data/test_slider_horiz_accute_vert.png +0 -0
- psychopy/tests/data/test_slider_horiz_horiz.png +0 -0
- psychopy/tests/data/test_slider_horiz_obtuse_horiz.png +0 -0
- psychopy/tests/data/test_slider_horiz_obtuse_vert.png +0 -0
- psychopy/tests/data/test_slider_horiz_vert.png +0 -0
- psychopy/tests/data/test_slider_ticklabelloc_blanks.png +0 -0
- psychopy/tests/data/test_slider_ticklabelloc_clustered.png +0 -0
- psychopy/tests/data/test_slider_ticklabelloc_morelabels.png +0 -0
- psychopy/tests/data/test_slider_ticklabelloc_morelabelsclustered.png +0 -0
- psychopy/tests/data/test_slider_ticklabelloc_moreticks.png +0 -0
- psychopy/tests/data/test_slider_ticklabelloc_moreticksclustered.png +0 -0
- psychopy/tests/data/test_slider_ticklabelloc_nolabels.png +0 -0
- psychopy/tests/data/test_slider_ticklabelloc_noticks.png +0 -0
- psychopy/tests/data/test_slider_ticklabelloc_simple.png +0 -0
- psychopy/tests/data/test_slider_triangle_horiz_False_flip_False.png +0 -0
- psychopy/tests/data/test_slider_triangle_horiz_False_flip_True.png +0 -0
- psychopy/tests/data/test_slider_triangle_horiz_True_flip_False.png +0 -0
- psychopy/tests/data/test_slider_triangle_horiz_True_flip_True.png +0 -0
- psychopy/tests/data/test_sounds/default_16000.wav +0 -0
- psychopy/tests/data/test_sounds/default_192000.wav +0 -0
- psychopy/tests/data/test_sounds/default_22050.wav +0 -0
- psychopy/tests/data/test_sounds/default_32000.wav +0 -0
- psychopy/tests/data/test_sounds/default_44100.wav +0 -0
- psychopy/tests/data/test_sounds/default_48000.wav +0 -0
- psychopy/tests/data/test_sounds/default_8000.wav +0 -0
- psychopy/tests/data/test_sounds/default_96000.wav +0 -0
- psychopy/tests/data/test_static_component_script.psyexp +76 -0
- psychopy/tests/data/test_win_bg_large_256_default.png +0 -0
- psychopy/tests/data/test_win_bg_large_500_default.png +0 -0
- psychopy/tests/data/test_win_bg_small_200_default.png +0 -0
- psychopy/tests/data/test_win_bg_small_256_default.png +0 -0
- psychopy/tests/data/test_win_bg_tall_200_default.png +0 -0
- psychopy/tests/data/test_win_bg_tall_256_default.png +0 -0
- psychopy/tests/data/test_win_bg_tall_500_default.png +0 -0
- psychopy/tests/data/test_win_bg_tall_fill_default.png +0 -0
- psychopy/tests/data/test_win_bg_wide_200_default.png +0 -0
- psychopy/tests/data/test_win_bg_wide_256_default.png +0 -0
- psychopy/tests/data/test_win_bg_wide_500_default.png +0 -0
- psychopy/tests/data/test_win_bg_wide_fill_default.png +0 -0
- psychopy/tests/data/test_win_bgcolor_blue.png +0 -0
- psychopy/tests/data/test_win_bgcolor_green.png +0 -0
- psychopy/tests/data/test_win_bgcolor_red.png +0 -0
- psychopy/tests/data/testimage.jpg +0 -0
- psychopy/tests/data/testimagegray.jpg +0 -0
- psychopy/tests/data/testpixels.png +0 -0
- psychopy/tests/data/testwedges.png +0 -0
- psychopy/tests/data/text1_cm.png +0 -0
- psychopy/tests/data/text1_deg.png +0 -0
- psychopy/tests/data/text1_degFlat.png +0 -0
- psychopy/tests/data/text1_degFlatPos.png +0 -0
- psychopy/tests/data/text1_height.png +0 -0
- psychopy/tests/data/text1_norm.png +0 -0
- psychopy/tests/data/text1_normAddBlend.png +0 -0
- psychopy/tests/data/text1_normHexbackground.png +0 -0
- psychopy/tests/data/text1_normNoShade.png +0 -0
- psychopy/tests/data/text1_pix.png +0 -0
- psychopy/tests/data/text1_stencil.png +0 -0
- psychopy/tests/data/text2_cm.png +0 -0
- psychopy/tests/data/text2_deg.png +0 -0
- psychopy/tests/data/text2_degFlat.png +0 -0
- psychopy/tests/data/text2_degFlatPos.png +0 -0
- psychopy/tests/data/text2_norm.png +0 -0
- psychopy/tests/data/text2_normNoShade.png +0 -0
- psychopy/tests/data/text2_pix.png +0 -0
- psychopy/tests/data/textbox_charcolors_default_roygbiv.png +0 -0
- psychopy/tests/data/textbox_charcolors_default_white_hello_black_there.png +0 -0
- psychopy/tests/data/textbox_default_align_bottom_center.png +0 -0
- psychopy/tests/data/textbox_default_align_bottom_left.png +0 -0
- psychopy/tests/data/textbox_default_align_bottom_right.png +0 -0
- psychopy/tests/data/textbox_default_align_center.png +0 -0
- psychopy/tests/data/textbox_default_align_center_center.png +0 -0
- psychopy/tests/data/textbox_default_align_center_left.png +0 -0
- psychopy/tests/data/textbox_default_align_center_right.png +0 -0
- psychopy/tests/data/textbox_default_align_centre.png +0 -0
- psychopy/tests/data/textbox_default_align_centre_centre.png +0 -0
- psychopy/tests/data/textbox_default_align_more_than_two_words.png +0 -0
- psychopy/tests/data/textbox_default_align_someword.png +0 -0
- psychopy/tests/data/textbox_default_align_top_center.png +0 -0
- psychopy/tests/data/textbox_default_align_top_left.png +0 -0
- psychopy/tests/data/textbox_default_align_top_right.png +0 -0
- psychopy/tests/data/textbox_default_colors_WOB.png +0 -0
- psychopy/tests/data/textbox_default_colors_exemplar1.png +0 -0
- psychopy/tests/data/textbox_default_colors_exemplar2.png +0 -0
- psychopy/tests/data/textbox_default_colors_exemplar3.png +0 -0
- psychopy/tests/data/textbox_default_colors_tyke1.png +0 -0
- psychopy/tests/data/textbox_default_colors_tyke2.png +0 -0
- psychopy/tests/data/textbox_default_colors_tyke3.png +0 -0
- psychopy/tests/data/textbox_default_cutoff_top.png +0 -0
- psychopy/tests/data/textbox_default_exemplar_1.png +0 -0
- psychopy/tests/data/textbox_default_exemplar_2.png +0 -0
- psychopy/tests/data/textbox_default_exemplar_3.png +0 -0
- psychopy/tests/data/textbox_default_exemplar_4.png +0 -0
- psychopy/tests/data/textbox_default_tyke_1.png +0 -0
- psychopy/tests/data/textbox_default_tyke_2.png +0 -0
- psychopy/tests/data/textbox_typing_blank.png +0 -0
- psychopy/tests/data/textbox_typing_longKoeran.png +0 -0
- psychopy/tests/data/textbox_typing_longWord.png +0 -0
- psychopy/tests/data/textbox_typing_navDel.png +0 -0
- psychopy/tests/data/textbox_typing_navLR.png +0 -0
- psychopy/tests/data/textbox_typing_newline.png +0 -0
- psychopy/tests/data/textbox_typing_pangram.png +0 -0
- psychopy/tests/data/textbox_uax14_align_bottom_center.png +0 -0
- psychopy/tests/data/textbox_uax14_align_bottom_left.png +0 -0
- psychopy/tests/data/textbox_uax14_align_bottom_right.png +0 -0
- psychopy/tests/data/textbox_uax14_align_center.png +0 -0
- psychopy/tests/data/textbox_uax14_align_center_center.png +0 -0
- psychopy/tests/data/textbox_uax14_align_center_left.png +0 -0
- psychopy/tests/data/textbox_uax14_align_center_right.png +0 -0
- psychopy/tests/data/textbox_uax14_align_centre.png +0 -0
- psychopy/tests/data/textbox_uax14_align_centre_centre.png +0 -0
- psychopy/tests/data/textbox_uax14_align_more_than_two_words.png +0 -0
- psychopy/tests/data/textbox_uax14_align_someword.png +0 -0
- psychopy/tests/data/textbox_uax14_align_top_center.png +0 -0
- psychopy/tests/data/textbox_uax14_align_top_left.png +0 -0
- psychopy/tests/data/textbox_uax14_align_top_right.png +0 -0
- psychopy/tests/data/textbox_uax14_colors_WOB.png +0 -0
- psychopy/tests/data/textbox_uax14_colors_exemplar1.png +0 -0
- psychopy/tests/data/textbox_uax14_colors_exemplar2.png +0 -0
- psychopy/tests/data/textbox_uax14_colors_exemplar3.png +0 -0
- psychopy/tests/data/textbox_uax14_colors_tyke1.png +0 -0
- psychopy/tests/data/textbox_uax14_colors_tyke2.png +0 -0
- psychopy/tests/data/textbox_uax14_colors_tyke3.png +0 -0
- psychopy/tests/data/textbox_uax14_cutoff_top.png +0 -0
- psychopy/tests/data/textbox_uax14_exemplar_1.png +0 -0
- psychopy/tests/data/textbox_uax14_exemplar_2.png +0 -0
- psychopy/tests/data/textbox_uax14_exemplar_3.png +0 -0
- psychopy/tests/data/textbox_uax14_exemplar_4.png +0 -0
- psychopy/tests/data/textbox_uax14_tyke_1.png +0 -0
- psychopy/tests/data/textbox_uax14_tyke_2.png +0 -0
- psychopy/tests/data/trialTypes.csv +1 -0
- psychopy/tests/data/trialTypes.docx +0 -0
- psychopy/tests/data/trialTypes.pkl +0 -0
- psychopy/tests/data/trialTypes.tsv +7 -0
- psychopy/tests/data/trialTypes.xls +0 -0
- psychopy/tests/data/trialTypes.xlsx +0 -0
- psychopy/tests/data/trialTypes_eu.csv +7 -0
- psychopy/tests/data/trialsBlankCols.xlsx +0 -0
- psychopy/tests/data/wedge1_cm.png +0 -0
- psychopy/tests/data/wedge1_deg.png +0 -0
- psychopy/tests/data/wedge1_degFlat.png +0 -0
- psychopy/tests/data/wedge1_degFlatPos.png +0 -0
- psychopy/tests/data/wedge1_height.png +0 -0
- psychopy/tests/data/wedge1_norm.png +0 -0
- psychopy/tests/data/wedge1_normAddBlend.png +0 -0
- psychopy/tests/data/wedge1_normHexbackground.png +0 -0
- psychopy/tests/data/wedge1_normNoShade.png +0 -0
- psychopy/tests/data/wedge1_pix.png +0 -0
- psychopy/tests/data/wedge1_stencil.png +0 -0
- psychopy/tests/data/wedge2_cm.png +0 -0
- psychopy/tests/data/wedge2_deg.png +0 -0
- psychopy/tests/data/wedge2_degFlat.png +0 -0
- psychopy/tests/data/wedge2_degFlatPos.png +0 -0
- psychopy/tests/data/wedge2_height.png +0 -0
- psychopy/tests/data/wedge2_norm.png +0 -0
- psychopy/tests/data/wedge2_normAddBlend.png +0 -0
- psychopy/tests/data/wedge2_normHexbackground.png +0 -0
- psychopy/tests/data/wedge2_normNoShade.png +0 -0
- psychopy/tests/data/wedge2_pix.png +0 -0
- psychopy/tests/data/wedge2_stencil.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale-1_-1_pos-0.4_0.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale-1_-1_pos0_0.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale-1_1_pos-0.4_0.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale-1_1_pos0_0.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale-2_-2_pos-0.4_0.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale-2_-2_pos0_0.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale-2_2_pos-0.4_0.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale-2_2_pos0_0.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale1_-1_pos-0.4_0.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale1_-1_pos0_0.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale1_1_pos-0.4_0.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale1_1_pos0_0.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale2_-2_pos-0.4_0.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale2_-2_pos0_0.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale2_2_pos-0.4_0.png +0 -0
- psychopy/tests/data/winScalePos_ori0_scale2_2_pos0_0.png +0 -0
- psychopy/tests/data/winScalePos_ori45_scale-1_-1_pos0_0.png +0 -0
- psychopy/tests/data/winScalePos_ori45_scale-1_1_pos0_0.png +0 -0
- psychopy/tests/data/winScalePos_ori45_scale-2_-2_pos0_0.png +0 -0
- psychopy/tests/data/winScalePos_ori45_scale-2_2_pos0_0.png +0 -0
- psychopy/tests/data/winScalePos_ori45_scale1_-1_pos0_0.png +0 -0
- psychopy/tests/data/winScalePos_ori45_scale1_1_pos0_0.png +0 -0
- psychopy/tests/data/winScalePos_ori45_scale2_-2_pos0_0.png +0 -0
- psychopy/tests/data/winScalePos_ori45_scale2_2_pos0_0.png +0 -0
- psychopy/tests/doc/run_btn.png +0 -0
- psychopy/tests/doc/test-suite-bugs.jpg +0 -0
- psychopy/tests/doc/user-bugs.jpg +0 -0
- psychopy/tests/dummy_xorg.conf +21 -0
- psychopy/tests/run.py +50 -0
- psychopy/tests/test_Installation.py +38 -0
- psychopy/tests/test_alerts/test_alerts.py +37 -0
- psychopy/tests/test_alerts/test_alerttools.py +132 -0
- psychopy/tests/test_app/__init__.py +0 -0
- psychopy/tests/test_app/conftest.py +40 -0
- psychopy/tests/test_app/test_builder/__init__.py +0 -0
- psychopy/tests/test_app/test_builder/test_BuilderFrame.py +166 -0
- psychopy/tests/test_app/test_builder/test_CompileFromBuilder.py +133 -0
- psychopy/tests/test_app/test_builder/test_ComponentDialogs.py +98 -0
- psychopy/tests/test_app/test_command_line.py +65 -0
- psychopy/tests/test_app/test_runner/__init__.py +0 -0
- psychopy/tests/test_app/test_runner/test_RunnerFrame.py +166 -0
- psychopy/tests/test_app/test_speed.py +147 -0
- psychopy/tests/test_app/test_themes/test_icons.py +79 -0
- psychopy/tests/test_codecov.py +29 -0
- psychopy/tests/test_colors/test_Color.py +41 -0
- psychopy/tests/test_data/dataPrev.xlsx +0 -0
- psychopy/tests/test_data/test_ExperimentHandler.py +171 -0
- psychopy/tests/test_data/test_MultiStairHandler.py +174 -0
- psychopy/tests/test_data/test_StairHandlers.py +1241 -0
- psychopy/tests/test_data/test_TrialHandler.py +335 -0
- psychopy/tests/test_data/test_TrialHandler2.py +584 -0
- psychopy/tests/test_data/test_TrialHandlerExt.py +359 -0
- psychopy/tests/test_data/test_fitFunctions.py +101 -0
- psychopy/tests/test_data/test_utils.py +173 -0
- psychopy/tests/test_data/test_xlsx.py +92 -0
- psychopy/tests/test_demos/test_builder_demos.py +52 -0
- psychopy/tests/test_experiment/__init__.py +0 -0
- psychopy/tests/test_experiment/known_py_diffs.txt +47 -0
- psychopy/tests/test_experiment/needs_wx/__init__.py +0 -0
- psychopy/tests/test_experiment/needs_wx/componsTemplate.txt +14780 -0
- psychopy/tests/test_experiment/needs_wx/genComponsTemplate.py +130 -0
- psychopy/tests/test_experiment/needs_wx/test_Experiment.py +406 -0
- psychopy/tests/test_experiment/needs_wx/test_components.py +170 -0
- psychopy/tests/test_experiment/test_component_compile_js.py +59 -0
- psychopy/tests/test_experiment/test_component_compile_python.py +165 -0
- psychopy/tests/test_experiment/test_components/__init__.py +1 -0
- psychopy/tests/test_experiment/test_components/test_ButtonBoxComponent.py +218 -0
- psychopy/tests/test_experiment/test_components/test_CodeComponent.py +70 -0
- psychopy/tests/test_experiment/test_components/test_GratingComponent.py +7 -0
- psychopy/tests/test_experiment/test_components/test_ImageComponent.py +8 -0
- psychopy/tests/test_experiment/test_components/test_KeyboardComponent.py +28 -0
- psychopy/tests/test_experiment/test_components/test_MouseComponent.py +136 -0
- psychopy/tests/test_experiment/test_components/test_PolygonComponent.py +65 -0
- psychopy/tests/test_experiment/test_components/test_ResourceManagerComponent.py +50 -0
- psychopy/tests/test_experiment/test_components/test_RoutineSettingsComponent.py +16 -0
- psychopy/tests/test_experiment/test_components/test_SettingsComponent.py +80 -0
- psychopy/tests/test_experiment/test_components/test_StaticComponent.py +51 -0
- psychopy/tests/test_experiment/test_components/test_UnknownPluginComponent.py +27 -0
- psychopy/tests/test_experiment/test_components/test_all_components.py +104 -0
- psychopy/tests/test_experiment/test_components/test_base_components.py +477 -0
- psychopy/tests/test_experiment/test_experiment.py +199 -0
- psychopy/tests/test_experiment/test_loops.py +103 -0
- psychopy/tests/test_experiment/test_params.py +363 -0
- psychopy/tests/test_experiment/test_py2js.py +230 -0
- psychopy/tests/test_experiment/test_routines/__init__.py +1 -0
- psychopy/tests/test_experiment/test_routines/test_EyetrackerCalibrationRoutine.py +9 -0
- psychopy/tests/test_experiment/test_routines/test_PhotodiodeValidationRoutine.py +9 -0
- psychopy/tests/test_experiment/test_routines/test_all_routines.py +23 -0
- psychopy/tests/test_experiment/test_routines/test_base_routine.py +154 -0
- psychopy/tests/test_experiment/test_routines/test_standalone_routines.py +36 -0
- psychopy/tests/test_gui/test_DlgFromDictQt.py +82 -0
- psychopy/tests/test_gui/test_DlgFromDictWx.py +82 -0
- psychopy/tests/test_hardware/__init__.py +0 -0
- psychopy/tests/test_hardware/test_device_manager.py +36 -0
- psychopy/tests/test_hardware/test_emulator.py +106 -0
- psychopy/tests/test_hardware/test_gammasci.py +35 -0
- psychopy/tests/test_hardware/test_keyboard.py +241 -0
- psychopy/tests/test_hardware/test_keyboard_events.py +362 -0
- psychopy/tests/test_hardware/test_photodiode.py +66 -0
- psychopy/tests/test_hardware/test_ports.py +129 -0
- psychopy/tests/test_iohub/__init__.py +1 -0
- psychopy/tests/test_iohub/test_computer.py +124 -0
- psychopy/tests/test_iohub/test_event_get_and_clear.py +94 -0
- psychopy/tests/test_iohub/test_keyboard.py +91 -0
- psychopy/tests/test_iohub/test_launch.py +19 -0
- psychopy/tests/test_iohub/testutil.py +54 -0
- psychopy/tests/test_liaison/test_Liaison.py +275 -0
- psychopy/tests/test_misc/__init__.py +0 -0
- psychopy/tests/test_misc/memory_usage.py +164 -0
- psychopy/tests/test_misc/test_GammaFun.py +15 -0
- psychopy/tests/test_misc/test_clock.py +63 -0
- psychopy/tests/test_misc/test_color.py +205 -0
- psychopy/tests/test_misc/test_core.py +451 -0
- psychopy/tests/test_misc/test_event.py +308 -0
- psychopy/tests/test_misc/test_info.py +18 -0
- psychopy/tests/test_misc/test_layout.py +49 -0
- psychopy/tests/test_misc/test_locale.py +38 -0
- psychopy/tests/test_misc/test_web.py +22 -0
- psychopy/tests/test_monitors/test_monitors.py +91 -0
- psychopy/tests/test_plugins/__init__.py +0 -0
- psychopy/tests/test_plugins/test_plugin_stubs.py +125 -0
- psychopy/tests/test_preferences/__init__.py +0 -0
- psychopy/tests/test_preferences/test_prefs.py +28 -0
- psychopy/tests/test_session/test_Session.py +257 -0
- psychopy/tests/test_sound/__init__.py +0 -0
- psychopy/tests/test_sound/test_audioclip.py +331 -0
- psychopy/tests/test_sound/test_hamming.py +45 -0
- psychopy/tests/test_sound/test_sound.py +138 -0
- psychopy/tests/test_sound/test_sound_pygame.py +67 -0
- psychopy/tests/test_tools/test_animationtools.py +51 -0
- psychopy/tests/test_tools/test_arraytools.py +242 -0
- psychopy/tests/test_tools/test_attributetools.py +257 -0
- psychopy/tests/test_tools/test_colorspacetools.py +150 -0
- psychopy/tests/test_tools/test_environmenttools.py +52 -0
- psychopy/tests/test_tools/test_fileerrortools.py +97 -0
- psychopy/tests/test_tools/test_filetools.py +104 -0
- psychopy/tests/test_tools/test_imagetools.py +57 -0
- psychopy/tests/test_tools/test_mathtools.py +688 -0
- psychopy/tests/test_tools/test_stringtools.py +143 -0
- psychopy/tests/test_tools/test_versionchooser.py +209 -0
- psychopy/tests/test_tools/test_viewtools.py +168 -0
- psychopy/tests/test_validators/__init__.py +0 -0
- psychopy/tests/test_validators/test_voicekeyValidator.py +95 -0
- psychopy/tests/test_visual/__init__.py +0 -0
- psychopy/tests/test_visual/measure_parity.py +243 -0
- psychopy/tests/test_visual/test_all_stimuli.py +655 -0
- psychopy/tests/test_visual/test_basevisual.py +564 -0
- psychopy/tests/test_visual/test_brush.py +68 -0
- psychopy/tests/test_visual/test_button.py +15 -0
- psychopy/tests/test_visual/test_circle.py +74 -0
- psychopy/tests/test_visual/test_contains_overlaps.py +242 -0
- psychopy/tests/test_visual/test_custommouse.py +47 -0
- psychopy/tests/test_visual/test_dots.py +155 -0
- psychopy/tests/test_visual/test_form.py +414 -0
- psychopy/tests/test_visual/test_framepacking.py +41 -0
- psychopy/tests/test_visual/test_gamma.py +152 -0
- psychopy/tests/test_visual/test_glfw_backend.py +14 -0
- psychopy/tests/test_visual/test_image.py +219 -0
- psychopy/tests/test_visual/test_panorama.py +41 -0
- psychopy/tests/test_visual/test_progress.py +96 -0
- psychopy/tests/test_visual/test_projections.py +215 -0
- psychopy/tests/test_visual/test_projections_interactive.py +163 -0
- psychopy/tests/test_visual/test_roi.py +105 -0
- psychopy/tests/test_visual/test_shape.py +23 -0
- psychopy/tests/test_visual/test_slider.py +328 -0
- psychopy/tests/test_visual/test_target.py +35 -0
- psychopy/tests/test_visual/test_textbox.py +508 -0
- psychopy/tests/test_visual/test_winFlipTiming.py +95 -0
- psychopy/tests/test_visual/test_winScalePos.py +78 -0
- psychopy/tests/test_visual/test_window.py +124 -0
- psychopy/tests/utils.py +372 -0
- psychopy/tools/LineBreak.txt +3597 -0
- psychopy/tools/__init__.py +9 -0
- psychopy/tools/animationtools.py +49 -0
- psychopy/tools/apptools.py +32 -0
- psychopy/tools/arraytools.py +561 -0
- psychopy/tools/attributetools.py +263 -0
- psychopy/tools/audiotools.py +361 -0
- psychopy/tools/colorspacetools.py +717 -0
- psychopy/tools/coordinatetools.py +104 -0
- psychopy/tools/environmenttools.py +62 -0
- psychopy/tools/fileerrortools.py +66 -0
- psychopy/tools/filetools.py +406 -0
- psychopy/tools/fontmanager.py +1065 -0
- psychopy/tools/gltools.py +7367 -0
- psychopy/tools/imagetools.py +65 -0
- psychopy/tools/linebreak.py +322 -0
- psychopy/tools/mathtools.py +4910 -0
- psychopy/tools/monitorunittools.py +276 -0
- psychopy/tools/movietools.py +1111 -0
- psychopy/tools/pkgtools.py +654 -0
- psychopy/tools/plottools.py +25 -0
- psychopy/tools/rifttools.py +76 -0
- psychopy/tools/stereotools.py +9 -0
- psychopy/tools/stimulustools.py +198 -0
- psychopy/tools/stringtools.py +466 -0
- psychopy/tools/systemtools.py +1331 -0
- psychopy/tools/typetools.py +52 -0
- psychopy/tools/unittools.py +16 -0
- psychopy/tools/versionchooser.py +604 -0
- psychopy/tools/viewtools.py +1068 -0
- psychopy/tools/wizard.py +804 -0
- psychopy/validation/__init__.py +6 -0
- psychopy/validation/audio.py +78 -0
- psychopy/validation/visual.py +119 -0
- psychopy/visual/__init__.py +121 -0
- psychopy/visual/aperture.py +333 -0
- psychopy/visual/backends/__init__.py +77 -0
- psychopy/visual/backends/_base.py +481 -0
- psychopy/visual/backends/gamma.py +349 -0
- psychopy/visual/backends/glfwbackend.py +24 -0
- psychopy/visual/backends/pygamebackend.py +343 -0
- psychopy/visual/backends/pygletbackend.py +970 -0
- psychopy/visual/basevisual.py +2027 -0
- psychopy/visual/brush.py +204 -0
- psychopy/visual/bufferimage.py +311 -0
- psychopy/visual/button.py +194 -0
- psychopy/visual/circle.py +165 -0
- psychopy/visual/custommouse.py +263 -0
- psychopy/visual/dot.py +734 -0
- psychopy/visual/dropdown.py +165 -0
- psychopy/visual/elementarray.py +802 -0
- psychopy/visual/filters.py +419 -0
- psychopy/visual/form.py +1195 -0
- psychopy/visual/globalVars.py +24 -0
- psychopy/visual/grating.py +581 -0
- psychopy/visual/helpers.py +336 -0
- psychopy/visual/image.py +438 -0
- psychopy/visual/line.py +227 -0
- psychopy/visual/movie.py +12 -0
- psychopy/visual/movie2.py +21 -0
- psychopy/visual/movie3.py +18 -0
- psychopy/visual/movies/__init__.py +2334 -0
- psychopy/visual/movies/frame.py +258 -0
- psychopy/visual/movies/metadata.py +242 -0
- psychopy/visual/movies/players/_base.py +364 -0
- psychopy/visual/nnlvs.py +830 -0
- psychopy/visual/noise.py +32 -0
- psychopy/visual/panorama.py +313 -0
- psychopy/visual/patch.py +21 -0
- psychopy/visual/pie.py +237 -0
- psychopy/visual/polygon.py +226 -0
- psychopy/visual/progress.py +313 -0
- psychopy/visual/radial.py +29 -0
- psychopy/visual/ratingscale.py +18 -0
- psychopy/visual/rect.py +195 -0
- psychopy/visual/rift.py +2660 -0
- psychopy/visual/roi.py +141 -0
- psychopy/visual/secondorder.py +27 -0
- psychopy/visual/shaders.py +787 -0
- psychopy/visual/shape.py +897 -0
- psychopy/visual/simpleimage.py +303 -0
- psychopy/visual/slider.py +1222 -0
- psychopy/visual/stim3d.py +2109 -0
- psychopy/visual/target.py +278 -0
- psychopy/visual/text.py +769 -0
- psychopy/visual/textbox/__init__.py +1280 -0
- psychopy/visual/textbox/fontmanager.py +574 -0
- psychopy/visual/textbox/parsedtext.py +317 -0
- psychopy/visual/textbox/textgrid.py +278 -0
- psychopy/visual/textbox/textureatlas.py +248 -0
- psychopy/visual/textbox2/__init__.py +4 -0
- psychopy/visual/textbox2/textbox2.py +1970 -0
- psychopy/visual/vlcmoviestim.py +1294 -0
- psychopy/visual/window.py +3910 -0
- psychopy/visual/windowframepack.py +86 -0
- psychopy/visual/windowwarp.py +457 -0
- psychopy/voicekey/__init__.py +56 -0
- psychopy/voicekey/labjack_vks.py +9 -0
- psychopy/voicekey/parallel_vks.py +9 -0
- psychopy/voicekey/vk_tools.py +131 -0
- psychopy/web.py +289 -0
- psychopy-2025.2.4.dist-info/METADATA +160 -0
- psychopy-2025.2.4.dist-info/RECORD +3127 -0
- psychopy-2025.2.4.dist-info/WHEEL +4 -0
- psychopy-2025.2.4.dist-info/entry_points.txt +5 -0
- psychopy-2025.2.4.dist-info/licenses/LICENSE +674 -0
|
@@ -0,0 +1,2254 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
|
|
4
|
+
import os
|
|
5
|
+
from copy import deepcopy
|
|
6
|
+
from pathlib import Path
|
|
7
|
+
from xml.etree.ElementTree import Element
|
|
8
|
+
import re
|
|
9
|
+
from psychopy import logging, plugins
|
|
10
|
+
from psychopy.preferences import prefs
|
|
11
|
+
from psychopy.experiment.components import Param, _translate
|
|
12
|
+
from psychopy.experiment.components.settings.eyetracking import knownEyetrackerBackends
|
|
13
|
+
from psychopy.experiment.routines import Routine, BaseStandaloneRoutine
|
|
14
|
+
from psychopy.experiment.routines.eyetracker_calibrate import EyetrackerCalibrationRoutine
|
|
15
|
+
from psychopy.experiment import utils as exputils
|
|
16
|
+
from psychopy.monitors import Monitor
|
|
17
|
+
from psychopy.alerts import alert
|
|
18
|
+
from psychopy.tools.filetools import genDelimiter
|
|
19
|
+
from psychopy.data.utils import parsePipeSyntax
|
|
20
|
+
|
|
21
|
+
# for creating html output folders:
|
|
22
|
+
import shutil
|
|
23
|
+
import hashlib
|
|
24
|
+
import ast # for doing literal eval to convert '["a","b"]' to a list
|
|
25
|
+
|
|
26
|
+
try:
|
|
27
|
+
import wx.__version__
|
|
28
|
+
wx_version = wx.__version__
|
|
29
|
+
except ModuleNotFoundError:
|
|
30
|
+
wx_version = "4.2" # this won't matter if not in an app anyway!
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def readTextFile(relPath):
|
|
34
|
+
fullPath = os.path.join(Path(__file__).parent, relPath)
|
|
35
|
+
with open(fullPath, "r") as f:
|
|
36
|
+
txt = f.read()
|
|
37
|
+
return txt
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# used when writing scripts and in namespace:
|
|
41
|
+
_numpyImports = ['sin', 'cos', 'tan', 'log', 'log10', 'pi', 'average',
|
|
42
|
+
'sqrt', 'std', 'deg2rad', 'rad2deg', 'linspace', 'asarray']
|
|
43
|
+
_numpyRandomImports = ['random', 'randint', 'normal', 'shuffle', 'choice as randchoice']
|
|
44
|
+
|
|
45
|
+
# Keyboard backend options
|
|
46
|
+
keyboardBackendMap = {
|
|
47
|
+
"ioHub": "iohub",
|
|
48
|
+
"PsychToolbox": "ptb",
|
|
49
|
+
"Pyglet": "event"
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
# possible expInfo keys for participant ID
|
|
53
|
+
participantIdAliases = ('participant', 'Participant', 'Subject', 'Observer')
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
# # customize the Proj ID Param class to
|
|
57
|
+
# class ProjIDParam(Param):
|
|
58
|
+
# @property
|
|
59
|
+
# def allowedVals(self):
|
|
60
|
+
# from psychopy.app.projects import catalog
|
|
61
|
+
# allowed = list(catalog.keys())
|
|
62
|
+
# # always allow the current val!
|
|
63
|
+
# if self.val not in allowed:
|
|
64
|
+
# allowed.append(self.val)
|
|
65
|
+
# # always allow blank (None)
|
|
66
|
+
# if '' not in allowed:
|
|
67
|
+
# allowed.append('')
|
|
68
|
+
# return allowed
|
|
69
|
+
# @allowedVals.setter
|
|
70
|
+
# def allowedVals(self, allowed):
|
|
71
|
+
# pass
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
def getSoundBackends():
|
|
75
|
+
from psychopy.sound.sound import Sound
|
|
76
|
+
return list(Sound.getBackends())
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
class SettingsComponent:
|
|
80
|
+
"""This component stores general info about how to run the experiment
|
|
81
|
+
"""
|
|
82
|
+
categories = ['Custom']
|
|
83
|
+
targets = ['PsychoPy', 'PsychoJS']
|
|
84
|
+
iconFile = Path(__file__).parent / 'settings.png'
|
|
85
|
+
tooltip = _translate("Edit settings for this experiment")
|
|
86
|
+
plugin = None
|
|
87
|
+
version = "0.0.0"
|
|
88
|
+
beta = False
|
|
89
|
+
# an experiment only has one SettingsComponent, so hide it from the Components panel
|
|
90
|
+
hidden = True
|
|
91
|
+
|
|
92
|
+
def __init__(
|
|
93
|
+
self, parentName, exp, expName='', fullScr=True, runMode=0, rush=False,
|
|
94
|
+
winSize=(1024, 768), screen=1, monitor='testMonitor', winBackend='pyglet',
|
|
95
|
+
showMouse=False, saveLogFile=True, showExpInfo=True,
|
|
96
|
+
expInfo="{'participant':'f\"{randint(0, 999999):06.0f}\"', 'session':'001'}",
|
|
97
|
+
units='height',
|
|
98
|
+
logging="info",
|
|
99
|
+
consoleLoggingLevel="warning",
|
|
100
|
+
color='$[0,0,0]', colorSpace='rgb', enableEscape=True,
|
|
101
|
+
measureFrameRate=True, frameRate="", frameRateMsg=_translate(
|
|
102
|
+
"Attempting to measure frame rate of screen, please wait..."
|
|
103
|
+
),
|
|
104
|
+
backgroundImg="", backgroundFit="none",
|
|
105
|
+
blendMode='avg',
|
|
106
|
+
sortColumns="time", colPriority={'thisRow.t': "priority.CRITICAL", 'expName': "priority.LOW"},
|
|
107
|
+
saveXLSXFile=False, saveCSVFile=False, saveHDF5File=False,
|
|
108
|
+
saveWideCSVFile=True, savePsydatFile=True,
|
|
109
|
+
savedDataFolder='', savedDataDelim='auto',
|
|
110
|
+
clockFormat="float",
|
|
111
|
+
useVersion='',
|
|
112
|
+
expVersion='',
|
|
113
|
+
eyetracker="None",
|
|
114
|
+
mgMove='CONTINUOUS', mgBlink='MIDDLE_BUTTON', mgSaccade=0.5,
|
|
115
|
+
gpAddress='127.0.0.1', gpPort=4242,
|
|
116
|
+
elModel='EYELINK 1000 DESKTOP', elSimMode=False, elSampleRate=1000, elTrackEyes="RIGHT_EYE",
|
|
117
|
+
elLiveFiltering="FILTER_LEVEL_OFF", elDataFiltering="FILTER_LEVEL_2",
|
|
118
|
+
elTrackingMode='PUPIL_CR_TRACKING', elPupilMeasure='PUPIL_AREA', elPupilAlgorithm='ELLIPSE_FIT',
|
|
119
|
+
elAddress='100.1.1.1',
|
|
120
|
+
tbModel="", tbLicenseFile="", tbSerialNo="", tbSampleRate=60,
|
|
121
|
+
plPupillometryOnly=False,
|
|
122
|
+
plSurfaceName="psychopy_iohub_surface",
|
|
123
|
+
plConfidenceThreshold=0.6,
|
|
124
|
+
plPupilRemoteAddress="127.0.0.1",
|
|
125
|
+
plPupilRemotePort=50020,
|
|
126
|
+
plPupilRemoteTimeoutMs=1000,
|
|
127
|
+
plPupilCaptureRecordingLocation="",
|
|
128
|
+
plCompanionAddress="neon.local",
|
|
129
|
+
plCompanionPort=8080,
|
|
130
|
+
ecSampleRate='default',
|
|
131
|
+
keyboardBackend="PsychToolbox",
|
|
132
|
+
filename=None, exportHTML='on Sync',
|
|
133
|
+
endMessage=_translate("Thank you for your patience.")
|
|
134
|
+
):
|
|
135
|
+
self.type = 'Settings'
|
|
136
|
+
self.exp = exp # so we can access the experiment if necess
|
|
137
|
+
self.exp.requirePsychopyLibs(['visual', 'gui', 'hardware'])
|
|
138
|
+
self.parentName = parentName
|
|
139
|
+
self.url = "https://www.psychopy.org/builder/settings.html"
|
|
140
|
+
self._monitor = None
|
|
141
|
+
|
|
142
|
+
# if filename is the default value fetch the builder pref for the
|
|
143
|
+
# folder instead
|
|
144
|
+
if filename is None:
|
|
145
|
+
filename = ("u'xxxx/%s_%s_%s' % (expInfo['participant'], expName,"
|
|
146
|
+
" expInfo['date'])")
|
|
147
|
+
if filename.startswith("u'xxxx"):
|
|
148
|
+
folder = self.exp.prefsBuilder['savedDataFolder'].strip()
|
|
149
|
+
filename = filename.replace("xxxx", folder)
|
|
150
|
+
|
|
151
|
+
# params
|
|
152
|
+
self.params = {}
|
|
153
|
+
self.depends = []
|
|
154
|
+
self.order = [
|
|
155
|
+
'expName', 'expVersion',
|
|
156
|
+
'Audio lib', "Force stereo", # Audio tab
|
|
157
|
+
'HTML path', 'exportHTML', 'Completed URL', 'Incomplete URL', 'End Message', 'Resources', # Online tab
|
|
158
|
+
]
|
|
159
|
+
self.depends = []
|
|
160
|
+
|
|
161
|
+
# --- Basic params ---
|
|
162
|
+
self.order += [
|
|
163
|
+
'expName',
|
|
164
|
+
'runMode',
|
|
165
|
+
'Use version',
|
|
166
|
+
'Enable Escape',
|
|
167
|
+
'rush',
|
|
168
|
+
'Show info dlg',
|
|
169
|
+
'Experiment info',
|
|
170
|
+
]
|
|
171
|
+
self.params['expName'] = Param(
|
|
172
|
+
expName, valType='str', inputType="single", categ='Basic',
|
|
173
|
+
hint=_translate(
|
|
174
|
+
"Name of the entire experiment (taken by default from the filename on save)"
|
|
175
|
+
),
|
|
176
|
+
label=_translate("Experiment name")
|
|
177
|
+
)
|
|
178
|
+
self.params['expVersion'] = Param(
|
|
179
|
+
expVersion, valType='str', inputType="single", categ='Basic',
|
|
180
|
+
hint=_translate(
|
|
181
|
+
"Version number of the experiment (a string). Just for your records if it's useful to store"
|
|
182
|
+
),
|
|
183
|
+
label=_translate("Experiment version")
|
|
184
|
+
)
|
|
185
|
+
self.params['runMode'] = Param(
|
|
186
|
+
runMode, valType="code", inputType="choice", categ="Basic",
|
|
187
|
+
allowedVals=[0, 1],
|
|
188
|
+
allowedLabels=[_translate("Piloting"), _translate("Running")],
|
|
189
|
+
label=_translate("Run mode"),
|
|
190
|
+
hint=_translate(
|
|
191
|
+
"In piloting mode, all of the settings from prefs->piloting are applied. This is "
|
|
192
|
+
"recommended while the experiment is a work in progress."
|
|
193
|
+
)
|
|
194
|
+
)
|
|
195
|
+
|
|
196
|
+
def getVersions():
|
|
197
|
+
"""
|
|
198
|
+
Search for options locally available
|
|
199
|
+
"""
|
|
200
|
+
import psychopy.tools.versionchooser as versions
|
|
201
|
+
available = versions._versionFilter(versions.versionOptions(), wx_version)
|
|
202
|
+
available += ['']
|
|
203
|
+
available += versions._versionFilter(versions.availableVersions(), wx_version)
|
|
204
|
+
return available
|
|
205
|
+
|
|
206
|
+
self.params['Use version'] = Param(
|
|
207
|
+
useVersion, valType='str', inputType="choice",
|
|
208
|
+
allowedVals=getVersions,
|
|
209
|
+
hint=_translate(
|
|
210
|
+
"The version of PsychoPy to use when running the experiment."
|
|
211
|
+
),
|
|
212
|
+
label=_translate("Use PsychoPy version"))
|
|
213
|
+
self.params['Enable Escape'] = Param(
|
|
214
|
+
enableEscape, valType='bool', inputType="bool", categ="Basic",
|
|
215
|
+
hint=_translate(
|
|
216
|
+
"Enable the <esc> key, to allow subjects to quit / break out of the experiment"
|
|
217
|
+
),
|
|
218
|
+
label=_translate("Enable escape key")
|
|
219
|
+
)
|
|
220
|
+
self.params['rush'] = Param(
|
|
221
|
+
rush, valType="bool", inputType="bool", categ="Basic",
|
|
222
|
+
hint=_translate(
|
|
223
|
+
"Enable 'rush' mode, which will raise CPU priority while the experiment is running"
|
|
224
|
+
),
|
|
225
|
+
label=_translate("Enable 'rush' mode")
|
|
226
|
+
)
|
|
227
|
+
self.params['Show info dlg'] = Param(
|
|
228
|
+
showExpInfo, valType='bool', inputType="bool", categ='Basic',
|
|
229
|
+
hint=_translate(
|
|
230
|
+
"Start the experiment with a dialog to set info (e.g.participant or condition)"
|
|
231
|
+
),
|
|
232
|
+
label=_translate("Show info dialog")
|
|
233
|
+
)
|
|
234
|
+
self.depends.append(
|
|
235
|
+
{"dependsOn": "Show info dlg", # must be param name
|
|
236
|
+
"condition": "==True", # val to check for
|
|
237
|
+
"param": "Experiment info", # param property to alter
|
|
238
|
+
"true": "enable", # what to do with param if condition is True
|
|
239
|
+
"false": "disable", # permitted: hide, show, enable, disable
|
|
240
|
+
}
|
|
241
|
+
)
|
|
242
|
+
self.params['Experiment info'] = Param(
|
|
243
|
+
expInfo, valType='code', inputType="dict", categ='Basic',
|
|
244
|
+
allowedLabels=(_translate("Field"), _translate("Default")),
|
|
245
|
+
hint=_translate(
|
|
246
|
+
"The info to present in a dialog box. Right-click to check syntax and preview "
|
|
247
|
+
"the dialog box."
|
|
248
|
+
),
|
|
249
|
+
label=_translate("Experiment info")
|
|
250
|
+
)
|
|
251
|
+
|
|
252
|
+
# --- Screen params ---
|
|
253
|
+
self.order += [
|
|
254
|
+
"Monitor",
|
|
255
|
+
"winBackend",
|
|
256
|
+
"Screen",
|
|
257
|
+
"Full-screen window",
|
|
258
|
+
"Window size (pixels)",
|
|
259
|
+
"Show mouse",
|
|
260
|
+
"Units",
|
|
261
|
+
"color",
|
|
262
|
+
"blendMode",
|
|
263
|
+
"colorSpace",
|
|
264
|
+
"backgroundImg",
|
|
265
|
+
"backgroundFit",
|
|
266
|
+
"measureFrameRate",
|
|
267
|
+
"frameRate",
|
|
268
|
+
"frameRateMsg",
|
|
269
|
+
]
|
|
270
|
+
self.params['Full-screen window'] = Param(
|
|
271
|
+
fullScr, valType='bool', inputType="bool", allowedTypes=[],
|
|
272
|
+
hint=_translate("Run the experiment full-screen (recommended)"),
|
|
273
|
+
label=_translate("Full-screen window"), categ='Screen')
|
|
274
|
+
self.params['Window size (pixels)'] = Param(
|
|
275
|
+
winSize, valType='list', inputType="single", allowedTypes=[],
|
|
276
|
+
hint=_translate("Size of window (if not fullscreen)"),
|
|
277
|
+
label=_translate("Window size (pixels)"), categ='Screen'
|
|
278
|
+
)
|
|
279
|
+
self.depends.append({
|
|
280
|
+
'dependsOn': "Full-screen window", # if...
|
|
281
|
+
'condition': "", # matches
|
|
282
|
+
'param': "Window size (pixels)", # then...
|
|
283
|
+
'true': "hide", # should...
|
|
284
|
+
'false': "show", # otherwise...
|
|
285
|
+
})
|
|
286
|
+
self.params['Show mouse'] = Param(
|
|
287
|
+
showMouse, valType='bool', inputType="bool", allowedTypes=[],
|
|
288
|
+
hint=_translate("Should the mouse be visible on screen? Only applicable for fullscreen experiments."),
|
|
289
|
+
label=_translate("Show mouse"), categ='Screen'
|
|
290
|
+
)
|
|
291
|
+
self.depends.append({
|
|
292
|
+
'dependsOn': "Full-screen window", # if...
|
|
293
|
+
'condition': "", # matches
|
|
294
|
+
'param': "Show mouse", # then...
|
|
295
|
+
'true': "show", # should...
|
|
296
|
+
'false': "hide", # otherwise...
|
|
297
|
+
})
|
|
298
|
+
self.params['winBackend'] = Param(
|
|
299
|
+
winBackend, valType='str', inputType="choice", categ="Screen",
|
|
300
|
+
allowedVals=plugins.getWindowBackends(),
|
|
301
|
+
hint=_translate("What Python package should be used behind the scenes for drawing to the window?"),
|
|
302
|
+
label=_translate("Window backend")
|
|
303
|
+
)
|
|
304
|
+
self.params['Screen'] = Param(
|
|
305
|
+
screen, valType='num', inputType="spin", allowedTypes=[],
|
|
306
|
+
hint=_translate("Which physical screen to run on (1 or 2)"),
|
|
307
|
+
label=_translate("Screen"), categ='Screen')
|
|
308
|
+
self.params['Monitor'] = Param(
|
|
309
|
+
monitor, valType='str', inputType="single", allowedTypes=[],
|
|
310
|
+
hint=_translate("Name of the monitor (from Monitor Center). Right"
|
|
311
|
+
"-click to go there, then copy & paste a monitor "
|
|
312
|
+
"name here."),
|
|
313
|
+
label=_translate("Monitor"), categ="Screen")
|
|
314
|
+
self.params['color'] = Param(
|
|
315
|
+
color, valType='color', inputType="color", allowedTypes=[],
|
|
316
|
+
hint=_translate("Color of the screen (e.g. black, $[1.0,1.0,1.0],"
|
|
317
|
+
" $variable. Right-click to bring up a "
|
|
318
|
+
"color-picker.)"),
|
|
319
|
+
label=_translate("Background color"), categ='Screen')
|
|
320
|
+
self.params['colorSpace'] = Param(
|
|
321
|
+
colorSpace, valType='str', inputType="choice",
|
|
322
|
+
hint=_translate("Needed if color is defined numerically (see "
|
|
323
|
+
"PsychoPy documentation on color spaces)"),
|
|
324
|
+
allowedVals=['rgb', 'dkl', 'lms', 'hsv', 'hex'],
|
|
325
|
+
label=_translate("Color space"), categ="Screen")
|
|
326
|
+
self.params['backgroundImg'] = Param(
|
|
327
|
+
backgroundImg, valType="str", inputType="file", categ="Screen",
|
|
328
|
+
hint=_translate("Image file to use as a background (leave blank for no image)"),
|
|
329
|
+
label=_translate("Background image")
|
|
330
|
+
)
|
|
331
|
+
self.params['backgroundFit'] = Param(
|
|
332
|
+
backgroundFit, valType="str", inputType="choice", categ="Screen",
|
|
333
|
+
allowedVals=("none", "cover", "contain", "fill", "scale-down"),
|
|
334
|
+
hint=_translate("How should the background image scale to fit the window size?"),
|
|
335
|
+
label=_translate("Background fit")
|
|
336
|
+
)
|
|
337
|
+
self.params['Units'] = Param(
|
|
338
|
+
units, valType='str', inputType="choice", allowedTypes=[],
|
|
339
|
+
allowedVals=['use prefs', 'deg', 'pix', 'cm', 'norm', 'height',
|
|
340
|
+
'degFlatPos', 'degFlat'],
|
|
341
|
+
hint=_translate("Units to use for window/stimulus coordinates "
|
|
342
|
+
"(e.g. cm, pix, deg)"),
|
|
343
|
+
label=_translate("Units"), categ='Screen')
|
|
344
|
+
self.params['blendMode'] = Param(
|
|
345
|
+
blendMode, valType='str', inputType="choice",
|
|
346
|
+
allowedVals=['add', 'avg', 'nofbo'],
|
|
347
|
+
allowedLabels=['add', 'average', 'average (no FBO)'],
|
|
348
|
+
hint=_translate("Should new stimuli be added or averaged with "
|
|
349
|
+
"the stimuli that have been drawn already"),
|
|
350
|
+
label=_translate("Blend mode"), categ='Screen')
|
|
351
|
+
self.params['measureFrameRate'] = Param(
|
|
352
|
+
measureFrameRate, valType="bool", inputType="bool", categ="Screen",
|
|
353
|
+
label=_translate("Measure frame rate?"),
|
|
354
|
+
hint=_translate(
|
|
355
|
+
"Should we measure your frame rate at the start of the experiment? This is "
|
|
356
|
+
"highly recommended for precise timing."
|
|
357
|
+
)
|
|
358
|
+
)
|
|
359
|
+
self.params['frameRate'] = Param(
|
|
360
|
+
frameRate, valType="code", inputType="single", categ="Screen",
|
|
361
|
+
label=_translate("Frame rate"),
|
|
362
|
+
hint=_translate(
|
|
363
|
+
"Frame rate to store instead of measuring at the start of the experiment. Leave "
|
|
364
|
+
"blank to store no frame rate, but be wary: This will lead to errors if frame rate "
|
|
365
|
+
"isn't supplied by other means."
|
|
366
|
+
)
|
|
367
|
+
)
|
|
368
|
+
self.depends.append({
|
|
369
|
+
"dependsOn": "measureFrameRate", # if...
|
|
370
|
+
"condition": "", # meets...
|
|
371
|
+
"param": "frameRate", # then...
|
|
372
|
+
"true": "hide", # should...
|
|
373
|
+
"false": "show", # otherwise...
|
|
374
|
+
})
|
|
375
|
+
self.params['frameRateMsg'] = Param(
|
|
376
|
+
frameRateMsg, valType="str", inputType="single", categ="Screen",
|
|
377
|
+
label=_translate("Frame rate message"),
|
|
378
|
+
hint=_translate(
|
|
379
|
+
"Message to display while frame rate is measured. Leave blank for no message."
|
|
380
|
+
)
|
|
381
|
+
)
|
|
382
|
+
self.depends.append({
|
|
383
|
+
"dependsOn": "measureFrameRate", # if...
|
|
384
|
+
"condition": "", # meets...
|
|
385
|
+
"param": "frameRateMsg", # then...
|
|
386
|
+
"true": "show", # should...
|
|
387
|
+
"false": "hide", # otherwise...
|
|
388
|
+
})
|
|
389
|
+
# self.depends.append(
|
|
390
|
+
# {"dependsOn": 'Full-screen window', # must be param name
|
|
391
|
+
# "condition": "==True", # val to check for
|
|
392
|
+
# "param": 'Show mouse', # param property to alter
|
|
393
|
+
# "true": "show", # what to do with param if condition is True
|
|
394
|
+
# "false": "hide", # permitted: hide, show, enable, disable
|
|
395
|
+
# }
|
|
396
|
+
# )
|
|
397
|
+
|
|
398
|
+
# sound params
|
|
399
|
+
self.params['Force stereo'] = Param(
|
|
400
|
+
enableEscape, valType='bool', inputType="bool", allowedTypes=[], categ="Audio",
|
|
401
|
+
hint=_translate("Force audio to stereo (2-channel) output"),
|
|
402
|
+
label=_translate("Force stereo"))
|
|
403
|
+
self.params['Audio lib'] = Param(
|
|
404
|
+
'ptb', valType='str', inputType="choice",
|
|
405
|
+
allowedVals=getSoundBackends,
|
|
406
|
+
hint=_translate("Which Python sound engine do you want to play your sounds?"),
|
|
407
|
+
label=_translate("Audio library"), categ='Audio')
|
|
408
|
+
|
|
409
|
+
# --- Data params ---
|
|
410
|
+
self.order += [
|
|
411
|
+
"Data filename",
|
|
412
|
+
"Data file delimiter",
|
|
413
|
+
"sortColumns",
|
|
414
|
+
"colPriority",
|
|
415
|
+
"Save excel file",
|
|
416
|
+
"Save log file",
|
|
417
|
+
"Save csv file",
|
|
418
|
+
"Save wide csv file",
|
|
419
|
+
"Save psydat file",
|
|
420
|
+
"Save hdf5 file",
|
|
421
|
+
"logging level",
|
|
422
|
+
"consoleLoggingLevel",
|
|
423
|
+
"clockFormat",
|
|
424
|
+
]
|
|
425
|
+
self.params['Data filename'] = Param(
|
|
426
|
+
filename, valType='code', inputType="single", allowedTypes=[],
|
|
427
|
+
hint=_translate("Code to create your custom file name base. Don"
|
|
428
|
+
"'t give a file extension - this will be added."),
|
|
429
|
+
label=_translate("Data filename"), categ='Data')
|
|
430
|
+
self.params['Data file delimiter'] = Param(
|
|
431
|
+
savedDataDelim, valType='str', inputType="choice",
|
|
432
|
+
allowedVals=['auto', 'comma', 'semicolon', 'tab'],
|
|
433
|
+
hint=_translate("What symbol should the data file use to separate columns? ""Auto"" will select a delimiter automatically from the filename."),
|
|
434
|
+
label=_translate("Data file delimiter"), categ='Data'
|
|
435
|
+
)
|
|
436
|
+
self.params['sortColumns'] = Param(
|
|
437
|
+
sortColumns, valType="str", inputType="choice", categ="Data",
|
|
438
|
+
allowedLabels=[_translate("Alphabetical"), _translate("Priority"), _translate("First added")],
|
|
439
|
+
allowedVals=["alphabetical", "priority", "time"],
|
|
440
|
+
label=_translate("Sort columns by..."),
|
|
441
|
+
hint=_translate(
|
|
442
|
+
"How should data file columns be sorted? Alphabetically, by priority, or simply in the order they were "
|
|
443
|
+
"added?"
|
|
444
|
+
)
|
|
445
|
+
)
|
|
446
|
+
self.params['colPriority'] = Param(
|
|
447
|
+
colPriority, valType="dict", inputType="dict", categ="Data",
|
|
448
|
+
allowedLabels=(_translate("Column"), _translate("Priority")),
|
|
449
|
+
label=_translate("Column priority"),
|
|
450
|
+
hint=_translate(
|
|
451
|
+
"Assign priority values to certain columns. To use predefined values, you can do $priority.HIGH, "
|
|
452
|
+
"$priority.MEDIUM, etc."
|
|
453
|
+
)
|
|
454
|
+
)
|
|
455
|
+
self.params['Save log file'] = Param(
|
|
456
|
+
saveLogFile, valType='bool', inputType="bool", allowedTypes=[],
|
|
457
|
+
hint=_translate("Save a detailed log (more detailed than the "
|
|
458
|
+
"Excel/csv files) of the entire experiment"),
|
|
459
|
+
label=_translate("Save log file"), categ='Data')
|
|
460
|
+
self.params['Save wide csv file'] = Param(
|
|
461
|
+
saveWideCSVFile, valType='bool', inputType="bool", allowedTypes=[],
|
|
462
|
+
hint=_translate("Save data from loops in comma-separated-value "
|
|
463
|
+
"(.csv) format for maximum portability"),
|
|
464
|
+
label=_translate("Save csv file (trial-by-trial)"), categ='Data')
|
|
465
|
+
self.params['Save csv file'] = Param(
|
|
466
|
+
saveCSVFile, valType='bool', inputType="bool", allowedTypes=[],
|
|
467
|
+
hint=_translate("Save data from loops in comma-separated-value "
|
|
468
|
+
"(.csv) format for maximum portability"),
|
|
469
|
+
label=_translate("Save csv file (summaries)"), categ='Data')
|
|
470
|
+
self.params['Save excel file'] = Param(
|
|
471
|
+
saveXLSXFile, valType='bool', inputType="bool", allowedTypes=[],
|
|
472
|
+
hint=_translate("Save data from loops in Excel (.xlsx) format"),
|
|
473
|
+
label=_translate("Save Excel file"), categ='Data')
|
|
474
|
+
self.params['Save psydat file'] = Param(
|
|
475
|
+
savePsydatFile, valType='bool', inputType="bool", allowedVals=[True],
|
|
476
|
+
hint=_translate("Save data from loops in psydat format. This is "
|
|
477
|
+
"useful for Python programmers to generate "
|
|
478
|
+
"analysis scripts."),
|
|
479
|
+
label=_translate("Save psydat file"), categ='Data')
|
|
480
|
+
self.params['Save hdf5 file'] = Param(
|
|
481
|
+
saveHDF5File, valType='bool', inputType="bool",
|
|
482
|
+
hint=_translate("Save data from eyetrackers in hdf5 format. This is "
|
|
483
|
+
"useful for viewing and analyzing complex data in structures."),
|
|
484
|
+
label=_translate("Save hdf5 file"), categ='Data')
|
|
485
|
+
self.params['logging level'] = Param(
|
|
486
|
+
logging, valType='code', inputType="choice", categ='Data',
|
|
487
|
+
allowedVals=['error', 'warning', 'data', 'exp', 'info', 'debug'],
|
|
488
|
+
hint=_translate(
|
|
489
|
+
"How much output do you want in the log files? ('error' is fewest "
|
|
490
|
+
"messages, 'debug' is most)"
|
|
491
|
+
),
|
|
492
|
+
label=_translate("File logging level")
|
|
493
|
+
)
|
|
494
|
+
self.params['consoleLoggingLevel'] = Param(
|
|
495
|
+
consoleLoggingLevel, valType='code', inputType="choice", categ='Data',
|
|
496
|
+
allowedVals=['error', 'warning', 'data', 'exp', 'info', 'debug'],
|
|
497
|
+
hint=_translate(
|
|
498
|
+
"How much output do you want displayed in the console / app? ('error' "
|
|
499
|
+
"is fewest messages, 'debug' is most)"
|
|
500
|
+
),
|
|
501
|
+
label=_translate("Console / app logging level")
|
|
502
|
+
)
|
|
503
|
+
self.params['clockFormat'] = Param(
|
|
504
|
+
clockFormat, valType="str", inputType="choice", categ="Data",
|
|
505
|
+
allowedVals=["iso", "float"],
|
|
506
|
+
allowedLabels=["Wall clock", "Experiment start"],
|
|
507
|
+
label=_translate("Clock format"),
|
|
508
|
+
hint=_translate(
|
|
509
|
+
"Format to use for Routine start timestamps; either wall clock time (in ISO 8601 "
|
|
510
|
+
"format) or seconds since experiment start (as a float)."
|
|
511
|
+
)
|
|
512
|
+
)
|
|
513
|
+
|
|
514
|
+
# HTML output params
|
|
515
|
+
# self.params['OSF Project ID'] = ProjIDParam(
|
|
516
|
+
# '', valType='str', # automatically updates to allow choices
|
|
517
|
+
# hint=_translate("The ID of this project (e.g. 5bqpc)"),
|
|
518
|
+
# label="OSF Project ID", categ='Online')
|
|
519
|
+
self.params['HTML path'] = Param(
|
|
520
|
+
'', valType='str', inputType="single", allowedTypes=[],
|
|
521
|
+
hint=_translate("Place the HTML files will be saved locally "),
|
|
522
|
+
label=_translate("Output path"), categ='Online')
|
|
523
|
+
self.params['Resources'] = Param(
|
|
524
|
+
[], valType='list', inputType="fileList", allowedTypes=[],
|
|
525
|
+
hint=_translate("Any additional resources needed"),
|
|
526
|
+
label=_translate("Additional resources"), categ='Online')
|
|
527
|
+
self.params['End Message'] = Param(
|
|
528
|
+
endMessage, valType='str', inputType='single',
|
|
529
|
+
hint=_translate("Message to display to participants upon completing the experiment"),
|
|
530
|
+
label=_translate("End message"), categ='Online')
|
|
531
|
+
self.params['Completed URL'] = Param(
|
|
532
|
+
'', valType='str', inputType="single",
|
|
533
|
+
hint=_translate("Where should participants be redirected after the experiment on completion, e.g.\n"
|
|
534
|
+
"https://pavlovia.org/surveys/XXXXXX-XXXX-XXXXXXX?tab=0"),
|
|
535
|
+
label=_translate("Completed URL"), categ='Online')
|
|
536
|
+
self.params['Incomplete URL'] = Param(
|
|
537
|
+
'', valType='str', inputType="single",
|
|
538
|
+
hint=_translate("Where participants are redirected if they do not complete the task, e.g.\n"
|
|
539
|
+
"https://pavlovia.org/surveys/XXXXXX-XXXX-XXXXXXX?tab=0"),
|
|
540
|
+
label=_translate("Incomplete URL"), categ='Online')
|
|
541
|
+
self.params['exportHTML'] = Param(
|
|
542
|
+
exportHTML, valType='str', inputType="choice",
|
|
543
|
+
allowedVals=['on Save', 'on Sync', 'manually'],
|
|
544
|
+
hint=_translate("When to export experiment to the HTML folder."),
|
|
545
|
+
label=_translate("Export HTML"), categ='Online')
|
|
546
|
+
|
|
547
|
+
# Eyetracking params
|
|
548
|
+
self.order += ["eyetracker",
|
|
549
|
+
"gpAddress", "gpPort",
|
|
550
|
+
"elModel", "elAddress", "elSimMode"]
|
|
551
|
+
|
|
552
|
+
# Hide params when not relevant to current eyetracker
|
|
553
|
+
trackerParams = {
|
|
554
|
+
"MouseGaze": ["mgMove", "mgBlink", "mgSaccade"],
|
|
555
|
+
"GazePoint": ["gpAddress", "gpPort"],
|
|
556
|
+
"SR Research Ltd": ["elModel", "elSimMode", "elSampleRate", "elTrackEyes", "elLiveFiltering",
|
|
557
|
+
"elDataFiltering", "elTrackingMode", "elPupilMeasure", "elPupilAlgorithm",
|
|
558
|
+
"elAddress"],
|
|
559
|
+
"Tobii Technology": ["tbModel", "tbLicenseFile", "tbSerialNo", "tbSampleRate"],
|
|
560
|
+
"Pupil Labs": ["plPupillometryOnly", "plSurfaceName", "plConfidenceThreshold",
|
|
561
|
+
"plPupilRemoteAddress", "plPupilRemotePort", "plPupilRemoteTimeoutMs",
|
|
562
|
+
"plPupilCaptureRecordingLocation"],
|
|
563
|
+
"Pupil Labs (Neon)": ["plCompanionAddress", "plCompanionPort"],
|
|
564
|
+
"EyeLogic": ["ecSampleRate"],
|
|
565
|
+
}
|
|
566
|
+
for tracker in trackerParams:
|
|
567
|
+
for depParam in trackerParams[tracker]:
|
|
568
|
+
self.depends.append(
|
|
569
|
+
{"dependsOn": "eyetracker", # must be param name
|
|
570
|
+
"condition": "=='"+tracker+"'", # val to check for
|
|
571
|
+
"param": depParam, # param property to alter
|
|
572
|
+
"true": "show", # what to do with param if condition is True
|
|
573
|
+
"false": "hide", # permitted: hide, show, enable, disable
|
|
574
|
+
}
|
|
575
|
+
)
|
|
576
|
+
self.depends.append(
|
|
577
|
+
{"dependsOn": "eyetracker", # must be param name
|
|
578
|
+
"condition": f" in {list(trackerParams)}", # val to check for
|
|
579
|
+
"param": "Save hdf5 file", # param property to alter
|
|
580
|
+
"true": "enable", # what to do with param if condition is True
|
|
581
|
+
"false": "disable", # permitted: hide, show, enable, disable
|
|
582
|
+
}
|
|
583
|
+
)
|
|
584
|
+
# arrays for eyetracker backends
|
|
585
|
+
backendValues = ["None"]
|
|
586
|
+
backendLabels = ["None"]
|
|
587
|
+
# add known backends from plugins
|
|
588
|
+
for key, cls in knownEyetrackerBackends.items():
|
|
589
|
+
backendValues.append(key)
|
|
590
|
+
backendLabels.append(cls.label or key)
|
|
591
|
+
# add backends via legacy detection method
|
|
592
|
+
try:
|
|
593
|
+
from psychopy.iohub import util as ioUtil
|
|
594
|
+
for legLbl, legKey in ioUtil.getDeviceNames(device_name="eyetracker.hw"):
|
|
595
|
+
if legKey not in backendValues:
|
|
596
|
+
backendValues.append(legKey)
|
|
597
|
+
backendLabels.append(legLbl)
|
|
598
|
+
except:
|
|
599
|
+
# if it doesn't work, just stick with the known backends from plugins
|
|
600
|
+
pass
|
|
601
|
+
|
|
602
|
+
self.params['eyetracker'] = Param(
|
|
603
|
+
eyetracker, valType='str', inputType="choice",
|
|
604
|
+
allowedVals=backendValues,
|
|
605
|
+
allowedLabels=backendLabels,
|
|
606
|
+
hint=_translate("What kind of eye tracker should PsychoPy use? Select 'MouseGaze' to use "
|
|
607
|
+
"the mouse to simulate eye movement (for debugging without a tracker connected)"),
|
|
608
|
+
label=_translate("Eyetracker device"), categ="Eyetracking"
|
|
609
|
+
)
|
|
610
|
+
|
|
611
|
+
# add params from backends
|
|
612
|
+
for backend in knownEyetrackerBackends.values():
|
|
613
|
+
# get params from backend
|
|
614
|
+
params, order = backend.getParams()
|
|
615
|
+
# append order
|
|
616
|
+
self.order += order
|
|
617
|
+
# iterate through params from this backend
|
|
618
|
+
for paramName, param in params.items():
|
|
619
|
+
# add param
|
|
620
|
+
self.params[paramName] = param
|
|
621
|
+
# add dependency on eyetracker param
|
|
622
|
+
self.depends.append({
|
|
623
|
+
'dependsOn': "eyetracker", # if...
|
|
624
|
+
'condition': f"== '{backend.key}'", # meets...
|
|
625
|
+
'param': paramName, # then...
|
|
626
|
+
'true': "show", # should...
|
|
627
|
+
'false': "hide", # otherwise...
|
|
628
|
+
})
|
|
629
|
+
|
|
630
|
+
# as users with old versions of the plugin won't have params added dynamically, add legacy
|
|
631
|
+
# params here manually
|
|
632
|
+
|
|
633
|
+
# gazepoint
|
|
634
|
+
self.params['gpAddress'] = Param(
|
|
635
|
+
gpAddress, valType='str', inputType="single",
|
|
636
|
+
hint=_translate("IP Address of the computer running GazePoint Control."),
|
|
637
|
+
label=_translate("GazePoint IP address"), categ="Eyetracking"
|
|
638
|
+
)
|
|
639
|
+
|
|
640
|
+
self.params['gpPort'] = Param(
|
|
641
|
+
gpPort, valType='num', inputType="single",
|
|
642
|
+
hint=_translate("Port of the GazePoint Control server. Usually 4242."),
|
|
643
|
+
label=_translate("GazePoint port"), categ="Eyetracking"
|
|
644
|
+
)
|
|
645
|
+
# eyelink
|
|
646
|
+
self.params['elModel'] = Param(
|
|
647
|
+
elModel, valType='str', inputType="choice",
|
|
648
|
+
allowedVals=['EYELINK 1000 DESKTOP', 'EYELINK 1000 TOWER', 'EYELINK 1000 REMOTE',
|
|
649
|
+
'EYELINK 1000 LONG RANGE'],
|
|
650
|
+
hint=_translate("Eye tracker model."),
|
|
651
|
+
label=_translate("Model name"), categ="Eyetracking"
|
|
652
|
+
)
|
|
653
|
+
self.params['elSimMode'] = Param(
|
|
654
|
+
elSimMode, valType='bool', inputType="bool",
|
|
655
|
+
hint=_translate("Set the EyeLink to run in mouse simulation mode."),
|
|
656
|
+
label=_translate("Mouse simulation mode"), categ="Eyetracking"
|
|
657
|
+
)
|
|
658
|
+
self.params['elSampleRate'] = Param(
|
|
659
|
+
elSampleRate, valType='num', inputType="choice",
|
|
660
|
+
allowedVals=['250', '500', '1000', '2000'],
|
|
661
|
+
hint=_translate("Eye tracker sampling rate."),
|
|
662
|
+
label=_translate("Sampling rate"), categ="Eyetracking"
|
|
663
|
+
)
|
|
664
|
+
self.params['elTrackEyes'] = Param(
|
|
665
|
+
elTrackEyes, valType='str', inputType="choice",
|
|
666
|
+
allowedVals=['LEFT_EYE', 'RIGHT_EYE', 'BOTH'],
|
|
667
|
+
hint=_translate("Select with eye(s) to track."),
|
|
668
|
+
label=_translate("Track eyes"), categ="Eyetracking"
|
|
669
|
+
)
|
|
670
|
+
self.params['elLiveFiltering'] = Param(
|
|
671
|
+
elLiveFiltering, valType='str', inputType="choice",
|
|
672
|
+
allowedVals=['FILTER_LEVEL_OFF', 'FILTER_LEVEL_1', 'FILTER_LEVEL_2'],
|
|
673
|
+
hint=_translate("Filter eye sample data live, as it is streamed to the driving device. "
|
|
674
|
+
"This may reduce the sampling speed."),
|
|
675
|
+
label=_translate("Live sample filtering"), categ="Eyetracking"
|
|
676
|
+
)
|
|
677
|
+
self.params['elDataFiltering'] = Param(
|
|
678
|
+
elDataFiltering, valType='str', inputType="choice",
|
|
679
|
+
allowedVals=['FILTER_LEVEL_OFF', 'FILTER_LEVEL_1', 'FILTER_LEVEL_2'],
|
|
680
|
+
hint=_translate("Filter eye sample data when it is saved to the output file. This will "
|
|
681
|
+
"not affect the sampling speed."),
|
|
682
|
+
label=_translate("Saved sample filtering"), categ="Eyetracking"
|
|
683
|
+
)
|
|
684
|
+
self.params['elTrackingMode'] = Param(
|
|
685
|
+
elTrackingMode, valType='str', inputType="choice",
|
|
686
|
+
allowedVals=['PUPIL_CR_TRACKING', 'PUPIL_ONLY_TRACKING'],
|
|
687
|
+
hint=_translate("Track Pupil-CR or Pupil only."),
|
|
688
|
+
label=_translate("Pupil tracking mode"), categ="Eyetracking"
|
|
689
|
+
)
|
|
690
|
+
self.params['elPupilAlgorithm'] = Param(
|
|
691
|
+
elPupilAlgorithm, valType='str', inputType="choice",
|
|
692
|
+
allowedVals=['ELLIPSE_FIT', 'CENTROID_FIT'],
|
|
693
|
+
hint=_translate("Algorithm used to detect the pupil center."),
|
|
694
|
+
label=_translate("Pupil center algorithm"), categ="Eyetracking"
|
|
695
|
+
)
|
|
696
|
+
self.params['elPupilMeasure'] = Param(
|
|
697
|
+
elPupilMeasure, valType='str', inputType="choice",
|
|
698
|
+
allowedVals=['PUPIL_AREA', 'PUPIL_DIAMETER', 'NEITHER'],
|
|
699
|
+
hint=_translate("Type of pupil data to record."),
|
|
700
|
+
label=_translate("Pupil data type"), categ="Eyetracking"
|
|
701
|
+
)
|
|
702
|
+
self.params['elAddress'] = Param(
|
|
703
|
+
elAddress, valType='str', inputType="single",
|
|
704
|
+
hint=_translate("IP Address of the EyeLink *Host* computer."),
|
|
705
|
+
label=_translate("EyeLink IP address"), categ="Eyetracking"
|
|
706
|
+
)
|
|
707
|
+
|
|
708
|
+
# tobii
|
|
709
|
+
self.params['tbModel'] = Param(
|
|
710
|
+
tbModel, valType='str', inputType="single",
|
|
711
|
+
hint=_translate("Eye tracker model."),
|
|
712
|
+
label=_translate("Model name"), categ="Eyetracking"
|
|
713
|
+
)
|
|
714
|
+
self.params['tbLicenseFile'] = Param(
|
|
715
|
+
tbLicenseFile, valType='str', inputType="file",
|
|
716
|
+
hint=_translate("Eye tracker license file (optional)."),
|
|
717
|
+
label=_translate("License file"), categ="Eyetracking"
|
|
718
|
+
)
|
|
719
|
+
self.params['tbSerialNo'] = Param(
|
|
720
|
+
tbSerialNo, valType='str', inputType="single",
|
|
721
|
+
hint=_translate("Eye tracker serial number (optional)."),
|
|
722
|
+
label=_translate("Serial number"), categ="Eyetracking"
|
|
723
|
+
)
|
|
724
|
+
self.params['tbSampleRate'] = Param(
|
|
725
|
+
tbSampleRate, valType='num', inputType="single",
|
|
726
|
+
hint=_translate("Eye tracker sampling rate."),
|
|
727
|
+
label=_translate("Sampling rate"), categ="Eyetracking"
|
|
728
|
+
)
|
|
729
|
+
|
|
730
|
+
# pupil labs
|
|
731
|
+
self.params['plPupillometryOnly'] = Param(
|
|
732
|
+
plPupillometryOnly, valType='bool', inputType="bool",
|
|
733
|
+
hint=_translate("Subscribe to pupil data only, does not require calibration or surface setup"),
|
|
734
|
+
label=_translate("Pupillometry only"),
|
|
735
|
+
categ="Eyetracking"
|
|
736
|
+
)
|
|
737
|
+
self.params['plSurfaceName'] = Param(
|
|
738
|
+
plSurfaceName, valType='str', inputType="single",
|
|
739
|
+
hint=_translate("Name of the Pupil Capture surface"),
|
|
740
|
+
label=_translate("Surface name"), categ="Eyetracking"
|
|
741
|
+
)
|
|
742
|
+
self.params['plConfidenceThreshold'] = Param(
|
|
743
|
+
plConfidenceThreshold, valType='num', inputType="single",
|
|
744
|
+
hint=_translate("Gaze confidence threshold"),
|
|
745
|
+
label=_translate("Gaze confidence threshold"), categ="Eyetracking"
|
|
746
|
+
)
|
|
747
|
+
self.params['plPupilRemoteAddress'] = Param(
|
|
748
|
+
plPupilRemoteAddress, valType='str', inputType="single",
|
|
749
|
+
hint=_translate("Pupil remote address"),
|
|
750
|
+
label=_translate("Pupil remote address"), categ="Eyetracking"
|
|
751
|
+
)
|
|
752
|
+
self.params['plPupilRemotePort'] = Param(
|
|
753
|
+
plPupilRemotePort, valType='num', inputType="single",
|
|
754
|
+
hint=_translate("Pupil remote port"),
|
|
755
|
+
label=_translate("Pupil remote port"), categ="Eyetracking"
|
|
756
|
+
)
|
|
757
|
+
self.params['plPupilRemoteTimeoutMs'] = Param(
|
|
758
|
+
plPupilRemoteTimeoutMs, valType='num', inputType="single",
|
|
759
|
+
hint=_translate("Pupil remote timeout (ms)"),
|
|
760
|
+
label=_translate("Pupil remote timeout (ms)"), categ="Eyetracking"
|
|
761
|
+
)
|
|
762
|
+
self.params['plPupilCaptureRecordingLocation'] = Param(
|
|
763
|
+
plPupilCaptureRecordingLocation, valType='str', inputType="single",
|
|
764
|
+
hint=_translate("Pupil capture recording location"),
|
|
765
|
+
label=_translate("Pupil capture recording location"), categ="Eyetracking"
|
|
766
|
+
)
|
|
767
|
+
self.params['plCompanionAddress'] = Param(
|
|
768
|
+
plCompanionAddress, valType='str', inputType="single",
|
|
769
|
+
hint=_translate("Companion address"),
|
|
770
|
+
label=_translate("Companion address"), categ="Eyetracking"
|
|
771
|
+
)
|
|
772
|
+
self.params['plCompanionPort'] = Param(
|
|
773
|
+
plCompanionPort, valType='num', inputType="single",
|
|
774
|
+
hint=_translate("Companion port"),
|
|
775
|
+
label=_translate("Companion port"), categ="Eyetracking"
|
|
776
|
+
)
|
|
777
|
+
|
|
778
|
+
# EyeLogic
|
|
779
|
+
self.params['ecSampleRate'] = Param(
|
|
780
|
+
ecSampleRate, valType='str', inputType="single",
|
|
781
|
+
hint=_translate("Eyetracker sampling rate: 'default' or <integer>[Hz]. Defaults to tracking mode '0'."),
|
|
782
|
+
label=_translate("Sampling rate"), categ="Eyetracking"
|
|
783
|
+
)
|
|
784
|
+
|
|
785
|
+
# Input
|
|
786
|
+
self.params['keyboardBackend'] = Param(
|
|
787
|
+
keyboardBackend, valType='str', inputType="choice",
|
|
788
|
+
allowedVals=list(keyboardBackendMap),
|
|
789
|
+
hint=_translate("What Python package should PsychoPy use to get keyboard input?"),
|
|
790
|
+
label=_translate("Keyboard backend"), categ="Input"
|
|
791
|
+
)
|
|
792
|
+
|
|
793
|
+
@property
|
|
794
|
+
def _xml(self):
|
|
795
|
+
# Make root element
|
|
796
|
+
element = Element("Settings")
|
|
797
|
+
# Add an element for each parameter
|
|
798
|
+
for key, param in sorted(self.params.items()):
|
|
799
|
+
if key == 'name':
|
|
800
|
+
continue
|
|
801
|
+
# Create node
|
|
802
|
+
paramNode = param._xml
|
|
803
|
+
paramNode.set("name", key)
|
|
804
|
+
# Add node
|
|
805
|
+
element.append(paramNode)
|
|
806
|
+
return element
|
|
807
|
+
|
|
808
|
+
def getInfo(self, removePipeSyntax=False):
|
|
809
|
+
"""
|
|
810
|
+
Rather than converting the value of params['Experiment Info']
|
|
811
|
+
into a dict from a string (which can lead to errors) use this function
|
|
812
|
+
:return:
|
|
813
|
+
|
|
814
|
+
Parameters
|
|
815
|
+
----------
|
|
816
|
+
removePipeSyntax : bool
|
|
817
|
+
If True, then keys in expInfo dict are returned with pipe syntax (e.g. |req, |cfg, etc.) removed.
|
|
818
|
+
|
|
819
|
+
Returns
|
|
820
|
+
-------
|
|
821
|
+
dict
|
|
822
|
+
expInfo as a dict
|
|
823
|
+
"""
|
|
824
|
+
|
|
825
|
+
infoStr = str(self.params['Experiment info'].val).strip()
|
|
826
|
+
if len(infoStr) == 0:
|
|
827
|
+
return {}
|
|
828
|
+
try:
|
|
829
|
+
infoDict = ast.literal_eval(infoStr)
|
|
830
|
+
newDict = {}
|
|
831
|
+
# check for strings of lists: "['male','female']"
|
|
832
|
+
for key in infoDict:
|
|
833
|
+
val = infoDict[key]
|
|
834
|
+
# sanitize key if requested
|
|
835
|
+
if removePipeSyntax:
|
|
836
|
+
key, _ = parsePipeSyntax(key)
|
|
837
|
+
|
|
838
|
+
if exputils.list_like_re.search(str(val)):
|
|
839
|
+
# Try to call it with ast, if it produces a list/tuple, treat val type as list
|
|
840
|
+
try:
|
|
841
|
+
isList = ast.literal_eval(str(val))
|
|
842
|
+
except ValueError:
|
|
843
|
+
# If ast errors, treat as code
|
|
844
|
+
newDict[key] = Param(val=val, valType='code')
|
|
845
|
+
else:
|
|
846
|
+
if isinstance(isList, (list, tuple)):
|
|
847
|
+
# If ast produces a list, treat as list
|
|
848
|
+
newDict[key] = Param(val=val, valType='list')
|
|
849
|
+
else:
|
|
850
|
+
# If ast produces anything else, treat as code
|
|
851
|
+
newDict[key] = Param(val=val, valType='code')
|
|
852
|
+
elif val in ['True', 'False']:
|
|
853
|
+
newDict[key] = Param(val=val, valType='bool')
|
|
854
|
+
elif isinstance(val, str):
|
|
855
|
+
newDict[key] = Param(val=val, valType='str')
|
|
856
|
+
|
|
857
|
+
except (ValueError, SyntaxError):
|
|
858
|
+
"""under Python3 {'participant':'', 'session':02} raises an error because
|
|
859
|
+
ints can't have leading zeros. We will check for those and correct them
|
|
860
|
+
tests = ["{'participant':'', 'session':02}",
|
|
861
|
+
"{'participant':'', 'session':02}",
|
|
862
|
+
"{'participant':'', 'session': 0043}",
|
|
863
|
+
"{'participant':'', 'session':02, 'id':009}",
|
|
864
|
+
]
|
|
865
|
+
"""
|
|
866
|
+
|
|
867
|
+
def entryToString(match):
|
|
868
|
+
entry = match.group(0)
|
|
869
|
+
digits = re.split(r": *", entry)[1]
|
|
870
|
+
return ':{}'.format(repr(digits))
|
|
871
|
+
|
|
872
|
+
# 0 or more spaces, 1-5 zeros, 0 or more digits:
|
|
873
|
+
pattern = re.compile(r": *0{1,5}\d*")
|
|
874
|
+
try:
|
|
875
|
+
newDict = eval(re.sub(pattern, entryToString, infoStr))
|
|
876
|
+
except SyntaxError: # still a syntax error, possibly caused by user
|
|
877
|
+
msg = ('Builder Expt: syntax error in '
|
|
878
|
+
'"Experiment info" settings (expected a dict)')
|
|
879
|
+
logging.error(msg)
|
|
880
|
+
raise AttributeError(msg)
|
|
881
|
+
return newDict
|
|
882
|
+
|
|
883
|
+
def getType(self):
|
|
884
|
+
return self.__class__.__name__
|
|
885
|
+
|
|
886
|
+
def getShortType(self):
|
|
887
|
+
return self.getType().replace('Component', '')
|
|
888
|
+
|
|
889
|
+
def writeUseVersion(self, buff):
|
|
890
|
+
if self.params['Use version'].val:
|
|
891
|
+
code = ('\nimport psychopy\n'
|
|
892
|
+
'psychopy.useVersion({})\n\n')
|
|
893
|
+
val = repr(self.params['Use version'].val)
|
|
894
|
+
buff.writeIndentedLines(code.format(val))
|
|
895
|
+
|
|
896
|
+
def writeInitCode(self, buff, version, localDateTime):
|
|
897
|
+
|
|
898
|
+
buff.write(
|
|
899
|
+
'#!/usr/bin/env python\n'
|
|
900
|
+
'# -*- coding: utf-8 -*-\n'
|
|
901
|
+
'"""\nThis experiment was created using PsychoPy3 Experiment '
|
|
902
|
+
'Builder (v%s),\n'
|
|
903
|
+
' on %s\n' % (version, localDateTime) +
|
|
904
|
+
'If you publish work using this script the most relevant '
|
|
905
|
+
'publication is:\n\n'
|
|
906
|
+
u' Peirce J, Gray JR, Simpson S, MacAskill M, Höchenberger R, Sogo H, '
|
|
907
|
+
u'Kastman E, Lindeløv JK. (2019) \n'
|
|
908
|
+
' PsychoPy2: Experiments in behavior made easy Behav Res 51: 195. \n'
|
|
909
|
+
' https://doi.org/10.3758/s13428-018-01193-y\n'
|
|
910
|
+
'\n"""\n')
|
|
911
|
+
|
|
912
|
+
self.writeUseVersion(buff)
|
|
913
|
+
|
|
914
|
+
psychopyImports = []
|
|
915
|
+
customImports = []
|
|
916
|
+
for import_ in self.exp.requiredImports:
|
|
917
|
+
if import_.importFrom == 'psychopy':
|
|
918
|
+
psychopyImports.append(import_.importName)
|
|
919
|
+
else:
|
|
920
|
+
customImports.append(import_)
|
|
921
|
+
|
|
922
|
+
buff.writelines(
|
|
923
|
+
"\n"
|
|
924
|
+
"# --- Import packages ---"
|
|
925
|
+
"\n"
|
|
926
|
+
"from psychopy import locale_setup\n"
|
|
927
|
+
"from psychopy import prefs\n"
|
|
928
|
+
"from psychopy import plugins\n"
|
|
929
|
+
"plugins.activatePlugins()\n" # activates plugins
|
|
930
|
+
"from psychopy import %s\n" % ', '.join(psychopyImports) +
|
|
931
|
+
"from psychopy.tools import environmenttools\n"
|
|
932
|
+
"from psychopy.constants import (\n"
|
|
933
|
+
" NOT_STARTED, STARTED, PLAYING, PAUSED, STOPPED, STOPPING, FINISHED, PRESSED, \n"
|
|
934
|
+
" RELEASED, FOREVER, priority\n"
|
|
935
|
+
")\n\n"
|
|
936
|
+
"import numpy as np # whole numpy lib is available, "
|
|
937
|
+
"prepend 'np.'\n"
|
|
938
|
+
"from numpy import (%s,\n" % ', '.join(_numpyImports[:7]) +
|
|
939
|
+
" %s)\n" % ', '.join(_numpyImports[7:]) +
|
|
940
|
+
"from numpy.random import %s\n" % ', '.join(_numpyRandomImports) +
|
|
941
|
+
"import os # handy system and path functions\n" +
|
|
942
|
+
"import sys # to get file system encoding\n"
|
|
943
|
+
"\n"
|
|
944
|
+
)
|
|
945
|
+
|
|
946
|
+
if not self.params['eyetracker'] == "None" or self.params['keyboardBackend'] == "ioHub":
|
|
947
|
+
code = (
|
|
948
|
+
"import psychopy.iohub as io\n"
|
|
949
|
+
)
|
|
950
|
+
buff.writeIndentedLines(code)
|
|
951
|
+
|
|
952
|
+
# Write custom import statements, line by line.
|
|
953
|
+
for import_ in customImports:
|
|
954
|
+
importName = import_.importName
|
|
955
|
+
importFrom = import_.importFrom
|
|
956
|
+
importAs = import_.importAs
|
|
957
|
+
|
|
958
|
+
statement = ''
|
|
959
|
+
if importFrom:
|
|
960
|
+
statement += "from %s " % importFrom
|
|
961
|
+
|
|
962
|
+
statement += "import %s" % importName
|
|
963
|
+
|
|
964
|
+
if importAs:
|
|
965
|
+
statement += " as %s" % importAs
|
|
966
|
+
|
|
967
|
+
statement += "\n"
|
|
968
|
+
buff.write(statement)
|
|
969
|
+
|
|
970
|
+
buff.write("\n")
|
|
971
|
+
|
|
972
|
+
def writeGlobals(self, buff, version):
|
|
973
|
+
"""
|
|
974
|
+
Create some global variables which functions will need
|
|
975
|
+
"""
|
|
976
|
+
# Substitute params
|
|
977
|
+
params = self.params.copy()
|
|
978
|
+
params['version'] = version
|
|
979
|
+
if self.params['expName'].val in [None, '']:
|
|
980
|
+
params['expName'].val = "untitled.py"
|
|
981
|
+
|
|
982
|
+
code = (
|
|
983
|
+
"# --- Setup global variables (available in all functions) ---\n"
|
|
984
|
+
"# create a device manager to handle hardware (keyboards, mice, mirophones, speakers, etc.)\n"
|
|
985
|
+
"deviceManager = hardware.DeviceManager()\n"
|
|
986
|
+
"# ensure that relative paths start from the same directory as this script\n"
|
|
987
|
+
"_thisDir = os.path.dirname(os.path.abspath(__file__))\n"
|
|
988
|
+
"# store info about the experiment session\n"
|
|
989
|
+
"psychopyVersion = '%(version)s'\n"
|
|
990
|
+
"expName = %(expName)s # from the Builder filename that created this script\n"
|
|
991
|
+
"expVersion = %(expVersion)s\n"
|
|
992
|
+
"# a list of functions to run when the experiment ends (starts off blank)\n"
|
|
993
|
+
"runAtExit = []\n"
|
|
994
|
+
)
|
|
995
|
+
buff.writeIndentedLines(code % params)
|
|
996
|
+
# get info for this experiment
|
|
997
|
+
expInfo = self.getInfo(removePipeSyntax=False)
|
|
998
|
+
# add internal expInfo keys
|
|
999
|
+
expInfo['date|hid'] = "data.getDateStr()"
|
|
1000
|
+
expInfo['expName|hid'] = "expName"
|
|
1001
|
+
expInfo['expVersion|hid'] = "expVersion"
|
|
1002
|
+
expInfo['psychopyVersion|hid'] = "psychopyVersion"
|
|
1003
|
+
# construct exp info dict
|
|
1004
|
+
code = (
|
|
1005
|
+
"# information about this experiment\n"
|
|
1006
|
+
"expInfo = {\n"
|
|
1007
|
+
)
|
|
1008
|
+
for key, value in expInfo.items():
|
|
1009
|
+
code += (
|
|
1010
|
+
f" '{key}': {value},\n"
|
|
1011
|
+
)
|
|
1012
|
+
code += (
|
|
1013
|
+
"}\n"
|
|
1014
|
+
"\n"
|
|
1015
|
+
)
|
|
1016
|
+
buff.writeIndented(code)
|
|
1017
|
+
|
|
1018
|
+
# write code for pilot mode
|
|
1019
|
+
code = (
|
|
1020
|
+
"# --- Define some variables which will change depending on pilot mode ---\n"
|
|
1021
|
+
"'''\n"
|
|
1022
|
+
"To run in pilot mode, either use the run/pilot toggle in Builder, Coder and Runner, \n"
|
|
1023
|
+
"or run the experiment with `--pilot` as an argument. To change what pilot \n#"
|
|
1024
|
+
"mode does, check out the 'Pilot mode' tab in preferences.\n"
|
|
1025
|
+
"'''\n"
|
|
1026
|
+
"# work out from system args whether we are running in pilot mode\n"
|
|
1027
|
+
"PILOTING = core.setPilotModeFromArgs()\n"
|
|
1028
|
+
"# start off with values from experiment settings\n"
|
|
1029
|
+
"_fullScr = %(Full-screen window)s\n"
|
|
1030
|
+
"_winSize = %(Window size (pixels))s\n"
|
|
1031
|
+
"# if in pilot mode, apply overrides according to preferences\n"
|
|
1032
|
+
"if PILOTING:\n"
|
|
1033
|
+
" # force windowed mode\n"
|
|
1034
|
+
" if prefs.piloting['forceWindowed']:\n"
|
|
1035
|
+
" _fullScr = False\n"
|
|
1036
|
+
" # set window size\n"
|
|
1037
|
+
" _winSize = prefs.piloting['forcedWindowSize']\n"
|
|
1038
|
+
)
|
|
1039
|
+
buff.writeIndented(code % self.params)
|
|
1040
|
+
for key, value in expInfo.items():
|
|
1041
|
+
if key in participantIdAliases:
|
|
1042
|
+
code = (
|
|
1043
|
+
f" # replace default participant ID\n"
|
|
1044
|
+
f" if prefs.piloting['replaceParticipantID']:\n"
|
|
1045
|
+
f" expInfo['{key}'] = 'pilot'\n"
|
|
1046
|
+
)
|
|
1047
|
+
buff.writeIndented(code % self.params)
|
|
1048
|
+
|
|
1049
|
+
def prepareResourcesJS(self):
|
|
1050
|
+
"""Sets up the resources folder and writes the info.php file for PsychoJS
|
|
1051
|
+
"""
|
|
1052
|
+
|
|
1053
|
+
join = os.path.join
|
|
1054
|
+
|
|
1055
|
+
def copyTreeWithMD5(src, dst):
|
|
1056
|
+
"""Copies the tree but checks SHA for each file first
|
|
1057
|
+
"""
|
|
1058
|
+
# despite time to check the md5 hashes this func gives speed-up
|
|
1059
|
+
# over about 20% over using shutil.rmtree() and copytree()
|
|
1060
|
+
for root, subDirs, files in os.walk(src):
|
|
1061
|
+
relPath = os.path.relpath(root, src)
|
|
1062
|
+
for thisDir in subDirs:
|
|
1063
|
+
if not os.path.isdir(join(root, thisDir)):
|
|
1064
|
+
os.makedirs(join(root, thisDir))
|
|
1065
|
+
for thisFile in files:
|
|
1066
|
+
copyFileWithMD5(join(root, thisFile),
|
|
1067
|
+
join(dst, relPath, thisFile))
|
|
1068
|
+
|
|
1069
|
+
def copyFileWithMD5(src, dst):
|
|
1070
|
+
"""Copies a file but only if doesn't exist or SHA is diff
|
|
1071
|
+
"""
|
|
1072
|
+
if os.path.isfile(dst):
|
|
1073
|
+
with open(dst, 'rb') as f:
|
|
1074
|
+
dstMD5 = hashlib.md5(f.read()).hexdigest()
|
|
1075
|
+
with open(src, 'rb') as f:
|
|
1076
|
+
srcMD5 = hashlib.md5(f.read()).hexdigest()
|
|
1077
|
+
if srcMD5 == dstMD5:
|
|
1078
|
+
return # already matches - do nothing
|
|
1079
|
+
# if we got here then the file exists but not the same
|
|
1080
|
+
# delete and replace. TODO: In future this should check date
|
|
1081
|
+
os.remove(dst)
|
|
1082
|
+
# either didn't exist or has been deleted
|
|
1083
|
+
folder = os.path.split(dst)[0]
|
|
1084
|
+
if not os.path.isdir(folder):
|
|
1085
|
+
os.makedirs(folder)
|
|
1086
|
+
shutil.copy2(src, dst)
|
|
1087
|
+
|
|
1088
|
+
# write info.php file
|
|
1089
|
+
folder = os.path.dirname(self.exp.expPath)
|
|
1090
|
+
if not os.path.isdir(folder):
|
|
1091
|
+
os.mkdir(folder)
|
|
1092
|
+
|
|
1093
|
+
# is email a defined parameter for this version
|
|
1094
|
+
if 'email' in self.params:
|
|
1095
|
+
email = repr(self.params['email'].val)
|
|
1096
|
+
else:
|
|
1097
|
+
email = "''"
|
|
1098
|
+
# populate resources folder
|
|
1099
|
+
resFolder = join(folder, 'resources')
|
|
1100
|
+
if not os.path.isdir(resFolder):
|
|
1101
|
+
os.mkdir(resFolder)
|
|
1102
|
+
resourceFiles = self.exp.getResourceFiles()
|
|
1103
|
+
|
|
1104
|
+
for srcFile in resourceFiles:
|
|
1105
|
+
if "https://" in srcFile.get('abs', "") or srcFile.get('name', "") == "surveyId":
|
|
1106
|
+
# URLs and survey IDs don't need copying
|
|
1107
|
+
continue
|
|
1108
|
+
dstAbs = os.path.normpath(join(resFolder, srcFile['rel']))
|
|
1109
|
+
dstFolder = os.path.split(dstAbs)[0]
|
|
1110
|
+
if not os.path.isdir(dstFolder):
|
|
1111
|
+
os.makedirs(dstFolder)
|
|
1112
|
+
copyFileWithMD5(srcFile['abs'], dstAbs)
|
|
1113
|
+
|
|
1114
|
+
def writeInitCodeJS(self, buff, version, localDateTime, modular=True):
|
|
1115
|
+
from psychopy.tools import versionchooser as versions
|
|
1116
|
+
# create resources folder
|
|
1117
|
+
if self.exp.htmlFolder:
|
|
1118
|
+
self.prepareResourcesJS()
|
|
1119
|
+
jsFilename = self.params['expName'].val
|
|
1120
|
+
|
|
1121
|
+
# configure the PsychoJS version number from current/requested versions
|
|
1122
|
+
useVer = self.params['Use version'].val
|
|
1123
|
+
useVer = versions.getPsychoJSVersionStr(version, useVer)
|
|
1124
|
+
|
|
1125
|
+
# html header
|
|
1126
|
+
if self.exp.expPath:
|
|
1127
|
+
template = readTextFile("JS_htmlHeader.tmpl")
|
|
1128
|
+
header = template.format(
|
|
1129
|
+
name=jsFilename,
|
|
1130
|
+
version=useVer,
|
|
1131
|
+
params=self.params)
|
|
1132
|
+
jsFile = self.exp.expPath
|
|
1133
|
+
folder = os.path.dirname(jsFile)
|
|
1134
|
+
if not os.path.isdir(folder):
|
|
1135
|
+
os.makedirs(folder)
|
|
1136
|
+
with open(os.path.join(folder, "index.html"), 'wb') as html:
|
|
1137
|
+
html.write(header.encode())
|
|
1138
|
+
html.close()
|
|
1139
|
+
|
|
1140
|
+
# Write header comment
|
|
1141
|
+
starLen = "*"*(len(jsFilename) + 9)
|
|
1142
|
+
code = ("/%s \n"
|
|
1143
|
+
" * %s *\n"
|
|
1144
|
+
" %s/\n\n")
|
|
1145
|
+
buff.writeIndentedLines(code % (starLen, jsFilename.title(), starLen))
|
|
1146
|
+
|
|
1147
|
+
# Write imports if modular
|
|
1148
|
+
if modular:
|
|
1149
|
+
code = (
|
|
1150
|
+
"import {{ core, data, sound, util, visual, hardware }} from './lib/psychojs-{version}.js';\n"
|
|
1151
|
+
"const {{ PsychoJS }} = core;\n"
|
|
1152
|
+
"const {{ TrialHandler, MultiStairHandler }} = data;\n"
|
|
1153
|
+
"const {{ Scheduler }} = util;\n"
|
|
1154
|
+
"//some handy aliases as in the psychopy scripts;\n"
|
|
1155
|
+
"const {{ abs, sin, cos, PI: pi, sqrt }} = Math;\n"
|
|
1156
|
+
"const {{ round }} = util;\n"
|
|
1157
|
+
"\n").format(version=useVer)
|
|
1158
|
+
buff.writeIndentedLines(code)
|
|
1159
|
+
|
|
1160
|
+
# Get expInfo as a dict
|
|
1161
|
+
expInfoDict = self.getInfo().items()
|
|
1162
|
+
# Convert each item to str
|
|
1163
|
+
expInfoStr = "{"
|
|
1164
|
+
if len(expInfoDict):
|
|
1165
|
+
# Only make the dict multiline if it actually has contents
|
|
1166
|
+
expInfoStr += "\n"
|
|
1167
|
+
for key, value in self.getInfo().items():
|
|
1168
|
+
expInfoStr += f" '{key}': {value},\n"
|
|
1169
|
+
expInfoStr += "}"
|
|
1170
|
+
|
|
1171
|
+
code = ("\n// store info about the experiment session:\n"
|
|
1172
|
+
"let expName = '%s'; // from the Builder filename that created this script\n"
|
|
1173
|
+
"let expInfo = %s;\n"
|
|
1174
|
+
"let PILOTING = util.getUrlParameters().has('__pilotToken');\n"
|
|
1175
|
+
"\n" % (jsFilename, expInfoStr))
|
|
1176
|
+
buff.writeIndentedLines(code)
|
|
1177
|
+
|
|
1178
|
+
def writeExpSetupCodeJS(self, buff, version):
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
# write the code to set up experiment
|
|
1182
|
+
buff.setIndentLevel(0, relative=False)
|
|
1183
|
+
template = readTextFile("JS_setupExp.tmpl")
|
|
1184
|
+
|
|
1185
|
+
# Get file delimiter character
|
|
1186
|
+
delim_options = {
|
|
1187
|
+
'comma': ",",
|
|
1188
|
+
'semicolon': ";",
|
|
1189
|
+
'tab': r"\t"
|
|
1190
|
+
}
|
|
1191
|
+
delim = delim_options.get(
|
|
1192
|
+
self.params['Data file delimiter'].val,
|
|
1193
|
+
genDelimiter(self.params['Data filename'].val)
|
|
1194
|
+
)
|
|
1195
|
+
|
|
1196
|
+
setRedirectURL = ''
|
|
1197
|
+
if len(self.params['Completed URL'].val) or len(self.params['Incomplete URL'].val):
|
|
1198
|
+
setRedirectURL = ("psychoJS.setRedirectUrls({completedURL}, {incompleteURL});\n"
|
|
1199
|
+
.format(completedURL=self.params['Completed URL'],
|
|
1200
|
+
incompleteURL=self.params['Incomplete URL']))
|
|
1201
|
+
# check where to save data variables
|
|
1202
|
+
# if self.params['OSF Project ID'].val:
|
|
1203
|
+
# saveType = "OSF_VIA_EXPERIMENT_SERVER"
|
|
1204
|
+
# projID = "'{}'".format(self.params['OSF Project ID'].val)
|
|
1205
|
+
# else:
|
|
1206
|
+
# saveType = "EXPERIMENT_SERVER"
|
|
1207
|
+
# projID = 'undefined'
|
|
1208
|
+
|
|
1209
|
+
code = template.format(
|
|
1210
|
+
params=self.params,
|
|
1211
|
+
filename=str(self.params['Data filename']),
|
|
1212
|
+
name=self.params['expName'].val,
|
|
1213
|
+
loggingLevel=self.params['logging level'].val.upper(),
|
|
1214
|
+
setRedirectURL=setRedirectURL,
|
|
1215
|
+
version=version,
|
|
1216
|
+
field_separator=repr(delim)
|
|
1217
|
+
)
|
|
1218
|
+
buff.writeIndentedLines(code)
|
|
1219
|
+
|
|
1220
|
+
def writeDataCode(self, buff):
|
|
1221
|
+
"""
|
|
1222
|
+
Write code to handle data and saving (create ExperimentHandler, pick filename, etc.)
|
|
1223
|
+
"""
|
|
1224
|
+
params = self.params.copy()
|
|
1225
|
+
|
|
1226
|
+
# Enter function def
|
|
1227
|
+
code = (
|
|
1228
|
+
'\n'
|
|
1229
|
+
'def setupData(expInfo, dataDir=None):\n'
|
|
1230
|
+
' """\n'
|
|
1231
|
+
' Make an ExperimentHandler to handle trials and saving.\n'
|
|
1232
|
+
' \n'
|
|
1233
|
+
' Parameters\n'
|
|
1234
|
+
' ==========\n'
|
|
1235
|
+
' expInfo : dict\n'
|
|
1236
|
+
' Information about this experiment, created by the `setupExpInfo` function.\n'
|
|
1237
|
+
' dataDir : Path, str or None\n'
|
|
1238
|
+
' Folder to save the data to, leave as None to create a folder in the current directory.'
|
|
1239
|
+
' \n'
|
|
1240
|
+
' Returns\n'
|
|
1241
|
+
' ==========\n'
|
|
1242
|
+
' psychopy.data.ExperimentHandler\n'
|
|
1243
|
+
' Handler object for this experiment, contains the data to save and information about \n'
|
|
1244
|
+
' where to save it to.\n'
|
|
1245
|
+
' """\n'
|
|
1246
|
+
)
|
|
1247
|
+
buff.writeIndentedLines(code)
|
|
1248
|
+
buff.setIndentLevel(+1, relative=True)
|
|
1249
|
+
|
|
1250
|
+
# remove pipe syntax from expInfo
|
|
1251
|
+
code = (
|
|
1252
|
+
"# remove dialog-specific syntax from expInfo\n"
|
|
1253
|
+
"for key, val in expInfo.copy().items():\n"
|
|
1254
|
+
" newKey, _ = data.utils.parsePipeSyntax(key)\n"
|
|
1255
|
+
" expInfo[newKey] = expInfo.pop(key)\n"
|
|
1256
|
+
)
|
|
1257
|
+
buff.writeIndentedLines(code % self.params)
|
|
1258
|
+
|
|
1259
|
+
# figure out participant id field (if any)
|
|
1260
|
+
participantVal = ''
|
|
1261
|
+
for target in participantIdAliases:
|
|
1262
|
+
if target in self.getInfo(removePipeSyntax=True):
|
|
1263
|
+
participantVal = " + expInfo['%s']" % target
|
|
1264
|
+
break
|
|
1265
|
+
# make sure we have a filename
|
|
1266
|
+
if not params['Data filename'].val: # i.e., the user deleted it
|
|
1267
|
+
params['Data filename'].val = (
|
|
1268
|
+
"'data' + os.sep%s + data.getDateStr()"
|
|
1269
|
+
) % participantVal
|
|
1270
|
+
# get origin path
|
|
1271
|
+
params['originPath'] = repr(self.exp.expPath)
|
|
1272
|
+
# get fallback data dir value
|
|
1273
|
+
params['dataDir'] = "_thisDir"
|
|
1274
|
+
# deprecated code: before v1.80.00 we had 'Saved data folder' param
|
|
1275
|
+
if 'Saved data folder' in params:
|
|
1276
|
+
if params['Saved data folder'].val.strip():
|
|
1277
|
+
params['dataDir'] = params['Saved data folder']
|
|
1278
|
+
else:
|
|
1279
|
+
params['dataDir'] = repr(self.exp.prefsBuilder['savedDataFolder'].strip())
|
|
1280
|
+
|
|
1281
|
+
code = (
|
|
1282
|
+
"\n"
|
|
1283
|
+
"# data file name stem = absolute path + name; later add .psyexp, .csv, .log, etc\n"
|
|
1284
|
+
f"if dataDir is None:\n"
|
|
1285
|
+
f" dataDir = %(dataDir)s\n"
|
|
1286
|
+
f"filename = %(Data filename)s\n"
|
|
1287
|
+
f"# make sure filename is relative to dataDir\n"
|
|
1288
|
+
f"if os.path.isabs(filename):\n"
|
|
1289
|
+
f" dataDir = os.path.commonprefix([dataDir, filename])\n"
|
|
1290
|
+
f" filename = os.path.relpath(filename, dataDir)\n"
|
|
1291
|
+
)
|
|
1292
|
+
buff.writeIndentedLines(code % params)
|
|
1293
|
+
|
|
1294
|
+
# set up the ExperimentHandler
|
|
1295
|
+
code = ("\n# an ExperimentHandler isn't essential but helps with data saving\n"
|
|
1296
|
+
"thisExp = data.ExperimentHandler(\n"
|
|
1297
|
+
" name=expName, version=expVersion,\n"
|
|
1298
|
+
" extraInfo=expInfo, runtimeInfo=None,\n"
|
|
1299
|
+
" originPath=%(originPath)s,\n"
|
|
1300
|
+
" savePickle=%(Save psydat file)s, saveWideText=%(Save wide csv file)s,\n"
|
|
1301
|
+
" dataFileName=dataDir + os.sep + filename, sortColumns=%(sortColumns)s\n"
|
|
1302
|
+
")\n")
|
|
1303
|
+
buff.writeIndentedLines(code % params)
|
|
1304
|
+
|
|
1305
|
+
# enforce dict on column priority param
|
|
1306
|
+
colPriority = params['colPriority'].val
|
|
1307
|
+
if isinstance(colPriority, str):
|
|
1308
|
+
try:
|
|
1309
|
+
colPriority = ast.literal_eval(colPriority)
|
|
1310
|
+
except:
|
|
1311
|
+
raise ValueError(_translate(
|
|
1312
|
+
"Could not interpret value as dict: {}"
|
|
1313
|
+
).format(colPriority))
|
|
1314
|
+
# setup column priority
|
|
1315
|
+
for key, val in colPriority.items():
|
|
1316
|
+
code = (
|
|
1317
|
+
f"thisExp.setPriority('{key}', {val})\n"
|
|
1318
|
+
)
|
|
1319
|
+
buff.writeIndentedLines(code)
|
|
1320
|
+
|
|
1321
|
+
code = (
|
|
1322
|
+
"# return experiment handler\n"
|
|
1323
|
+
"return thisExp\n"
|
|
1324
|
+
)
|
|
1325
|
+
buff.writeIndentedLines(code)
|
|
1326
|
+
# Exit function def
|
|
1327
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1328
|
+
buff.writeIndentedLines("\n")
|
|
1329
|
+
|
|
1330
|
+
def writeLoggingCode(self, buff):
|
|
1331
|
+
# Enter function def
|
|
1332
|
+
code = (
|
|
1333
|
+
'\n'
|
|
1334
|
+
'def setupLogging(filename):\n'
|
|
1335
|
+
' """\n'
|
|
1336
|
+
' Setup a log file and tell it what level to log at.\n'
|
|
1337
|
+
' \n'
|
|
1338
|
+
' Parameters\n'
|
|
1339
|
+
' ==========\n'
|
|
1340
|
+
' filename : str or pathlib.Path\n'
|
|
1341
|
+
' Filename to save log file and data files as, doesn\'t need an extension.\n'
|
|
1342
|
+
' \n'
|
|
1343
|
+
' Returns\n'
|
|
1344
|
+
' ==========\n'
|
|
1345
|
+
' psychopy.logging.LogFile\n'
|
|
1346
|
+
' Text stream to receive inputs from the logging system.\n'
|
|
1347
|
+
' """\n'
|
|
1348
|
+
)
|
|
1349
|
+
buff.writeIndentedLines(code)
|
|
1350
|
+
buff.setIndentLevel(+1, relative=True)
|
|
1351
|
+
|
|
1352
|
+
# set app logging level
|
|
1353
|
+
code = (
|
|
1354
|
+
"# set how much information should be printed to the console / app\n"
|
|
1355
|
+
"if PILOTING:\n"
|
|
1356
|
+
" logging.console.setLevel(\n"
|
|
1357
|
+
" prefs.piloting['pilotConsoleLoggingLevel']\n"
|
|
1358
|
+
" )\n"
|
|
1359
|
+
"else:\n"
|
|
1360
|
+
" logging.console.setLevel('%(consoleLoggingLevel)s')\n"
|
|
1361
|
+
)
|
|
1362
|
+
buff.writeIndentedLines(code % self.params)
|
|
1363
|
+
# create log file
|
|
1364
|
+
if self.params['Save log file'].val:
|
|
1365
|
+
code = (
|
|
1366
|
+
"# save a log file for detail verbose info\n"
|
|
1367
|
+
"logFile = logging.LogFile(filename+'.log')\n"
|
|
1368
|
+
"if PILOTING:\n"
|
|
1369
|
+
" logFile.setLevel(\n"
|
|
1370
|
+
" prefs.piloting['pilotLoggingLevel']\n"
|
|
1371
|
+
" )\n"
|
|
1372
|
+
"else:\n"
|
|
1373
|
+
" logFile.setLevel(\n"
|
|
1374
|
+
" logging.getLevel('%(logging level)s')\n"
|
|
1375
|
+
" )\n"
|
|
1376
|
+
"\n"
|
|
1377
|
+
"return logFile\n"
|
|
1378
|
+
)
|
|
1379
|
+
buff.writeIndentedLines(code % self.params)
|
|
1380
|
+
# Exit function def
|
|
1381
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1382
|
+
buff.writeIndentedLines("\n")
|
|
1383
|
+
|
|
1384
|
+
def writeExpInfoDlgCode(self, buff):
|
|
1385
|
+
# Enter function def
|
|
1386
|
+
code = (
|
|
1387
|
+
'\n'
|
|
1388
|
+
'def showExpInfoDlg(expInfo):\n'
|
|
1389
|
+
' """\n'
|
|
1390
|
+
' Show participant info dialog.\n'
|
|
1391
|
+
' Parameters\n'
|
|
1392
|
+
' ==========\n'
|
|
1393
|
+
' expInfo : dict\n'
|
|
1394
|
+
' Information about this experiment.\n'
|
|
1395
|
+
' \n'
|
|
1396
|
+
' Returns\n'
|
|
1397
|
+
' ==========\n'
|
|
1398
|
+
' dict\n'
|
|
1399
|
+
' Information about this experiment.\n'
|
|
1400
|
+
' """\n'
|
|
1401
|
+
)
|
|
1402
|
+
buff.writeIndentedLines(code)
|
|
1403
|
+
buff.setIndentLevel(+1, relative=True)
|
|
1404
|
+
|
|
1405
|
+
sorting = "False" # in Py3 dicts are chrono-sorted so default no sort
|
|
1406
|
+
code = (
|
|
1407
|
+
f"# show participant info dialog\n"
|
|
1408
|
+
f"dlg = gui.DlgFromDict(\n"
|
|
1409
|
+
f" dictionary=expInfo, sortKeys={sorting}, title=expName, alwaysOnTop=True\n"
|
|
1410
|
+
f")\n"
|
|
1411
|
+
f"if dlg.OK == False:\n"
|
|
1412
|
+
f" core.quit() # user pressed cancel\n"
|
|
1413
|
+
f"# return expInfo\n"
|
|
1414
|
+
f"return expInfo\n"
|
|
1415
|
+
)
|
|
1416
|
+
buff.writeIndentedLines(code)
|
|
1417
|
+
|
|
1418
|
+
# Exit function def
|
|
1419
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1420
|
+
buff.writeIndentedLines("\n")
|
|
1421
|
+
|
|
1422
|
+
def writeDevicesCode(self, buff):
|
|
1423
|
+
# Open function def
|
|
1424
|
+
code = (
|
|
1425
|
+
'\n'
|
|
1426
|
+
'def setupDevices(expInfo, thisExp, win):\n'
|
|
1427
|
+
' """\n'
|
|
1428
|
+
' Setup whatever devices are available (mouse, keyboard, speaker, eyetracker, etc.) and add them to \n'
|
|
1429
|
+
' the device manager (deviceManager)\n'
|
|
1430
|
+
' \n'
|
|
1431
|
+
' Parameters\n'
|
|
1432
|
+
' ==========\n'
|
|
1433
|
+
' expInfo : dict\n'
|
|
1434
|
+
' Information about this experiment, created by the `setupExpInfo` function.\n'
|
|
1435
|
+
' thisExp : psychopy.data.ExperimentHandler\n'
|
|
1436
|
+
' Handler object for this experiment, contains the data to save and information about \n'
|
|
1437
|
+
' where to save it to.\n'
|
|
1438
|
+
' win : psychopy.visual.Window\n'
|
|
1439
|
+
' Window in which to run this experiment.\n'
|
|
1440
|
+
' Returns\n'
|
|
1441
|
+
' ==========\n'
|
|
1442
|
+
' bool\n'
|
|
1443
|
+
' True if completed successfully.\n'
|
|
1444
|
+
' """\n'
|
|
1445
|
+
)
|
|
1446
|
+
buff.writeIndentedLines(code)
|
|
1447
|
+
buff.setIndentLevel(+1, relative=True)
|
|
1448
|
+
|
|
1449
|
+
# Substitute inits
|
|
1450
|
+
inits = deepcopy(self.params)
|
|
1451
|
+
if inits['mgMove'].val == "CONTINUOUS":
|
|
1452
|
+
inits['mgMove'].val = "$"
|
|
1453
|
+
inits['keyboardBackend'].val = keyboardBackendMap[inits['keyboardBackend'].val]
|
|
1454
|
+
|
|
1455
|
+
# Make ioConfig dict
|
|
1456
|
+
code = (
|
|
1457
|
+
"# --- Setup input devices ---\n"
|
|
1458
|
+
"ioConfig = {}\n"
|
|
1459
|
+
)
|
|
1460
|
+
buff.writeIndentedLines(code % inits)
|
|
1461
|
+
|
|
1462
|
+
# add eyetracker config
|
|
1463
|
+
if self.params['eyetracker'] != "None":
|
|
1464
|
+
# alert user if there's no monitor config
|
|
1465
|
+
if self.params['Monitor'].val in ["", None, "None"]:
|
|
1466
|
+
alert(code=4545)
|
|
1467
|
+
# write opening comment
|
|
1468
|
+
code = (
|
|
1469
|
+
"# setup eyetracking\n"
|
|
1470
|
+
)
|
|
1471
|
+
buff.writeIndentedLines(code)
|
|
1472
|
+
# if backend is known and has an associated class, use its methods
|
|
1473
|
+
if self.params['eyetracker'].val in knownEyetrackerBackends:
|
|
1474
|
+
# get backend class
|
|
1475
|
+
backend = knownEyetrackerBackends[self.params['eyetracker'].val]
|
|
1476
|
+
# alert user if they need fullscreen and don't have it
|
|
1477
|
+
if backend.needsFullscreen and not self.params['Full-screen window'].val:
|
|
1478
|
+
alert(code=4540)
|
|
1479
|
+
# alert user if they need calibration and don't have it
|
|
1480
|
+
if backend.needsCalibration and not any(
|
|
1481
|
+
isinstance(rt, EyetrackerCalibrationRoutine) for rt in self.exp.flow
|
|
1482
|
+
):
|
|
1483
|
+
alert(code=4510, strFields={'eyetracker': self.params['eyetracker'].val})
|
|
1484
|
+
# write code
|
|
1485
|
+
backend.writeDeviceCode(inits, buff)
|
|
1486
|
+
# otherwise, do it the old fashioned way
|
|
1487
|
+
else:
|
|
1488
|
+
code = (
|
|
1489
|
+
"ioConfig[%(eyetracker)s] = {\n"
|
|
1490
|
+
)
|
|
1491
|
+
buff.writeIndentedLines(code % inits)
|
|
1492
|
+
buff.setIndentLevel(1, relative=True)
|
|
1493
|
+
code = (
|
|
1494
|
+
"'name': 'tracker',\n"
|
|
1495
|
+
)
|
|
1496
|
+
buff.writeIndentedLines(code % inits)
|
|
1497
|
+
# Initialise for MouseGaze
|
|
1498
|
+
if self.params['eyetracker'] == "GazePoint":
|
|
1499
|
+
code = (
|
|
1500
|
+
"'network_settings': {\n"
|
|
1501
|
+
)
|
|
1502
|
+
buff.writeIndentedLines(code % inits)
|
|
1503
|
+
buff.setIndentLevel(1, relative=True)
|
|
1504
|
+
code = (
|
|
1505
|
+
"'ip_address': %(gpAddress)s,\n"
|
|
1506
|
+
"'port': %(gpPort)s\n"
|
|
1507
|
+
)
|
|
1508
|
+
buff.writeIndentedLines(code % inits)
|
|
1509
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1510
|
+
code = (
|
|
1511
|
+
"}\n"
|
|
1512
|
+
)
|
|
1513
|
+
buff.writeIndentedLines(code % inits)
|
|
1514
|
+
|
|
1515
|
+
elif self.params['eyetracker'] == "Tobii Technology":
|
|
1516
|
+
code = (
|
|
1517
|
+
"'model_name': %(tbModel)s,\n"
|
|
1518
|
+
"'serial_number': %(tbSerialNo)s,\n"
|
|
1519
|
+
"'runtime_settings': {\n"
|
|
1520
|
+
)
|
|
1521
|
+
buff.writeIndentedLines(code % inits)
|
|
1522
|
+
buff.setIndentLevel(1, relative=True)
|
|
1523
|
+
code = (
|
|
1524
|
+
"'sampling_rate': %(tbSampleRate)s,\n"
|
|
1525
|
+
)
|
|
1526
|
+
buff.writeIndentedLines(code % inits)
|
|
1527
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1528
|
+
code = (
|
|
1529
|
+
"}\n"
|
|
1530
|
+
)
|
|
1531
|
+
buff.writeIndentedLines(code % inits)
|
|
1532
|
+
|
|
1533
|
+
elif self.params['eyetracker'] == "SR Research Ltd":
|
|
1534
|
+
code = (
|
|
1535
|
+
"'model_name': %(elModel)s,\n"
|
|
1536
|
+
"'simulation_mode': %(elSimMode)s,\n"
|
|
1537
|
+
"'network_settings': %(elAddress)s,\n"
|
|
1538
|
+
"'default_native_data_file_name': 'EXPFILE',\n"
|
|
1539
|
+
"'runtime_settings': {\n"
|
|
1540
|
+
)
|
|
1541
|
+
buff.writeIndentedLines(code % inits)
|
|
1542
|
+
buff.setIndentLevel(1, relative=True)
|
|
1543
|
+
code = (
|
|
1544
|
+
"'sampling_rate': %(elSampleRate)s,\n"
|
|
1545
|
+
"'track_eyes': %(elTrackEyes)s,\n"
|
|
1546
|
+
"'sample_filtering': {\n"
|
|
1547
|
+
)
|
|
1548
|
+
buff.writeIndentedLines(code % inits)
|
|
1549
|
+
buff.setIndentLevel(1, relative=True)
|
|
1550
|
+
code = (
|
|
1551
|
+
"'FILTER_FILE': %(elDataFiltering)s,\n"
|
|
1552
|
+
"'FILTER_ONLINE': %(elLiveFiltering)s,\n"
|
|
1553
|
+
)
|
|
1554
|
+
buff.writeIndentedLines(code % inits)
|
|
1555
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1556
|
+
code = (
|
|
1557
|
+
"},\n"
|
|
1558
|
+
"'vog_settings': {\n"
|
|
1559
|
+
)
|
|
1560
|
+
buff.writeIndentedLines(code % inits)
|
|
1561
|
+
buff.setIndentLevel(1, relative=True)
|
|
1562
|
+
code = (
|
|
1563
|
+
"'pupil_measure_types': %(elPupilMeasure)s,\n"
|
|
1564
|
+
"'tracking_mode': %(elTrackingMode)s,\n"
|
|
1565
|
+
"'pupil_center_algorithm': %(elPupilAlgorithm)s,\n"
|
|
1566
|
+
)
|
|
1567
|
+
buff.writeIndentedLines(code % inits)
|
|
1568
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1569
|
+
code = (
|
|
1570
|
+
"}\n"
|
|
1571
|
+
)
|
|
1572
|
+
buff.writeIndentedLines(code % inits)
|
|
1573
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1574
|
+
code = (
|
|
1575
|
+
"}\n"
|
|
1576
|
+
)
|
|
1577
|
+
buff.writeIndentedLines(code % inits)
|
|
1578
|
+
|
|
1579
|
+
elif self.params['eyetracker'] == "Pupil Labs":
|
|
1580
|
+
# Open runtime_settings dict
|
|
1581
|
+
code = (
|
|
1582
|
+
"'runtime_settings': {\n"
|
|
1583
|
+
)
|
|
1584
|
+
buff.writeIndentedLines(code % inits)
|
|
1585
|
+
buff.setIndentLevel(1, relative=True)
|
|
1586
|
+
|
|
1587
|
+
# Define runtime_settings dict
|
|
1588
|
+
code = (
|
|
1589
|
+
"'pupillometry_only': %(plPupillometryOnly)s,\n"
|
|
1590
|
+
"'surface_name': %(plSurfaceName)s,\n"
|
|
1591
|
+
"'confidence_threshold': %(plConfidenceThreshold)s,\n"
|
|
1592
|
+
)
|
|
1593
|
+
buff.writeIndentedLines(code % inits)
|
|
1594
|
+
|
|
1595
|
+
# Open runtime_settings > pupil_remote dict
|
|
1596
|
+
code = (
|
|
1597
|
+
"'pupil_remote': {\n"
|
|
1598
|
+
)
|
|
1599
|
+
buff.writeIndentedLines(code % inits)
|
|
1600
|
+
buff.setIndentLevel(1, relative=True)
|
|
1601
|
+
|
|
1602
|
+
# Define runtime_settings > pupil_remote dict
|
|
1603
|
+
code = (
|
|
1604
|
+
"'ip_address': %(plPupilRemoteAddress)s,\n"
|
|
1605
|
+
"'port': %(plPupilRemotePort)s,\n"
|
|
1606
|
+
"'timeout_ms': %(plPupilRemoteTimeoutMs)s,\n"
|
|
1607
|
+
)
|
|
1608
|
+
buff.writeIndentedLines(code % inits)
|
|
1609
|
+
|
|
1610
|
+
# Close runtime_settings > pupil_remote dict
|
|
1611
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1612
|
+
code = (
|
|
1613
|
+
"},\n"
|
|
1614
|
+
)
|
|
1615
|
+
buff.writeIndentedLines(code % inits)
|
|
1616
|
+
|
|
1617
|
+
# Open runtime_settings > pupil_capture_recording dict
|
|
1618
|
+
code = (
|
|
1619
|
+
"'pupil_capture_recording': {\n"
|
|
1620
|
+
)
|
|
1621
|
+
buff.writeIndentedLines(code % inits)
|
|
1622
|
+
buff.setIndentLevel(1, relative=True)
|
|
1623
|
+
|
|
1624
|
+
# Define runtime_settings > pupil_capture_recording dict
|
|
1625
|
+
code = (
|
|
1626
|
+
"'enabled': %(plPupilCaptureRecordingEnabled)s,\n"
|
|
1627
|
+
"'location': %(plPupilCaptureRecordingLocation)s,\n"
|
|
1628
|
+
)
|
|
1629
|
+
buff.writeIndentedLines(code % inits)
|
|
1630
|
+
|
|
1631
|
+
# Close runtime_settings > pupil_capture_recording dict
|
|
1632
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1633
|
+
code = (
|
|
1634
|
+
"}\n"
|
|
1635
|
+
)
|
|
1636
|
+
buff.writeIndentedLines(code % inits)
|
|
1637
|
+
|
|
1638
|
+
# Close runtime_settings dict
|
|
1639
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1640
|
+
code = (
|
|
1641
|
+
"}\n"
|
|
1642
|
+
)
|
|
1643
|
+
buff.writeIndentedLines(code % inits)
|
|
1644
|
+
|
|
1645
|
+
elif self.params['eyetracker'] == "Pupil Labs (Neon)":
|
|
1646
|
+
# Open runtime_settings dict
|
|
1647
|
+
code = (
|
|
1648
|
+
"'runtime_settings': {\n"
|
|
1649
|
+
)
|
|
1650
|
+
buff.writeIndentedLines(code % inits)
|
|
1651
|
+
buff.setIndentLevel(1, relative=True)
|
|
1652
|
+
# Define runtime_settings dict
|
|
1653
|
+
code = (
|
|
1654
|
+
"'companion_address': %(plCompanionAddress)s,\n"
|
|
1655
|
+
"'companion_port': %(plCompanionPort)s,\n"
|
|
1656
|
+
"'recording_enabled': %(plCompanionRecordingEnabled)s,\n"
|
|
1657
|
+
)
|
|
1658
|
+
buff.writeIndentedLines(code % inits)
|
|
1659
|
+
|
|
1660
|
+
# Close runtime_settings dict
|
|
1661
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1662
|
+
code = (
|
|
1663
|
+
"}\n"
|
|
1664
|
+
)
|
|
1665
|
+
buff.writeIndentedLines(code % inits)
|
|
1666
|
+
|
|
1667
|
+
elif self.params['eyetracker'] == "EyeLogic":
|
|
1668
|
+
code = (
|
|
1669
|
+
"'runtime_settings': {\n"
|
|
1670
|
+
)
|
|
1671
|
+
buff.writeIndentedLines(code % inits)
|
|
1672
|
+
buff.setIndentLevel(1, relative=True)
|
|
1673
|
+
code = (
|
|
1674
|
+
"'sampling_rate': %(ecSampleRate)s,\n"
|
|
1675
|
+
)
|
|
1676
|
+
buff.writeIndentedLines(code % inits)
|
|
1677
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1678
|
+
code = (
|
|
1679
|
+
"}\n"
|
|
1680
|
+
)
|
|
1681
|
+
buff.writeIndentedLines(code % inits)
|
|
1682
|
+
|
|
1683
|
+
# Close ioDevice dict
|
|
1684
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1685
|
+
code = (
|
|
1686
|
+
"}\n"
|
|
1687
|
+
)
|
|
1688
|
+
buff.writeIndentedLines(code % inits)
|
|
1689
|
+
|
|
1690
|
+
# Add keyboard to ioConfig
|
|
1691
|
+
if self.params['keyboardBackend'] == 'ioHub':
|
|
1692
|
+
code = (
|
|
1693
|
+
"\n"
|
|
1694
|
+
"# Setup iohub keyboard\n"
|
|
1695
|
+
"ioConfig['Keyboard'] = dict(use_keymap='psychopy')\n"
|
|
1696
|
+
)
|
|
1697
|
+
buff.writeIndentedLines(code % inits)
|
|
1698
|
+
|
|
1699
|
+
if self.needIoHub and self.params['keyboardBackend'] == 'PsychToolbox':
|
|
1700
|
+
alert(code=4550)
|
|
1701
|
+
|
|
1702
|
+
# Add experiment handler filename to ioConfig
|
|
1703
|
+
if self.needIoHub:
|
|
1704
|
+
code = (
|
|
1705
|
+
"\n"
|
|
1706
|
+
"# Setup iohub experiment\n"
|
|
1707
|
+
"ioConfig['Experiment'] = dict(filename=thisExp.dataFileName)\n"
|
|
1708
|
+
)
|
|
1709
|
+
buff.writeIndentedLines(code % inits)
|
|
1710
|
+
|
|
1711
|
+
# Make ioDataStoreConfig dict
|
|
1712
|
+
if self.params['Save hdf5 file'].val:
|
|
1713
|
+
code = (
|
|
1714
|
+
"\n"
|
|
1715
|
+
"# --- Setup iohub hdf5 datastore ---\n"
|
|
1716
|
+
)
|
|
1717
|
+
buff.writeIndentedLines(code % inits)
|
|
1718
|
+
# Specify session
|
|
1719
|
+
code = (
|
|
1720
|
+
"ioSession = str(expInfo.get('session', '1'))\n"
|
|
1721
|
+
)
|
|
1722
|
+
buff.writeIndentedLines(code % inits)
|
|
1723
|
+
# Create ioDataStoreConfig dict
|
|
1724
|
+
code = (
|
|
1725
|
+
"ioDataStoreConfig = {"
|
|
1726
|
+
)
|
|
1727
|
+
buff.writeIndentedLines(code % inits)
|
|
1728
|
+
buff.setIndentLevel(1, relative=True)
|
|
1729
|
+
code = (
|
|
1730
|
+
f"'experiment_code': %(expName)s,\n" # noqa: F541
|
|
1731
|
+
"'session_code': ioSession,\n"
|
|
1732
|
+
"'datastore_name': thisExp.dataFileName,\n"
|
|
1733
|
+
)
|
|
1734
|
+
buff.writeIndentedLines(code % inits)
|
|
1735
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1736
|
+
code = (
|
|
1737
|
+
"}\n"
|
|
1738
|
+
)
|
|
1739
|
+
buff.writeIndentedLines(code % inits)
|
|
1740
|
+
|
|
1741
|
+
# Start ioHub server
|
|
1742
|
+
if self.needIoHub:
|
|
1743
|
+
code = (
|
|
1744
|
+
"\n"
|
|
1745
|
+
"# Start ioHub server\n"
|
|
1746
|
+
)
|
|
1747
|
+
buff.writeIndentedLines(code % inits)
|
|
1748
|
+
if self.params['Save hdf5 file'].val:
|
|
1749
|
+
code = (
|
|
1750
|
+
"ioServer = io.launchHubServer(window=win, **ioDataStoreConfig, **ioConfig)\n"
|
|
1751
|
+
)
|
|
1752
|
+
else:
|
|
1753
|
+
code = (
|
|
1754
|
+
"ioServer = io.launchHubServer(window=win, **ioConfig)\n"
|
|
1755
|
+
)
|
|
1756
|
+
buff.writeIndentedLines(code % inits)
|
|
1757
|
+
else:
|
|
1758
|
+
code = (
|
|
1759
|
+
"ioSession = ioServer = eyetracker = None"
|
|
1760
|
+
)
|
|
1761
|
+
buff.writeIndentedLines(code % inits)
|
|
1762
|
+
|
|
1763
|
+
# store ioServer
|
|
1764
|
+
code = (
|
|
1765
|
+
"\n"
|
|
1766
|
+
"# store ioServer object in the device manager\n"
|
|
1767
|
+
"deviceManager.ioServer = ioServer\n"
|
|
1768
|
+
)
|
|
1769
|
+
buff.writeIndentedLines(code % inits)
|
|
1770
|
+
# add eyetracker to DeviceManager
|
|
1771
|
+
if self.params['eyetracker'] != "None":
|
|
1772
|
+
code = (
|
|
1773
|
+
"deviceManager.devices['eyetracker'] = ioServer.getDevice('tracker')\n"
|
|
1774
|
+
)
|
|
1775
|
+
buff.writeIndentedLines(code % inits)
|
|
1776
|
+
# make default keyboard
|
|
1777
|
+
code = (
|
|
1778
|
+
"\n"
|
|
1779
|
+
"# create a default keyboard (e.g. to check for escape)\n"
|
|
1780
|
+
"if deviceManager.getDevice('defaultKeyboard') is None:\n"
|
|
1781
|
+
" deviceManager.addDevice(\n"
|
|
1782
|
+
" deviceClass='keyboard', deviceName='defaultKeyboard', backend=%(keyboardBackend)s\n"
|
|
1783
|
+
" )\n"
|
|
1784
|
+
)
|
|
1785
|
+
buff.writeIndentedLines(code % inits)
|
|
1786
|
+
# setup devices from config
|
|
1787
|
+
for deviceName in self.exp.getRequiredDeviceNames():
|
|
1788
|
+
if deviceName in prefs.devices:
|
|
1789
|
+
# write device setup if possile
|
|
1790
|
+
prefs.devices[deviceName].writeDeviceCode(buff)
|
|
1791
|
+
elif deviceName is None:
|
|
1792
|
+
# if default, let init code handle device
|
|
1793
|
+
pass
|
|
1794
|
+
else:
|
|
1795
|
+
# alert if not
|
|
1796
|
+
alert(4810, strFields={'deviceName': deviceName})
|
|
1797
|
+
|
|
1798
|
+
code = (
|
|
1799
|
+
"# return True if completed successfully\n"
|
|
1800
|
+
"return True\n"
|
|
1801
|
+
)
|
|
1802
|
+
buff.writeIndentedLines(code)
|
|
1803
|
+
# Exit function def
|
|
1804
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1805
|
+
buff.writeIndentedLines("\n")
|
|
1806
|
+
|
|
1807
|
+
def writeWindowCode(self, buff):
|
|
1808
|
+
"""Setup the window code.
|
|
1809
|
+
"""
|
|
1810
|
+
# Open function def
|
|
1811
|
+
code = (
|
|
1812
|
+
'\n'
|
|
1813
|
+
'def setupWindow(expInfo=None, win=None):\n'
|
|
1814
|
+
' """\n'
|
|
1815
|
+
' Setup the Window\n'
|
|
1816
|
+
' \n'
|
|
1817
|
+
' Parameters\n'
|
|
1818
|
+
' ==========\n'
|
|
1819
|
+
' expInfo : dict\n'
|
|
1820
|
+
' Information about this experiment, created by the `setupExpInfo` function.\n'
|
|
1821
|
+
' win : psychopy.visual.Window\n'
|
|
1822
|
+
' Window to setup - leave as None to create a new window.\n'
|
|
1823
|
+
' \n'
|
|
1824
|
+
' Returns\n'
|
|
1825
|
+
' ==========\n'
|
|
1826
|
+
' psychopy.visual.Window\n'
|
|
1827
|
+
' Window in which to run this experiment.\n'
|
|
1828
|
+
' """\n'
|
|
1829
|
+
)
|
|
1830
|
+
buff.writeIndentedLines(code)
|
|
1831
|
+
buff.setIndentLevel(+1, relative=True)
|
|
1832
|
+
|
|
1833
|
+
params = self.params.copy()
|
|
1834
|
+
|
|
1835
|
+
# get parameters for the Window
|
|
1836
|
+
params['fullScr'] = self.params['Full-screen window'].val
|
|
1837
|
+
# if fullscreen then hide the mouse, unless its requested explicitly
|
|
1838
|
+
allowGUI = (not bool(params['fullScr'])) or bool(self.params['Show mouse'].val)
|
|
1839
|
+
allowStencil = False
|
|
1840
|
+
# NB routines is a dict:
|
|
1841
|
+
for thisRoutine in list(self.exp.routines.values()):
|
|
1842
|
+
# a single routine is a list of components:
|
|
1843
|
+
for thisComp in thisRoutine:
|
|
1844
|
+
if thisComp.type in ('Aperture', 'Textbox'):
|
|
1845
|
+
allowStencil = True
|
|
1846
|
+
if thisComp.type == 'RatingScale':
|
|
1847
|
+
allowGUI = True # to have a mouse
|
|
1848
|
+
params['allowGUI'] = allowGUI
|
|
1849
|
+
params['allowStencil'] = allowStencil
|
|
1850
|
+
# use fbo?
|
|
1851
|
+
params['useFBO'] = "True"
|
|
1852
|
+
if params['blendMode'].val in ("nofbo",):
|
|
1853
|
+
params['blendMode'].val = 'avg'
|
|
1854
|
+
params['useFBO'] = "False"
|
|
1855
|
+
# Substitute units
|
|
1856
|
+
if self.params['Units'].val == 'use prefs':
|
|
1857
|
+
params['Units'] = "None"
|
|
1858
|
+
|
|
1859
|
+
requestedScreenNumber = int(self.params['Screen'].val)
|
|
1860
|
+
nScreens = 10
|
|
1861
|
+
# try:
|
|
1862
|
+
# nScreens = wx.Display.GetCount() # NO, don't rely on wx being present
|
|
1863
|
+
# except Exception:
|
|
1864
|
+
# # will fail if application hasn't been created (e.g. in test
|
|
1865
|
+
# # environments)
|
|
1866
|
+
# nScreens = 10
|
|
1867
|
+
if requestedScreenNumber > nScreens:
|
|
1868
|
+
logging.warn("Requested screen can't be found. Writing script "
|
|
1869
|
+
"using first available screen.")
|
|
1870
|
+
params['screenNumber'] = 0
|
|
1871
|
+
else:
|
|
1872
|
+
# computer has 1 as first screen
|
|
1873
|
+
params['screenNumber'] = requestedScreenNumber - 1
|
|
1874
|
+
|
|
1875
|
+
params['size'] = self.params['Window size (pixels)']
|
|
1876
|
+
params['winType'] = self.params['winBackend']
|
|
1877
|
+
|
|
1878
|
+
# force windowed according to prefs/pilot mode
|
|
1879
|
+
if params['fullScr']:
|
|
1880
|
+
msg = _translate("Fullscreen settings ignored as running in pilot mode.")
|
|
1881
|
+
code = (
|
|
1882
|
+
f"if PILOTING:\n"
|
|
1883
|
+
f" logging.debug('{msg}')\n"
|
|
1884
|
+
f"\n"
|
|
1885
|
+
)
|
|
1886
|
+
buff.writeIndentedLines(code % params)
|
|
1887
|
+
|
|
1888
|
+
# Do we need to make a new window?
|
|
1889
|
+
code = (
|
|
1890
|
+
"if win is None:\n"
|
|
1891
|
+
" # if not given a window to setup, make one\n"
|
|
1892
|
+
" win = visual.Window(\n"
|
|
1893
|
+
" size=_winSize, fullscr=_fullScr, screen=%(screenNumber)s,\n"
|
|
1894
|
+
" winType=%(winType)s, allowGUI=%(allowGUI)s, allowStencil=%(allowStencil)s,\n"
|
|
1895
|
+
" monitor=%(Monitor)s, color=%(color)s, colorSpace=%(colorSpace)s,\n"
|
|
1896
|
+
" backgroundImage=%(backgroundImg)s, backgroundFit=%(backgroundFit)s,\n"
|
|
1897
|
+
" blendMode=%(blendMode)s, useFBO=%(useFBO)s,\n"
|
|
1898
|
+
" units=%(Units)s,\n"
|
|
1899
|
+
" checkTiming=False # we're going to do this ourselves in a moment\n"
|
|
1900
|
+
" )\n"
|
|
1901
|
+
"else:\n"
|
|
1902
|
+
" # if we have a window, just set the attributes which are safe to set\n"
|
|
1903
|
+
" win.color = %(color)s\n"
|
|
1904
|
+
" win.colorSpace = %(colorSpace)s\n"
|
|
1905
|
+
" win.backgroundImage = %(backgroundImg)s\n"
|
|
1906
|
+
" win.backgroundFit = %(backgroundFit)s\n"
|
|
1907
|
+
" win.units = %(Units)s\n"
|
|
1908
|
+
)
|
|
1909
|
+
buff.writeIndentedLines(code % params)
|
|
1910
|
+
# do/skip frame rate measurement according to params
|
|
1911
|
+
if self.params['measureFrameRate']:
|
|
1912
|
+
code = (
|
|
1913
|
+
"if expInfo is not None:\n"
|
|
1914
|
+
" # get/measure frame rate if not already in expInfo\n"
|
|
1915
|
+
" if win._monitorFrameRate is None:\n"
|
|
1916
|
+
" win._monitorFrameRate = win.getActualFrameRate(infoMsg=%(frameRateMsg)s)\n"
|
|
1917
|
+
" expInfo['frameRate'] = win._monitorFrameRate\n"
|
|
1918
|
+
)
|
|
1919
|
+
buff.writeIndentedLines(code % params)
|
|
1920
|
+
elif self.params['frameRate']:
|
|
1921
|
+
code = (
|
|
1922
|
+
"if expInfo is not None:\n"
|
|
1923
|
+
" expInfo['frameRate'] = %(frameRate)s\n"
|
|
1924
|
+
)
|
|
1925
|
+
buff.writeIndentedLines(code % params)
|
|
1926
|
+
|
|
1927
|
+
# Reset splash message
|
|
1928
|
+
code = (
|
|
1929
|
+
"win.hideMessage()\n"
|
|
1930
|
+
)
|
|
1931
|
+
buff.writeIndentedLines(code)
|
|
1932
|
+
|
|
1933
|
+
# post-init window adjustments for piloting mode
|
|
1934
|
+
code = (
|
|
1935
|
+
"if PILOTING:\n"
|
|
1936
|
+
" # show a visual indicator if we're in piloting mode\n"
|
|
1937
|
+
" if prefs.piloting['showPilotingIndicator']:\n"
|
|
1938
|
+
" win.showPilotingIndicator()\n"
|
|
1939
|
+
" # always show the mouse in piloting mode\n"
|
|
1940
|
+
" if prefs.piloting['forceMouseVisible']:\n"
|
|
1941
|
+
" win.mouseVisible = True\n"
|
|
1942
|
+
)
|
|
1943
|
+
buff.writeIndentedLines(code)
|
|
1944
|
+
|
|
1945
|
+
# Import here to avoid circular dependency!
|
|
1946
|
+
from psychopy.experiment._experiment import RequiredImport
|
|
1947
|
+
microphoneImport = RequiredImport(importName='microphone',
|
|
1948
|
+
importFrom='psychopy',
|
|
1949
|
+
importAs='')
|
|
1950
|
+
if microphoneImport in self.exp.requiredImports: # need a pyo Server
|
|
1951
|
+
buff.writeIndentedLines("\n# Enable sound input/output:\n"
|
|
1952
|
+
"microphone.switchOn()\n")
|
|
1953
|
+
# Exit function def
|
|
1954
|
+
code = (
|
|
1955
|
+
"\n"
|
|
1956
|
+
"return win\n"
|
|
1957
|
+
)
|
|
1958
|
+
buff.writeIndentedLines(code)
|
|
1959
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1960
|
+
buff.writeIndentedLines("\n")
|
|
1961
|
+
|
|
1962
|
+
def writeSaveDataCode(self, buff):
|
|
1963
|
+
# Open function def
|
|
1964
|
+
code = (
|
|
1965
|
+
'\n'
|
|
1966
|
+
'def saveData(thisExp):\n'
|
|
1967
|
+
' """\n'
|
|
1968
|
+
' Save data from this experiment\n'
|
|
1969
|
+
' \n'
|
|
1970
|
+
' Parameters\n'
|
|
1971
|
+
' ==========\n'
|
|
1972
|
+
' thisExp : psychopy.data.ExperimentHandler\n'
|
|
1973
|
+
' Handler object for this experiment, contains the data to save and information about \n'
|
|
1974
|
+
' where to save it to.\n'
|
|
1975
|
+
' """\n'
|
|
1976
|
+
)
|
|
1977
|
+
buff.writeIndentedLines(code)
|
|
1978
|
+
buff.setIndentLevel(+1, relative=True)
|
|
1979
|
+
# Get filename from thisExp
|
|
1980
|
+
code = (
|
|
1981
|
+
"filename = thisExp.dataFileName\n"
|
|
1982
|
+
"# these shouldn't be strictly necessary (should auto-save)\n"
|
|
1983
|
+
)
|
|
1984
|
+
if self.params['Save wide csv file'].val:
|
|
1985
|
+
code += (
|
|
1986
|
+
"thisExp.saveAsWideText(filename + '.csv', delim=%(Data file delimiter)s)\n"
|
|
1987
|
+
)
|
|
1988
|
+
if self.params['Save psydat file'].val:
|
|
1989
|
+
code += (
|
|
1990
|
+
"thisExp.saveAsPickle(filename)\n"
|
|
1991
|
+
)
|
|
1992
|
+
buff.writeIndentedLines(code % self.params)
|
|
1993
|
+
|
|
1994
|
+
# Exit function def
|
|
1995
|
+
buff.setIndentLevel(-1, relative=True)
|
|
1996
|
+
buff.writeIndentedLines("\n")
|
|
1997
|
+
|
|
1998
|
+
def writeWindowCodeJS(self, buff):
|
|
1999
|
+
"""Setup the JS window code.
|
|
2000
|
+
"""
|
|
2001
|
+
# Replace instances of 'use prefs'
|
|
2002
|
+
units = self.params['Units'].val
|
|
2003
|
+
if units == 'use prefs':
|
|
2004
|
+
units = 'height'
|
|
2005
|
+
|
|
2006
|
+
code = ("// init psychoJS:\n"
|
|
2007
|
+
"const psychoJS = new PsychoJS({{\n"
|
|
2008
|
+
" debug: true\n"
|
|
2009
|
+
"}});\n\n"
|
|
2010
|
+
"// open window:\n"
|
|
2011
|
+
"psychoJS.openWindow({{\n"
|
|
2012
|
+
" fullscr: {fullScr},\n"
|
|
2013
|
+
" color: new util.Color({params[color]}),\n"
|
|
2014
|
+
" units: '{units}',\n"
|
|
2015
|
+
" waitBlanking: true,\n"
|
|
2016
|
+
" backgroundImage: {params[backgroundImg]},\n"
|
|
2017
|
+
" backgroundFit: {params[backgroundFit]},\n"
|
|
2018
|
+
"}});\n").format(
|
|
2019
|
+
fullScr=str(self.params['Full-screen window']).lower(),
|
|
2020
|
+
params=self.params,
|
|
2021
|
+
units=units
|
|
2022
|
+
)
|
|
2023
|
+
buff.writeIndentedLines(code)
|
|
2024
|
+
|
|
2025
|
+
def writePauseCode(self, buff):
|
|
2026
|
+
# open function def for pause
|
|
2027
|
+
code = (
|
|
2028
|
+
'def pauseExperiment(thisExp, win=None, timers=[], currentRoutine=None):\n'
|
|
2029
|
+
' """\n'
|
|
2030
|
+
' Pause this experiment, preventing the flow from advancing to the next routine until resumed.\n'
|
|
2031
|
+
' \n'
|
|
2032
|
+
' Parameters\n'
|
|
2033
|
+
' ==========\n'
|
|
2034
|
+
' thisExp : psychopy.data.ExperimentHandler\n'
|
|
2035
|
+
' Handler object for this experiment, contains the data to save and information about \n'
|
|
2036
|
+
' where to save it to.\n'
|
|
2037
|
+
' win : psychopy.visual.Window\n'
|
|
2038
|
+
' Window for this experiment.\n'
|
|
2039
|
+
' timers : list, tuple\n'
|
|
2040
|
+
' List of timers to reset once pausing is finished.\n'
|
|
2041
|
+
' currentRoutine : psychopy.data.Routine\n'
|
|
2042
|
+
' Current Routine we are in at time of pausing, if any. This object tells PsychoPy what Components to pause/play/dispatch.\n'
|
|
2043
|
+
' """\n'
|
|
2044
|
+
)
|
|
2045
|
+
buff.writeIndentedLines(code)
|
|
2046
|
+
buff.setIndentLevel(+1, relative=True)
|
|
2047
|
+
|
|
2048
|
+
# handle pausing
|
|
2049
|
+
code = (
|
|
2050
|
+
"# if we are not paused, do nothing\n"
|
|
2051
|
+
"if thisExp.status != PAUSED:\n"
|
|
2052
|
+
" return\n"
|
|
2053
|
+
"\n"
|
|
2054
|
+
"# start a timer to figure out how long we're paused for\n"
|
|
2055
|
+
"pauseTimer = core.Clock()\n"
|
|
2056
|
+
"# pause any playback components\n"
|
|
2057
|
+
"if currentRoutine is not None:\n"
|
|
2058
|
+
" for comp in currentRoutine.getPlaybackComponents():\n"
|
|
2059
|
+
" comp.pause()\n"
|
|
2060
|
+
"# make sure we have a keyboard\n"
|
|
2061
|
+
"defaultKeyboard = deviceManager.getDevice('defaultKeyboard')\n"
|
|
2062
|
+
"if defaultKeyboard is None:\n"
|
|
2063
|
+
" defaultKeyboard = deviceManager.addKeyboard(\n"
|
|
2064
|
+
" deviceClass='keyboard',\n"
|
|
2065
|
+
" deviceName='defaultKeyboard',\n"
|
|
2066
|
+
" backend=%(keyboardBackend)s,\n"
|
|
2067
|
+
" )\n"
|
|
2068
|
+
"# run a while loop while we wait to unpause\n"
|
|
2069
|
+
"while thisExp.status == PAUSED:\n"
|
|
2070
|
+
)
|
|
2071
|
+
if self.params['Enable Escape'].val:
|
|
2072
|
+
code += (
|
|
2073
|
+
" # check for quit (typically the Esc key)\n"
|
|
2074
|
+
" if defaultKeyboard.getKeys(keyList=['escape']):\n"
|
|
2075
|
+
" endExperiment(thisExp, win=win)\n"
|
|
2076
|
+
)
|
|
2077
|
+
code += (
|
|
2078
|
+
" # dispatch messages on response components\n"
|
|
2079
|
+
" if currentRoutine is not None:\n"
|
|
2080
|
+
" for comp in currentRoutine.getDispatchComponents():\n"
|
|
2081
|
+
" comp.device.dispatchMessages()\n"
|
|
2082
|
+
" # sleep 1ms so other threads can execute\n"
|
|
2083
|
+
" clock.time.sleep(0.001)\n"
|
|
2084
|
+
"# if stop was requested while paused, quit\n"
|
|
2085
|
+
"if thisExp.status == FINISHED:\n"
|
|
2086
|
+
" endExperiment(thisExp, win=win)\n"
|
|
2087
|
+
"# resume any playback components\n"
|
|
2088
|
+
"if currentRoutine is not None:\n"
|
|
2089
|
+
" for comp in currentRoutine.getPlaybackComponents():\n"
|
|
2090
|
+
" comp.play()\n"
|
|
2091
|
+
"# reset any timers\n"
|
|
2092
|
+
"for timer in timers:\n"
|
|
2093
|
+
" timer.addTime(-pauseTimer.getTime())\n"
|
|
2094
|
+
)
|
|
2095
|
+
buff.writeIndentedLines(code % self.params)
|
|
2096
|
+
# exit function def
|
|
2097
|
+
buff.setIndentLevel(-1, relative=True)
|
|
2098
|
+
buff.writeIndentedLines("\n")
|
|
2099
|
+
|
|
2100
|
+
def writeEndCode(self, buff):
|
|
2101
|
+
"""Write code for end of experiment (e.g. close log file).
|
|
2102
|
+
"""
|
|
2103
|
+
# Open function def
|
|
2104
|
+
code = (
|
|
2105
|
+
'\n'
|
|
2106
|
+
'def endExperiment(thisExp, win=None):\n'
|
|
2107
|
+
' """\n'
|
|
2108
|
+
' End this experiment, performing final shut down operations.\n'
|
|
2109
|
+
' \n'
|
|
2110
|
+
' This function does NOT close the window or end the Python process - use `quit` for this.\n'
|
|
2111
|
+
' \n'
|
|
2112
|
+
' Parameters\n'
|
|
2113
|
+
' ==========\n'
|
|
2114
|
+
' thisExp : psychopy.data.ExperimentHandler\n'
|
|
2115
|
+
' Handler object for this experiment, contains the data to save and information about \n'
|
|
2116
|
+
' where to save it to.\n'
|
|
2117
|
+
' win : psychopy.visual.Window\n'
|
|
2118
|
+
' Window for this experiment.\n'
|
|
2119
|
+
' """\n'
|
|
2120
|
+
)
|
|
2121
|
+
buff.writeIndentedLines(code)
|
|
2122
|
+
buff.setIndentLevel(+1, relative=True)
|
|
2123
|
+
# Write code to end experiment
|
|
2124
|
+
code = (
|
|
2125
|
+
"if win is not None:\n"
|
|
2126
|
+
" # remove autodraw from all current components\n"
|
|
2127
|
+
" win.clearAutoDraw()\n"
|
|
2128
|
+
" # Flip one final time so any remaining win.callOnFlip() \n"
|
|
2129
|
+
" # and win.timeOnFlip() tasks get executed\n"
|
|
2130
|
+
" win.flip()\n"
|
|
2131
|
+
"# return console logger level to WARNING\n"
|
|
2132
|
+
"logging.console.setLevel(logging.WARNING)\n"
|
|
2133
|
+
"# mark experiment handler as finished\n"
|
|
2134
|
+
"thisExp.status = FINISHED\n"
|
|
2135
|
+
"# run any 'at exit' functions\n"
|
|
2136
|
+
"for fcn in runAtExit:\n"
|
|
2137
|
+
" fcn()\n"
|
|
2138
|
+
)
|
|
2139
|
+
if self.params['Save log file'].val:
|
|
2140
|
+
code += (
|
|
2141
|
+
"logging.flush()\n"
|
|
2142
|
+
)
|
|
2143
|
+
buff.writeIndentedLines(code)
|
|
2144
|
+
# Exit function def
|
|
2145
|
+
buff.setIndentLevel(-1, relative=True)
|
|
2146
|
+
buff.writeIndentedLines("\n")
|
|
2147
|
+
|
|
2148
|
+
# Open function def
|
|
2149
|
+
code = (
|
|
2150
|
+
'\n'
|
|
2151
|
+
'def quit(thisExp, win=None, thisSession=None):\n'
|
|
2152
|
+
' """\n'
|
|
2153
|
+
' Fully quit, closing the window and ending the Python process.\n'
|
|
2154
|
+
' \n'
|
|
2155
|
+
' Parameters\n'
|
|
2156
|
+
' ==========\n'
|
|
2157
|
+
' win : psychopy.visual.Window\n'
|
|
2158
|
+
' Window to close.\n'
|
|
2159
|
+
' thisSession : psychopy.session.Session or None\n'
|
|
2160
|
+
' Handle of the Session object this experiment is being run from, if any.\n'
|
|
2161
|
+
' """\n'
|
|
2162
|
+
)
|
|
2163
|
+
buff.writeIndentedLines(code)
|
|
2164
|
+
buff.setIndentLevel(+1, relative=True)
|
|
2165
|
+
# Write code to end session
|
|
2166
|
+
code = (
|
|
2167
|
+
"thisExp.abort() # or data files will save again on exit\n"
|
|
2168
|
+
"# make sure everything is closed down\n"
|
|
2169
|
+
"if win is not None:\n"
|
|
2170
|
+
" # Flip one final time so any remaining win.callOnFlip() \n"
|
|
2171
|
+
" # and win.timeOnFlip() tasks get executed before quitting\n"
|
|
2172
|
+
" win.flip()\n"
|
|
2173
|
+
" win.close()\n"
|
|
2174
|
+
)
|
|
2175
|
+
if self.params['Save log file'].val:
|
|
2176
|
+
code += (
|
|
2177
|
+
"logging.flush()\n"
|
|
2178
|
+
)
|
|
2179
|
+
code += (
|
|
2180
|
+
"if thisSession is not None:\n"
|
|
2181
|
+
" thisSession.stop()\n"
|
|
2182
|
+
"# terminate Python process\n"
|
|
2183
|
+
"core.quit()\n"
|
|
2184
|
+
)
|
|
2185
|
+
buff.writeIndentedLines(code)
|
|
2186
|
+
# Exit function def
|
|
2187
|
+
buff.setIndentLevel(-1, relative=True)
|
|
2188
|
+
buff.writeIndentedLines("\n")
|
|
2189
|
+
|
|
2190
|
+
def writeEndCodeJS(self, buff):
|
|
2191
|
+
"""Write some general functions that might be used by any Scheduler/object"""
|
|
2192
|
+
|
|
2193
|
+
recordLoopIterationFunc = ("\nfunction importConditions(currentLoop) {\n"
|
|
2194
|
+
" return async function () {\n"
|
|
2195
|
+
" psychoJS.importAttributes(currentLoop.getCurrentTrial());\n"
|
|
2196
|
+
" return Scheduler.Event.NEXT;\n"
|
|
2197
|
+
" };\n"
|
|
2198
|
+
"}\n")
|
|
2199
|
+
buff.writeIndentedLines(recordLoopIterationFunc)
|
|
2200
|
+
code = (
|
|
2201
|
+
"\n"
|
|
2202
|
+
"async function quitPsychoJS(message, isCompleted) {\n"
|
|
2203
|
+
)
|
|
2204
|
+
buff.writeIndented(code)
|
|
2205
|
+
buff.setIndentLevel(1, relative=True)
|
|
2206
|
+
code = ("// Check for and save orphaned data\n"
|
|
2207
|
+
"if (psychoJS.experiment.isEntryEmpty()) {\n"
|
|
2208
|
+
" psychoJS.experiment.nextEntry();\n"
|
|
2209
|
+
"}\n")
|
|
2210
|
+
buff.writeIndentedLines(code)
|
|
2211
|
+
|
|
2212
|
+
# Write End Experiment code component
|
|
2213
|
+
for thisRoutine in self.exp.flow:
|
|
2214
|
+
# write for regular Routines
|
|
2215
|
+
if isinstance(thisRoutine, Routine):
|
|
2216
|
+
for thisComp in thisRoutine:
|
|
2217
|
+
if hasattr(thisComp, "writeExperimentEndCodeJS"):
|
|
2218
|
+
thisComp.writeExperimentEndCodeJS(buff)
|
|
2219
|
+
# write for standalone Routines
|
|
2220
|
+
if isinstance(thisRoutine, BaseStandaloneRoutine):
|
|
2221
|
+
if hasattr(thisRoutine, "writeExperimentEndCodeJS"):
|
|
2222
|
+
thisRoutine.writeExperimentEndCodeJS(buff)
|
|
2223
|
+
|
|
2224
|
+
code = ("psychoJS.window.close();\n"
|
|
2225
|
+
"psychoJS.quit({message: message, isCompleted: isCompleted});\n\n"
|
|
2226
|
+
"return Scheduler.Event.QUIT;\n")
|
|
2227
|
+
buff.writeIndentedLines(code)
|
|
2228
|
+
|
|
2229
|
+
buff.setIndentLevel(-1, relative=True)
|
|
2230
|
+
buff.writeIndented("}\n")
|
|
2231
|
+
buff.setIndentLevel(-1)
|
|
2232
|
+
|
|
2233
|
+
@property
|
|
2234
|
+
def monitor(self):
|
|
2235
|
+
"""Stores a monitor object for the experiment so that it
|
|
2236
|
+
doesn't have to be fetched from disk repeatedly"""
|
|
2237
|
+
# remember to set _monitor to None periodically (start of script build?)
|
|
2238
|
+
# so that we do reload occasionally
|
|
2239
|
+
if not self._monitor:
|
|
2240
|
+
self._monitor = Monitor(self.params['Monitor'].val)
|
|
2241
|
+
return self._monitor
|
|
2242
|
+
|
|
2243
|
+
@monitor.setter
|
|
2244
|
+
def monitor(self, monitor):
|
|
2245
|
+
self._monitor = monitor
|
|
2246
|
+
|
|
2247
|
+
@property
|
|
2248
|
+
def needIoHub(self):
|
|
2249
|
+
# Needed for keyboard
|
|
2250
|
+
kb = self.params['keyboardBackend'] == 'ioHub'
|
|
2251
|
+
# Needed for eyetracking
|
|
2252
|
+
et = self.params['eyetracker'] != 'None'
|
|
2253
|
+
|
|
2254
|
+
return any((kb, et))
|