psychopy 2024.2.5__py3-none-any.whl → 2025.1.0__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.
Potentially problematic release.
This version of psychopy might be problematic. Click here for more details.
- psychopy/CHANGELOG.txt +4 -4
- psychopy/GIT_SHA +1 -1
- psychopy/LICENSE.txt +1 -1
- psychopy/VERSION +1 -1
- psychopy/__init__.py +10 -7
- psychopy/alerts/__init__.py +1 -1
- psychopy/alerts/_alerts.py +53 -17
- psychopy/alerts/_errorHandler.py +3 -4
- psychopy/alerts/alertsCatalogue/3210.yaml +27 -0
- psychopy/alerts/alertsCatalogue/3610.yaml +19 -0
- psychopy/alerts/alertsCatalogue/4130.yaml +19 -0
- psychopy/alerts/alertsCatalogue/alertCategories.yaml +8 -1
- psychopy/alerts/alertsCatalogue/alertmsg.py +1 -1
- psychopy/alerts/alerttools.py +0 -16
- psychopy/app/Resources/betasplash.png +0 -0
- psychopy/app/Resources/betasplash@2x.png +0 -0
- psychopy/app/Resources/classic/case.png +0 -0
- psychopy/app/Resources/classic/case@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/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/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/find.png +0 -0
- psychopy/app/Resources/classic/find@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/regex.png +0 -0
- psychopy/app/Resources/classic/regex@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/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/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/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/find.png +0 -0
- psychopy/app/Resources/dark/find@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/regex.png +0 -0
- psychopy/app/Resources/dark/regex@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/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/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/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/find.png +0 -0
- psychopy/app/Resources/light/find@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/regex.png +0 -0
- psychopy/app/Resources/light/regex@2x.png +0 -0
- psychopy/app/Resources/routine_templates/Basic.psyexp +0 -1
- psychopy/app/Resources/routine_templates/Misc.psyexp +0 -1
- psychopy/app/Resources/routine_templates/Online.psyexp +0 -2
- psychopy/app/Resources/routine_templates/Trials.psyexp +0 -1
- psychopy/app/Resources/splash.png +0 -0
- psychopy/app/Resources/splash@2x.png +0 -0
- psychopy/app/__init__.py +49 -8
- psychopy/app/__main__.py +3 -0
- psychopy/app/_psychopyApp.py +134 -125
- psychopy/app/builder/builder.py +42 -22
- psychopy/app/builder/dialogs/__init__.py +44 -11
- psychopy/app/builder/dialogs/dlgsCode.py +1 -1
- psychopy/app/builder/dialogs/dlgsConditions.py +1 -1
- psychopy/app/builder/dialogs/findDlg.py +106 -20
- psychopy/app/builder/dialogs/paramCtrls.py +42 -1
- psychopy/app/builder/validators.py +1 -1
- psychopy/app/coder/codeEditorBase.py +8 -8
- psychopy/app/coder/coder.py +32 -29
- psychopy/app/coder/fileBrowser.py +68 -22
- psychopy/app/coder/folding.py +1 -1
- psychopy/app/coder/psychoParser.py +1 -1
- psychopy/app/coder/repl.py +1 -1
- psychopy/app/coder/sourceTree.py +1 -1
- psychopy/app/connections/__init__.py +1 -1
- psychopy/app/connections/news.py +1 -1
- psychopy/app/connections/sendusage.py +1 -1
- psychopy/app/connections/updates.py +1 -1
- psychopy/app/console.py +1 -1
- psychopy/app/errorDlg.py +1 -1
- psychopy/app/frametracker.py +1 -1
- psychopy/app/idle.py +1 -1
- psychopy/app/jobs.py +5 -2
- psychopy/app/linuxconfig/__init__.py +1 -1
- psychopy/app/locale/ar_001/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/ar_001/LC_MESSAGE/messages.po +4 -4
- psychopy/app/locale/cs_CZ/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/da_DK/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/de_DE/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/de_DE/LC_MESSAGE/messages.po +3 -3
- psychopy/app/locale/el_GR/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/en_NZ/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/en_US/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/es_CO/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/es_CO/LC_MESSAGE/messages.po +4 -4
- psychopy/app/locale/es_ES/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/es_ES/LC_MESSAGE/messages.po +4 -4
- psychopy/app/locale/es_US/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/es_US/LC_MESSAGE/messages.po +4 -4
- psychopy/app/locale/et_EE/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/et_EE/LC_MESSAGE/messages.po +2 -2
- psychopy/app/locale/fa_IR/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/fa_IR/LC_MESSAGE/messages.po +1 -1
- psychopy/app/locale/fi_FI/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/fr_FR/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/fr_FR/LC_MESSAGE/messages.po +2 -2
- psychopy/app/locale/he_IL/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/he_IL/LC_MESSAGE/messages.po +2 -2
- psychopy/app/locale/hi_IN/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/hi_IN/LC_MESSAGE/messages.po +2 -2
- psychopy/app/locale/hu_HU/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/it_IT/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/it_IT/LC_MESSAGE/messages.po +2 -2
- psychopy/app/locale/ja_JP/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/ja_JP/LC_MESSAGE/messages.po +3421 -2396
- psychopy/app/locale/ko_KR/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/ms_MY/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/ms_MY/LC_MESSAGE/messages.po +2 -2
- psychopy/app/locale/nl_NL/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/nn_NO/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/pl_PL/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/pt_PT/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/pt_PT/LC_MESSAGE/messages.po +4 -4
- psychopy/app/locale/ro_RO/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/ru_RU/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/sv_SE/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/sv_SE/LC_MESSAGE/messages.po +2 -2
- psychopy/app/locale/tr_TR/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/tr_TR/LC_MESSAGE/messages.po +2 -2
- psychopy/app/locale/zh_CN/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/zh_CN/LC_MESSAGE/messages.po +3 -3
- psychopy/app/locale/zh_TW/LC_MESSAGE/messages.mo +0 -0
- psychopy/app/locale/zh_TW/LC_MESSAGE/messages.po +2 -2
- psychopy/app/{builder/localizedStrings.py → localizedStrings.py} +173 -26
- psychopy/app/pavlovia_ui/__init__.py +1 -1
- psychopy/app/pavlovia_ui/_base.py +1 -1
- psychopy/app/pavlovia_ui/functions.py +1 -1
- psychopy/app/pavlovia_ui/menu.py +1 -1
- psychopy/app/pavlovia_ui/project.py +1 -1
- psychopy/app/pavlovia_ui/search.py +1 -1
- psychopy/app/pavlovia_ui/sync.py +1 -1
- psychopy/app/pavlovia_ui/user.py +1 -1
- psychopy/app/plugin_manager/dialog.py +34 -96
- psychopy/app/plugin_manager/packages.py +10 -14
- psychopy/app/plugin_manager/plugins.py +64 -4
- psychopy/app/preferencesDlg.py +12 -37
- psychopy/app/psychopyApp.py +130 -44
- psychopy/app/ribbon.py +1 -0
- psychopy/app/runner/runner.py +19 -7
- psychopy/app/runner/scriptProcess.py +11 -6
- psychopy/app/stdout/stdOutRich.py +9 -2
- psychopy/app/themes/fonts.py +1 -1
- psychopy/app/themes/icons.py +2 -38
- psychopy/app/ui/__init__.py +1 -1
- psychopy/app/utils.py +3 -3
- psychopy/assets/default.mp3 +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/voicekeyThresholdStim.wav +0 -0
- psychopy/clock.py +4 -1
- psychopy/colors.py +2 -0
- psychopy/core.py +1 -1
- psychopy/data/base.py +1 -1
- psychopy/data/experiment.py +151 -46
- psychopy/data/routine.py +27 -1
- psychopy/data/staircase.py +2 -1
- psychopy/data/trial.py +62 -14
- psychopy/data/utils.py +1 -1
- psychopy/demos/builder/Design Templates/branchedExperiment/branchedExperiment.psyexp +333 -218
- psychopy/demos/builder/Design Templates/psychophysicsStaircase/psychophysicsStaircase.psyexp +261 -239
- psychopy/demos/builder/Design Templates/psychophysicsStairsInterleaved/psychophysicsStaircaseInterleaved.psyexp +319 -180
- psychopy/demos/builder/Design Templates/randomisedBlocks/randomisedBlocks.psyexp +204 -116
- psychopy/demos/builder/Experiments/BART/assets/background.jpg +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 +779 -866
- psychopy/demos/builder/Experiments/BigFiveInventory/BFI.psyexp +242 -180
- psychopy/demos/builder/Experiments/GoNoGo/gng.psyexp +419 -406
- psychopy/demos/builder/Experiments/dragAndDrop/README.md +2 -37
- psychopy/demos/builder/Experiments/dragAndDrop/drag_and_drop.psyexp +460 -1204
- 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/mentalRotation/MentalRotation.psyexp +583 -542
- psychopy/demos/builder/Experiments/navon/NavonTask.psyexp +458 -427
- psychopy/demos/builder/Experiments/sternberg/sternberg.psyexp +588 -550
- psychopy/demos/builder/Experiments/stroop/stroop.psyexp +303 -207
- psychopy/demos/builder/Experiments/stroopExtended/stroop.psyexp +390 -215
- psychopy/demos/builder/Experiments/stroopExtended/stroopReverse.psyexp +390 -215
- psychopy/demos/builder/Experiments/stroopVoice/stroopVoice.psyexp +357 -331
- psychopy/demos/builder/Feature Demos/buttonBox/buttonBoxDemo.psyexp +3 -2
- psychopy/demos/builder/Feature Demos/counterbalance/counterbalance.psyexp +287 -277
- psychopy/demos/builder/Feature Demos/gratings/gratings.psyexp +370 -320
- psychopy/demos/builder/Feature Demos/noise/noise.psyexp +452 -399
- psychopy/demos/builder/Feature Demos/panorama/panorama.psyexp +168 -133
- psychopy/demos/builder/Feature Demos/pilotMode/pilotMode.psyexp +4 -3
- psychopy/demos/builder/Feature Demos/progress/progressBar.psyexp +420 -392
- psychopy/demos/builder/Feature Demos/sliders/sliders.psyexp +917 -871
- psychopy/demos/builder/Feature Demos/visualValidator/readme.md +7 -0
- psychopy/demos/builder/Feature Demos/visualValidator/visualValidator.psyexp +200 -0
- psychopy/demos/builder/Hardware/EEG_parallel_component/EEG_triggers_parallel_comp.psyexp +25 -9
- psychopy/demos/builder/Hardware/EEG_serial_code/EEG_triggers_serial_code.psyexp +372 -361
- psychopy/demos/builder/Hardware/EEG_serial_component/EEG_triggers_serial_comp.psyexp +25 -9
- psychopy/demos/builder/Hardware/EGI_netstation/stroop.psyexp +320 -235
- psychopy/demos/builder/Hardware/Eyetracking_visual_search/visualSearch.psyexp +790 -651
- psychopy/demos/builder/Hardware/camera/camera.psyexp +326 -246
- psychopy/demos/builder/Hardware/eyetracking/eyetracking.psyexp +432 -327
- psychopy/demos/builder/Hardware/eyetracking_custom_cal/eyetracking_custom_cal.psyexp +440 -321
- psychopy/demos/builder/Hardware/fMRI/fMRI_demo.psyexp +190 -181
- psychopy/demos/builder/Hardware/lab_streaming_layer/lsl_triggers_demo.psyexp +323 -312
- 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 +329 -273
- 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 +450 -404
- psychopy/demos/builder/Hardware/pump/pump.psyexp +593 -329
- psychopy/demos/builder/Helper Tools/achorVSalignment/FlowCircular-Regular.ttf +0 -0
- psychopy/demos/builder/Helper Tools/achorVSalignment/anchorAlignment.psyexp +336 -274
- psychopy/demos/builder/Helper Tools/clockFace/clockFace.psyexp +200 -149
- psychopy/demos/builder/Helper Tools/colors/colors.psyexp +300 -279
- psychopy/demos/builder/Helper Tools/drawPolygon/drawPolygon.psyexp +677 -564
- psychopy/demos/builder/Helper Tools/keyNameFinder/keyNameFinder.psyexp +214 -158
- psychopy/demos/builder/Helper Tools/spatialUnits/unitDemo.psyexp +195 -146
- psychopy/demos/coder/experiment control/runtimeInfo.py +1 -1
- psychopy/devices/__init__.py +1 -1
- psychopy/event.py +1 -1
- psychopy/exceptions.py +1 -1
- psychopy/experiment/__init__.py +1 -1
- psychopy/experiment/_experiment.py +30 -9
- psychopy/experiment/components/__init__.py +1 -6
- psychopy/experiment/components/_base.py +44 -19
- psychopy/experiment/components/aperture/__init__.py +1 -1
- psychopy/experiment/components/brush/__init__.py +2 -2
- psychopy/experiment/components/button/__init__.py +24 -28
- psychopy/experiment/components/camera/__init__.py +38 -39
- psychopy/experiment/components/code/__init__.py +1 -1
- psychopy/experiment/components/dots/__init__.py +1 -1
- psychopy/experiment/components/eyetracker_record/__init__.py +7 -3
- psychopy/experiment/components/form/__init__.py +3 -3
- psychopy/experiment/components/grating/__init__.py +1 -1
- psychopy/experiment/components/image/__init__.py +1 -1
- psychopy/experiment/components/joyButtons/__init__.py +2 -2
- psychopy/experiment/components/joyButtons/virtualJoyButtons.py +1 -1
- psychopy/experiment/components/joystick/__init__.py +3 -3
- psychopy/experiment/components/joystick/virtualJoystick.py +1 -1
- psychopy/experiment/components/keyboard/__init__.py +98 -122
- psychopy/experiment/components/microphone/__init__.py +54 -98
- psychopy/experiment/components/mouse/__init__.py +92 -93
- psychopy/experiment/components/movie/__init__.py +28 -50
- psychopy/experiment/components/parallelOut/__init__.py +3 -3
- psychopy/experiment/components/polygon/__init__.py +2 -3
- psychopy/experiment/components/roi/__init__.py +2 -2
- psychopy/experiment/components/routineSettings/__init__.py +2 -0
- psychopy/experiment/components/serialOut/__init__.py +7 -7
- psychopy/experiment/components/settings/__init__.py +317 -313
- psychopy/experiment/components/settings/eyetracking.py +108 -0
- psychopy/experiment/components/slider/__init__.py +5 -5
- psychopy/experiment/components/sound/__init__.py +168 -78
- psychopy/experiment/components/soundsensor/__init__.py +361 -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 +59 -33
- psychopy/experiment/components/text/__init__.py +2 -6
- psychopy/experiment/components/textbox/__init__.py +3 -7
- psychopy/experiment/components/unknown/__init__.py +2 -0
- psychopy/experiment/components/unknownPlugin/__init__.py +2 -0
- psychopy/experiment/exports.py +1 -1
- psychopy/experiment/flow.py +2 -2
- psychopy/experiment/localization.py +1 -1
- psychopy/experiment/loops.py +43 -10
- psychopy/experiment/params.py +6 -4
- psychopy/experiment/plugins.py +8 -1
- psychopy/experiment/py2js.py +1 -1
- psychopy/experiment/py2js_transpiler.py +1 -1
- psychopy/experiment/routines/__init__.py +1 -1
- psychopy/experiment/routines/_base.py +23 -24
- psychopy/experiment/routines/audioValidator/__init__.py +343 -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/eyetracker_calibrate/__init__.py +76 -17
- psychopy/experiment/routines/eyetracker_validate/__init__.py +1 -1
- psychopy/experiment/routines/unknown/__init__.py +2 -0
- psychopy/experiment/routines/{photodiodeValidator → visualValidator}/__init__.py +89 -120
- 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/utils.py +1 -1
- psychopy/gui/__init__.py +1 -1
- psychopy/gui/qtgui.py +15 -6
- psychopy/gui/wxgui.py +1 -1
- psychopy/hardware/__init__.py +0 -1
- psychopy/hardware/base.py +147 -16
- psychopy/hardware/bbtk/__init__.py +10 -16
- psychopy/hardware/brainproducts.py +7 -13
- psychopy/hardware/button.py +21 -2
- psychopy/hardware/buttonbox/__init__.py +1 -1
- psychopy/hardware/camera/__init__.py +16 -3
- psychopy/hardware/cedrus.py +5 -16
- psychopy/hardware/crs/__init__.py +1 -1
- psychopy/hardware/crs/bits.py +36 -33
- psychopy/hardware/crs/colorcal.py +8 -11
- psychopy/hardware/crs/optical.py +7 -10
- psychopy/hardware/crs/shaders.py +18 -5
- psychopy/hardware/emotiv.py +1 -1
- psychopy/hardware/emulator.py +11 -5
- psychopy/hardware/exceptions.py +86 -0
- psychopy/hardware/forp.py +18 -23
- psychopy/hardware/gammasci.py +8 -3
- psychopy/hardware/iolab.py +8 -19
- psychopy/hardware/joystick/__init__.py +865 -266
- 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 +4 -2
- psychopy/hardware/labhackers.py +1 -1
- psychopy/hardware/labjacks.py +9 -13
- psychopy/hardware/{photodiode.py → lightsensor.py} +146 -203
- psychopy/hardware/listener.py +9 -8
- psychopy/hardware/manager.py +24 -35
- psychopy/hardware/microphone.py +534 -154
- psychopy/hardware/minolta.py +14 -4
- psychopy/hardware/mouse/__init__.py +1 -1
- psychopy/hardware/photometer/__init__.py +2 -2
- psychopy/hardware/pr.py +14 -4
- psychopy/hardware/qmix.py +18 -27
- psychopy/hardware/serialdevice.py +43 -12
- psychopy/hardware/soundsensor.py +473 -0
- psychopy/hardware/spatial/__init__.py +231 -0
- psychopy/hardware/speaker.py +298 -36
- psychopy/hardware/triggerbox/__init__.py +1 -1
- psychopy/hardware/triggerbox/base.py +1 -1
- psychopy/hardware/triggerbox/parallel.py +1 -1
- psychopy/info.py +1 -1
- psychopy/iohub/devices/eyetracker/__init__.py +10 -18
- psychopy/iohub/devices/eyetracker/calibration/procedure.py +15 -33
- psychopy/iohub/devices/eyetracker/hw/pupil_labs/neon/__init__.py +1 -0
- psychopy/iohub/devices/mouse/linux2.py +2 -1
- psychopy/layout.py +1 -1
- psychopy/liaison.py +91 -39
- psychopy/locale_setup.py +11 -1
- psychopy/localization/__init__.py +1 -1
- psychopy/localization/_localization.py +1 -1
- psychopy/localization/messages.pot +2 -2
- psychopy/logging.py +14 -12
- psychopy/microphone.py +4 -3
- psychopy/misc.py +1 -1
- psychopy/monitors/MonitorCenter.py +3 -3
- psychopy/monitors/__init__.py +1 -1
- psychopy/monitors/calibData.py +1 -1
- psychopy/monitors/calibTools.py +3 -2
- psychopy/platform_specific/__init__.py +1 -1
- psychopy/platform_specific/darwin.py +1 -1
- psychopy/platform_specific/linux.py +1 -1
- psychopy/platform_specific/win32.py +1 -1
- psychopy/plugins/__init__.py +26 -17
- psychopy/plugins/util.py +65 -0
- psychopy/preferences/Darwin.spec +11 -3
- psychopy/preferences/FreeBSD.spec +11 -3
- psychopy/preferences/Linux.spec +11 -3
- psychopy/preferences/Windows.spec +11 -3
- psychopy/preferences/__init__.py +1 -1
- psychopy/preferences/baseNoArch.spec +11 -3
- psychopy/preferences/hints.py +78 -61
- psychopy/preferences/preferences.py +82 -13
- psychopy/projects/__init__.py +1 -1
- psychopy/projects/pavlovia.py +29 -13
- psychopy/scripts/psyexpCompile.py +1 -1
- psychopy/session.py +81 -8
- psychopy/sound/__init__.py +25 -10
- psychopy/sound/_base.py +134 -34
- psychopy/sound/audioclip.py +38 -15
- psychopy/sound/audiodevice.py +1 -1
- psychopy/sound/backend_ptb.py +53 -321
- psychopy/sound/backend_pygame.py +7 -3
- psychopy/sound/backend_pyo.py +53 -22
- psychopy/sound/backend_pysound.py +10 -27
- psychopy/sound/backend_sounddevice.py +33 -21
- psychopy/sound/exceptions.py +1 -1
- psychopy/sound/microphone.py +83 -5
- psychopy/sound/transcribe.py +3 -3
- psychopy/tests/data/test_basic_run.py +1 -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/test_alerts/test_alerttools.py +2 -1
- psychopy/tests/test_app/test_command_line.py +65 -0
- psychopy/tests/test_data/test_TrialHandler2.py +18 -7
- psychopy/tests/test_demos/test_builder_demos.py +1 -1
- psychopy/tests/test_experiment/needs_wx/componsTemplate.txt +5238 -4188
- psychopy/tests/test_experiment/needs_wx/test_components.py +1 -1
- psychopy/tests/test_experiment/test_components/test_RoutineSettingsComponent.py +16 -0
- psychopy/tests/test_experiment/test_components/test_all_components.py +1 -1
- psychopy/tests/test_experiment/test_components/test_base_components.py +26 -17
- psychopy/tests/test_experiment/test_loops.py +12 -4
- psychopy/tests/test_experiment/test_params.py +17 -4
- psychopy/tests/test_experiment/test_routines/test_PhotodiodeValidationRoutine.py +2 -2
- psychopy/tests/test_hardware/test_photodiode.py +66 -0
- psychopy/tests/test_liaison/test_Liaison.py +4 -4
- psychopy/tests/test_misc/test_clock.py +2 -0
- psychopy/tests/test_misc/test_color.py +2 -0
- psychopy/tests/test_misc/test_event.py +1 -0
- psychopy/tests/test_plugins/__init__.py +0 -0
- psychopy/tests/test_plugins/test_plugin_stubs.py +125 -0
- psychopy/tests/test_sound/test_sound.py +111 -40
- psychopy/tests/test_tools/test_colorspacetools.py +24 -23
- psychopy/tests/test_tools/test_mathtools.py +9 -9
- psychopy/tests/test_tools/test_viewtools.py +101 -0
- psychopy/tests/test_validators/__init__.py +0 -0
- psychopy/tests/test_validators/test_voicekeyValidator.py +95 -0
- psychopy/tests/test_visual/test_all_stimuli.py +2 -2
- psychopy/tests/test_visual/test_basevisual.py +37 -7
- psychopy/tests/test_visual/test_button.py +2 -2
- psychopy/tests/test_visual/test_circle.py +10 -2
- psychopy/tests/test_visual/test_dots.py +1 -1
- psychopy/tests/test_visual/test_form.py +13 -13
- psychopy/tests/test_visual/test_gamma.py +3 -3
- psychopy/tests/test_visual/test_image.py +2 -2
- psychopy/tests/test_visual/test_progress.py +2 -2
- psychopy/tests/test_visual/test_roi.py +8 -2
- psychopy/tests/test_visual/test_shape.py +2 -2
- psychopy/tests/test_visual/test_slider.py +2 -2
- psychopy/tests/test_visual/test_target.py +2 -2
- psychopy/tests/test_visual/test_textbox.py +6 -8
- psychopy/tests/test_visual/test_winScalePos.py +6 -5
- psychopy/tests/test_visual/test_window.py +17 -0
- psychopy/tests/utils.py +51 -1
- psychopy/tools/__init__.py +1 -1
- psychopy/tools/arraytools.py +2 -2
- psychopy/tools/attributetools.py +52 -1
- psychopy/tools/audiotools.py +4 -1
- psychopy/tools/colorspacetools.py +6 -4
- psychopy/tools/coordinatetools.py +1 -1
- psychopy/tools/fileerrortools.py +21 -9
- psychopy/tools/filetools.py +2 -2
- psychopy/tools/fontmanager.py +47 -28
- psychopy/tools/gltools.py +2964 -558
- psychopy/tools/imagetools.py +1 -1
- psychopy/tools/mathtools.py +997 -127
- psychopy/tools/monitorunittools.py +7 -1
- psychopy/tools/movietools.py +1 -2
- psychopy/tools/pkgtools.py +157 -127
- psychopy/tools/plottools.py +1 -1
- psychopy/tools/rifttools.py +1 -1
- psychopy/tools/stereotools.py +1 -1
- psychopy/tools/stimulustools.py +172 -2
- psychopy/tools/stringtools.py +22 -2
- psychopy/tools/systemtools.py +1 -1
- psychopy/tools/typetools.py +1 -1
- psychopy/tools/unittools.py +1 -1
- psychopy/tools/versionchooser.py +3 -1
- psychopy/tools/viewtools.py +54 -70
- psychopy/tools/wizard.py +2 -2
- psychopy/validation/__init__.py +6 -0
- psychopy/validation/audio.py +74 -0
- psychopy/validation/visual.py +115 -0
- psychopy/visual/__init__.py +1 -4
- psychopy/visual/aperture.py +9 -6
- psychopy/visual/backends/__init__.py +1 -1
- psychopy/visual/backends/_base.py +1 -1
- psychopy/visual/backends/gamma.py +1 -1
- psychopy/visual/backends/glfwbackend.py +8 -12
- psychopy/visual/backends/pygamebackend.py +1 -1
- psychopy/visual/backends/pygletbackend.py +32 -11
- psychopy/visual/basevisual.py +93 -13
- psychopy/visual/brush.py +1 -1
- psychopy/visual/bufferimage.py +90 -10
- psychopy/visual/button.py +1 -1
- psychopy/visual/circle.py +12 -20
- psychopy/visual/custommouse.py +1 -1
- psychopy/visual/dot.py +80 -14
- psychopy/visual/elementarray.py +84 -10
- psychopy/visual/filters.py +1 -1
- psychopy/visual/form.py +43 -28
- psychopy/visual/grating.py +105 -25
- psychopy/visual/helpers.py +1 -1
- psychopy/visual/image.py +98 -20
- psychopy/visual/line.py +15 -25
- psychopy/visual/movie.py +1 -1
- psychopy/visual/movie2.py +4 -3
- psychopy/visual/movie3.py +4 -3
- psychopy/visual/movies/__init__.py +1 -1
- psychopy/visual/movies/frame.py +1 -1
- psychopy/visual/movies/metadata.py +1 -1
- psychopy/visual/movies/players/__init__.py +1 -1
- psychopy/visual/movies/players/_base.py +1 -1
- psychopy/visual/movies/players/ffpyplayer_player.py +2 -3
- psychopy/visual/nnlvs.py +9 -6
- psychopy/visual/noise.py +4 -16
- psychopy/visual/patch.py +4 -3
- psychopy/visual/pie.py +3 -14
- psychopy/visual/polygon.py +21 -28
- psychopy/visual/radial.py +4 -18
- psychopy/visual/ratingscale.py +4 -3
- psychopy/visual/rect.py +16 -25
- psychopy/visual/rift.py +8 -2
- psychopy/visual/secondorder.py +4 -16
- psychopy/visual/shaders.py +620 -286
- psychopy/visual/shape.py +281 -90
- psychopy/visual/simpleimage.py +1 -1
- psychopy/visual/slider.py +78 -25
- psychopy/visual/stim3d.py +5 -608
- psychopy/visual/text.py +13 -3
- psychopy/visual/textbox2/textbox2.py +188 -56
- psychopy/visual/vlcmoviestim.py +1 -1
- psychopy/visual/window.py +373 -200
- psychopy/web.py +1 -1
- {psychopy-2024.2.5.dist-info → psychopy-2025.1.0.dist-info}/METADATA +9 -9
- {psychopy-2024.2.5.dist-info → psychopy-2025.1.0.dist-info}/RECORD +644 -621
- psychopy/.DS_Store +0 -0
- psychopy/__init__.py.orig +0 -65
- psychopy/app/.DS_Store +0 -0
- psychopy/app/Resources/.DS_Store +0 -0
- psychopy/app/Resources/classic/filecsv16.png +0 -0
- psychopy/app/Resources/classic/fileimage16.png +0 -0
- psychopy/app/Resources/classic/fileunknown16.png +0 -0
- psychopy/app/Resources/dark/filecsv16.png +0 -0
- psychopy/app/Resources/dark/filecsv16@2x.png +0 -0
- psychopy/app/Resources/dark/fileimage16.png +0 -0
- psychopy/app/Resources/dark/fileimage16@2x.png +0 -0
- psychopy/app/Resources/dark/fileunknown16.png +0 -0
- psychopy/app/Resources/dark/fileunknown16@2x.png +0 -0
- psychopy/app/Resources/fonts/OpenSans-Bold.ttf +0 -0
- psychopy/app/Resources/fonts/OpenSans-BoldItalic.ttf +0 -0
- psychopy/app/Resources/fonts/OpenSans-ExtraBold.ttf +0 -0
- psychopy/app/Resources/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
- psychopy/app/Resources/fonts/OpenSans-Italic.ttf +0 -0
- psychopy/app/Resources/fonts/OpenSans-Light.ttf +0 -0
- psychopy/app/Resources/fonts/OpenSans-LightItalic.ttf +0 -0
- psychopy/app/Resources/fonts/OpenSans-Regular.ttf +0 -0
- psychopy/app/Resources/fonts/OpenSans-SemiBold.ttf +0 -0
- psychopy/app/Resources/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
- psychopy/app/Resources/light/filecsv16.png +0 -0
- psychopy/app/Resources/light/filecsv16@2x.png +0 -0
- psychopy/app/Resources/light/fileimage16.png +0 -0
- psychopy/app/Resources/light/fileimage16@2x.png +0 -0
- psychopy/app/Resources/light/fileunknown16.png +0 -0
- psychopy/app/Resources/light/fileunknown16@2x.png +0 -0
- psychopy/app/Resources/psychopySplash.png +0 -0
- psychopy/app/Resources/psychopySplash@2x.png +0 -0
- psychopy/app/builder/builder.py.orig +0 -3932
- psychopy/app/builder/dialogs/__init__.py.orig +0 -1679
- psychopy/app/builder/dialogs/paramCtrls.py.orig +0 -713
- psychopy/app/colorpicker/__init__.py.orig +0 -411
- psychopy/app/locale/ar_001/.DS_Store +0 -0
- psychopy/app/locale/ar_001/LC_MESSAGE/.DS_Store +0 -0
- psychopy/core.py.orig +0 -169
- psychopy/demos/builder/.DS_Store +0 -0
- psychopy/demos/builder/Design Templates/randomisedBlocks/randomisedBlocks_lastrun.py +0 -330
- psychopy/demos/builder/Experiments/.DS_Store +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/archived_conditions.xlsx +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/draw grid stim.py +0 -61
- psychopy/demos/builder/Experiments/dragAndDrop/shapeMaker.psyexp +0 -91
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/grid_image_1.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/grid_image_10.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/grid_image_2.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/grid_image_3.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/grid_image_4.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/grid_image_5.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/grid_image_6.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/grid_image_7.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/grid_image_8.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/stimuli/grid_image_9.png +0 -0
- psychopy/demos/builder/Experiments/dragAndDrop/updated_conditions.xlsx +0 -0
- psychopy/demos/builder/Tools/.DS_Store +0 -0
- psychopy/demos/builder/Tools/gammaCalibration/.DS_Store +0 -0
- psychopy/demos/builder/Tools/gammaCalibration/data/.DS_Store +0 -0
- psychopy/demos/builder/Tools/gammaCalibration/data/_gamma_correction_visual_2022-05-18_14h18.29.439.csv +0 -38
- psychopy/demos/builder/Tools/gammaCalibration/data/_gamma_correction_visual_2022-05-18_14h18.29.439.log +0 -3418
- psychopy/demos/builder/Tools/gammaCalibration/data/_gamma_correction_visual_2022-05-18_14h18.29.439.psydat +0 -0
- psychopy/demos/builder/Tools/gammaCalibration/data/x1_gamma_correction_visual_2022-05-17_13h59.42.928.csv +0 -2
- psychopy/demos/builder/Tools/gammaCalibration/data/x1_gamma_correction_visual_2022-05-17_13h59.42.928.log +0 -15
- psychopy/demos/builder/Tools/gammaCalibration/data/x1_gamma_correction_visual_2022-05-17_13h59.42.928.psydat +0 -0
- psychopy/demos/builder/Tools/gammaCalibration/gamma_correction_visual_lastrun.py +0 -562
- psychopy/demos/coder/.DS_Store +0 -0
- psychopy/demos/coder/experiment control/info_gamma.pickle +0 -0
- psychopy/demos/coder/iohub/.iohpid +0 -1
- psychopy/demos/coder/iohub/eyetracking/.iohpid +0 -1
- psychopy/demos/coder/iohub/wintab/.DS_Store +0 -0
- psychopy/demos/coder/stimuli/.DS_Store +0 -0
- psychopy/experiment/_experiment.py.orig +0 -1032
- psychopy/experiment/components/.DS_Store +0 -0
- psychopy/experiment/components/_base.py.orig +0 -823
- psychopy/experiment/components/form/.DS_Store +0 -0
- psychopy/experiment/components/microphone/__init__.py.orig +0 -490
- psychopy/experiment/components/settings/__init__.py.orig +0 -1337
- psychopy/experiment/components/textbox/__init__.py.orig +0 -310
- psychopy/experiment/components/webcam/.DS_Store +0 -0
- psychopy/experiment/components/webcam/light/.DS_Store +0 -0
- psychopy/experiment/loops.py.orig +0 -829
- psychopy/experiment/params.py.orig +0 -408
- psychopy/experiment/routine.py.orig +0 -503
- psychopy/experiment/routines/photodiodeValidator/classic/photodiode_validator.png +0 -0
- psychopy/experiment/routines/photodiodeValidator/classic/photodiode_validator@2x.png +0 -0
- psychopy/experiment/routines/photodiodeValidator/dark/photodiode_validator.png +0 -0
- psychopy/experiment/routines/photodiodeValidator/dark/photodiode_validator@2x.png +0 -0
- psychopy/experiment/routines/photodiodeValidator/light/photodiode_validator.png +0 -0
- psychopy/experiment/routines/photodiodeValidator/light/photodiode_validator@2x.png +0 -0
- psychopy/hardware/.DS_Store +0 -0
- psychopy/hardware/brainproducts.py.orig +0 -680
- psychopy/hardware/iolab.py.orig +0 -238
- psychopy/iohub/datastore/__init__.py.orig +0 -443
- psychopy/iohub/datastore/util.py.orig +0 -692
- psychopy/iohub/devices/mouse/darwin.py.orig +0 -427
- psychopy/iohub/devices/mouse/linux2.py.orig +0 -198
- psychopy/preferences/.DS_Store +0 -0
- psychopy/projects/pavlovia.py.orig +0 -1295
- psychopy/tests/.DS_Store +0 -0
- psychopy/tests/data/.DS_Store +0 -0
- psychopy/tests/data/TestCircle_fill_local.png +0 -0
- psychopy/tests/data/aperture1_normHexbackground_local.png +0 -0
- psychopy/tests/data/aperture1_norm_local.png +0 -0
- psychopy/tests/data/aperture2_normHexbackground_local.png +0 -0
- psychopy/tests/data/beatandrcos_height_local.png +0 -0
- psychopy/tests/data/beatandrcos_normAddBlend_local.png +0 -0
- psychopy/tests/data/beatandrcos_normHexbackground_local.png +0 -0
- psychopy/tests/data/beatandrcos_norm_local.png +0 -0
- psychopy/tests/data/beatandrcos_stencil_local.png +0 -0
- psychopy/tests/data/blend_add_height_local.png +0 -0
- psychopy/tests/data/blend_add_normAddBlend_local.png +0 -0
- psychopy/tests/data/blend_add_normHexbackground_local.png +0 -0
- psychopy/tests/data/blend_add_normNoShade_local.png +0 -0
- psychopy/tests/data/blend_add_norm_local.png +0 -0
- psychopy/tests/data/blend_add_stencil_local.png +0 -0
- psychopy/tests/data/bufferimg_gabor_height_local.png +0 -0
- psychopy/tests/data/bufferimg_gabor_normAddBlend_local.png +0 -0
- psychopy/tests/data/bufferimg_gabor_normHexbackground_local.png +0 -0
- psychopy/tests/data/bufferimg_gabor_normNoShade_local.png +0 -0
- psychopy/tests/data/bufferimg_gabor_norm_local.png +0 -0
- psychopy/tests/data/bufferimg_gabor_stencil_local.png +0 -0
- psychopy/tests/data/circleHex_height_local.png +0 -0
- psychopy/tests/data/circleHex_normAddBlend_local.png +0 -0
- psychopy/tests/data/circleHex_normHexbackground_local.png +0 -0
- psychopy/tests/data/circleHex_normNoShade_local.png +0 -0
- psychopy/tests/data/circleHex_norm_local.png +0 -0
- psychopy/tests/data/circleHex_stencil_local.png +0 -0
- psychopy/tests/data/color_comparison_local.png +0 -0
- psychopy/tests/data/correctScript/.DS_Store +0 -0
- psychopy/tests/data/dots_height_local.png +0 -0
- psychopy/tests/data/dots_normAddBlend_local.png +0 -0
- psychopy/tests/data/dots_normHexbackground_local.png +0 -0
- psychopy/tests/data/dots_normNoShade_local.png +0 -0
- psychopy/tests/data/dots_norm_local.png +0 -0
- psychopy/tests/data/dots_stencil_local.png +0 -0
- psychopy/tests/data/elarray1_height_local.png +0 -0
- psychopy/tests/data/elarray1_normAddBlend_local.png +0 -0
- psychopy/tests/data/elarray1_normHexbackground_local.png +0 -0
- psychopy/tests/data/elarray1_norm_local.png +0 -0
- psychopy/tests/data/elarray1_stencil_local.png +0 -0
- psychopy/tests/data/envelopeandrcos_height_local.png +0 -0
- psychopy/tests/data/envelopeandrcos_normAddBlend_local.png +0 -0
- psychopy/tests/data/envelopeandrcos_normHexbackground_local.png +0 -0
- psychopy/tests/data/envelopeandrcos_norm_local.png +0 -0
- psychopy/tests/data/envelopeandrcos_stencil_local.png +0 -0
- psychopy/tests/data/envelopepowerandrcos_height_local.png +0 -0
- psychopy/tests/data/envelopepowerandrcos_normAddBlend_local.png +0 -0
- psychopy/tests/data/envelopepowerandrcos_normHexbackground_local.png +0 -0
- psychopy/tests/data/envelopepowerandrcos_norm_local.png +0 -0
- psychopy/tests/data/envelopepowerandrcos_stencil_local.png +0 -0
- psychopy/tests/data/gabor1_height_local.png +0 -0
- psychopy/tests/data/gabor1_normAddBlend_local.png +0 -0
- psychopy/tests/data/gabor1_normHexbackground_local.png +0 -0
- psychopy/tests/data/gabor1_normNoShade_local.png +0 -0
- psychopy/tests/data/gabor1_norm_local.png +0 -0
- psychopy/tests/data/gabor1_stencil_local.png +0 -0
- psychopy/tests/data/greyscale_normHexbackground_local.png +0 -0
- psychopy/tests/data/imageAndGauss_height_local.png +0 -0
- psychopy/tests/data/imageAndGauss_normAddBlend_local.png +0 -0
- psychopy/tests/data/imageAndGauss_normHexbackground_local.png +0 -0
- psychopy/tests/data/imageAndGauss_normNoShade_local.png +0 -0
- psychopy/tests/data/imageAndGauss_norm_local.png +0 -0
- psychopy/tests/data/imageAndGauss_stencil_local.png +0 -0
- psychopy/tests/data/movFrame1_stencil_local.png +0 -0
- psychopy/tests/data/noiseAndRcos_height_local.png +0 -0
- psychopy/tests/data/noiseAndRcos_normAddBlend_local.png +0 -0
- psychopy/tests/data/noiseAndRcos_normHexbackground_local.png +0 -0
- psychopy/tests/data/noiseAndRcos_normNoShade_local.png +0 -0
- psychopy/tests/data/noiseAndRcos_norm_local.png +0 -0
- psychopy/tests/data/noiseAndRcos_stencil_local.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_height_local.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_normAddBlend_local.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_normHexbackground_local.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_normNoShade_local.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_norm_local.png +0 -0
- psychopy/tests/data/noiseFiltersAndRcos_stencil_local.png +0 -0
- psychopy/tests/data/numpyImage_height_local.png +0 -0
- psychopy/tests/data/numpyImage_normAddBlend_local.png +0 -0
- psychopy/tests/data/numpyImage_normHexbackground_local.png +0 -0
- psychopy/tests/data/numpyImage_normNoShade_local.png +0 -0
- psychopy/tests/data/numpyImage_norm_local.png +0 -0
- psychopy/tests/data/numpyImage_stencil_local.png +0 -0
- psychopy/tests/data/shape2_1_normAddBlend_local.png +0 -0
- psychopy/tests/data/shape2_1_normHexbackground_local.png +0 -0
- psychopy/tests/data/shape2_1_normNoShade_local.png +0 -0
- psychopy/tests/data/shape2_1_norm_local.png +0 -0
- psychopy/tests/data/shape2_1_stencil_local.png +0 -0
- psychopy/tests/data/text1_height_local.png +0 -0
- psychopy/tests/data/text1_normAddBlend_local.png +0 -0
- psychopy/tests/data/text1_normHexbackground_local.png +0 -0
- psychopy/tests/data/text1_norm_local.png +0 -0
- psychopy/tests/data/text1_stencil_local.png +0 -0
- psychopy/tests/data/wedge1_height_local.png +0 -0
- psychopy/tests/data/wedge1_normAddBlend_local.png +0 -0
- psychopy/tests/data/wedge1_normHexbackground_local.png +0 -0
- psychopy/tests/data/wedge1_normNoShade_local.png +0 -0
- psychopy/tests/data/wedge1_norm_local.png +0 -0
- psychopy/tests/data/wedge1_stencil_local.png +0 -0
- psychopy/tests/test_app/.DS_Store +0 -0
- psychopy/tests/test_app/test_builder/.DS_Store +0 -0
- psychopy/tests/test_app/test_builder/data/_2021_ 5_03_1206.log +0 -177
- psychopy/tests/test_app/test_builder/data/_2021_ 5_03_1206.psydat +0 -0
- psychopy/tests/test_app/test_builder/data/_2021_ 5_03_1206.xlsx +0 -0
- psychopy/tests/test_app/test_builder/data/_2021_ 5_03_1324.log +0 -168
- psychopy/tests/test_app/test_builder/data/_2021_ 5_03_1324.psydat +0 -0
- psychopy/tests/test_app/test_builder/data/_2021_ 5_03_1324.xlsx +0 -0
- psychopy/tests/test_data/.DS_Store +0 -0
- psychopy/tests/test_hardware/test_CRS_BitsSharp.py +0 -67
- psychopy/tests/test_hardware/test_CRS_BitsSharp.py.orig +0 -68
- psychopy/tests/test_hardware/test_CRS_bitsShaders.py +0 -110
- psychopy/tests/test_visual/test_image.py.orig +0 -219
- psychopy/visual/basevisual.py.orig +0 -1723
- psychopy/visual/form.py.orig +0 -1181
- psychopy/visual/text.py.orig +0 -752
- psychopy/visual/textbox2/textbox2.py.orig +0 -1315
- psychopy/visual/windowwarp.py.orig +0 -463
- /psychopy/{app/cortex.log → alerts/alertsCatalogue/3600.yaml} +0 -0
- /psychopy/{app/Resources → assets}/fonts/Arvo-Bold.ttf +0 -0
- /psychopy/{app/Resources → assets}/fonts/Arvo-BoldItalic.ttf +0 -0
- /psychopy/{app/Resources → assets}/fonts/Arvo-Italic.ttf +0 -0
- /psychopy/{app/Resources → assets}/fonts/Arvo-Regular.ttf +0 -0
- /psychopy/{app/Resources → assets}/fonts/DejaVuSerif.ttf +0 -0
- /psychopy/{app/Resources → assets}/fonts/IndieFlower-Regular.ttf +0 -0
- /psychopy/{app/Resources → assets}/fonts/JetBrainsMono-Italic-VariableFont_wght.ttf +0 -0
- /psychopy/{app/Resources → assets}/fonts/JetBrainsMono-VariableFont_wght.ttf +0 -0
- /psychopy/demos/builder/Experiments/{GoNoGo → goNoGo}/readme.md +0 -0
- {psychopy-2024.2.5.dist-info → psychopy-2025.1.0.dist-info}/WHEEL +0 -0
- {psychopy-2024.2.5.dist-info → psychopy-2025.1.0.dist-info}/entry_points.txt +0 -0
- {psychopy-2024.2.5.dist-info → psychopy-2025.1.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,931 +1,844 @@
|
|
|
1
|
-
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
<PsychoPy2experiment encoding="utf-8" version="2025.1.0">
|
|
2
3
|
<Settings>
|
|
3
|
-
<Param val="use prefs" valType="str" updates="None" name="Audio latency priority"
|
|
4
|
-
<Param val="ptb" valType="str" updates="None" name="Audio lib"
|
|
5
|
-
<Param val="" valType="str" updates="None" name="Completed URL"
|
|
6
|
-
<Param val="auto" valType="str" updates="None" name="Data file delimiter"
|
|
7
|
-
<Param val="'data' + os.sep + '%s_%s' % (expInfo['participant'], expInfo['date'])" valType="code" updates="None" name="Data filename"
|
|
8
|
-
<Param val="True" valType="bool" updates="None" name="Enable Escape"
|
|
9
|
-
<Param val="" valType="str" updates="None" name="End Message"
|
|
10
|
-
<Param val="{'participant': '', 'age': ''}" valType="code" updates="None" name="Experiment info"
|
|
11
|
-
<Param val="True" valType="bool" updates="None" name="Force stereo"
|
|
12
|
-
<Param val="True" valType="bool" updates="None" name="Full-screen window"
|
|
13
|
-
<Param val="" valType="str" updates="None" name="HTML path"
|
|
14
|
-
<Param val="" valType="str" updates="None" name="Incomplete URL"
|
|
15
|
-
<Param val="testMonitor" valType="str" updates="None" name="Monitor"
|
|
16
|
-
<Param val="['spreadsheets/balloons.xlsx', 'spreadsheets/trialTypes.xlsx', 'assets/bang.wav', 'assets/blueBalloon.png', 'assets/greenBalloon.png', 'assets/redBalloon.png', 'assets/bang.mp3']" valType="list" updates="None" name="Resources"
|
|
17
|
-
<Param val="False" valType="bool" updates="None" name="Save csv file"
|
|
18
|
-
<Param val="True" valType="bool" updates="None" name="Save excel file"
|
|
19
|
-
<Param val="False" valType="bool" updates="None" name="Save hdf5 file"
|
|
20
|
-
<Param val="True" valType="bool" updates="None" name="Save log file"
|
|
21
|
-
<Param val="True" valType="bool" updates="None" name="Save psydat file"
|
|
22
|
-
<Param val="True" valType="bool" updates="None" name="Save wide csv file"
|
|
23
|
-
<Param val="1" valType="num" updates="None" name="Screen"
|
|
24
|
-
<Param val="True" valType="bool" updates="None" name="Show info dlg"
|
|
25
|
-
<Param val="False" valType="bool" updates="None" name="Show mouse"
|
|
26
|
-
<Param val="use prefs" valType="str" updates="None" name="Units"
|
|
27
|
-
<Param val="" valType="str" updates="None" name="Use version"
|
|
28
|
-
<Param val="[
|
|
29
|
-
<Param val="
|
|
30
|
-
<Param val="" valType="str" updates="None" name="backgroundImg"
|
|
31
|
-
<Param val="avg" valType="str" updates="None" name="blendMode"
|
|
32
|
-
<Param val="float" valType="str" updates="None" name="clockFormat"
|
|
33
|
-
<Param val="{'thisRow.t': 'priority.CRITICAL', 'expName': 'priority.LOW'}" valType="dict" updates="None" name="colPriority"
|
|
34
|
-
<Param val="
|
|
35
|
-
<Param val="rgb" valType="str" updates="None" name="colorSpace"
|
|
36
|
-
<Param val="
|
|
37
|
-
<Param val="
|
|
38
|
-
<Param val="
|
|
39
|
-
<Param val="
|
|
40
|
-
<Param val="
|
|
41
|
-
<Param val="
|
|
42
|
-
<Param val="
|
|
43
|
-
<Param val="
|
|
44
|
-
<Param val="
|
|
45
|
-
<Param val="
|
|
46
|
-
<Param val="
|
|
47
|
-
<Param val="
|
|
48
|
-
<Param val="
|
|
49
|
-
<Param val="" valType="
|
|
50
|
-
<Param val="
|
|
51
|
-
<Param val="
|
|
52
|
-
<Param val="
|
|
53
|
-
<Param val="
|
|
54
|
-
<Param val="
|
|
55
|
-
<Param val="
|
|
56
|
-
<Param val="
|
|
57
|
-
<Param val="
|
|
58
|
-
<Param val="
|
|
59
|
-
<Param val="
|
|
60
|
-
<Param val="
|
|
61
|
-
<Param val="
|
|
62
|
-
<Param val="
|
|
63
|
-
<Param val="
|
|
64
|
-
<Param val="" valType="
|
|
65
|
-
<Param val="
|
|
66
|
-
<Param val="
|
|
67
|
-
<Param val="
|
|
68
|
-
<Param val="
|
|
69
|
-
<Param val="
|
|
70
|
-
<Param val="
|
|
71
|
-
<Param val="False" valType="bool" updates="None" name="
|
|
72
|
-
<Param val="
|
|
73
|
-
<Param val="" valType="
|
|
74
|
-
<Param val="" valType="
|
|
75
|
-
<Param val="
|
|
76
|
-
<Param val="" valType="str" updates="None" name="
|
|
77
|
-
<Param val="
|
|
78
|
-
|
|
4
|
+
<Param val="use prefs" valType="str" updates="None" name="Audio latency priority"/>
|
|
5
|
+
<Param val="ptb" valType="str" updates="None" name="Audio lib"/>
|
|
6
|
+
<Param val="" valType="str" updates="None" name="Completed URL"/>
|
|
7
|
+
<Param val="auto" valType="str" updates="None" name="Data file delimiter"/>
|
|
8
|
+
<Param val="'data' + os.sep + '%s_%s' % (expInfo['participant'], expInfo['date'])" valType="code" updates="None" name="Data filename"/>
|
|
9
|
+
<Param val="True" valType="bool" updates="None" name="Enable Escape"/>
|
|
10
|
+
<Param val="" valType="str" updates="None" name="End Message"/>
|
|
11
|
+
<Param val="{'participant': '', 'age': ''}" valType="code" updates="None" name="Experiment info"/>
|
|
12
|
+
<Param val="True" valType="bool" updates="None" name="Force stereo"/>
|
|
13
|
+
<Param val="True" valType="bool" updates="None" name="Full-screen window"/>
|
|
14
|
+
<Param val="" valType="str" updates="None" name="HTML path"/>
|
|
15
|
+
<Param val="" valType="str" updates="None" name="Incomplete URL"/>
|
|
16
|
+
<Param val="testMonitor" valType="str" updates="None" name="Monitor"/>
|
|
17
|
+
<Param val="['spreadsheets/balloons.xlsx', 'spreadsheets/trialTypes.xlsx', 'assets/bang.wav', 'assets/blueBalloon.png', 'assets/greenBalloon.png', 'assets/redBalloon.png', 'assets/bang.mp3']" valType="list" updates="None" name="Resources"/>
|
|
18
|
+
<Param val="False" valType="bool" updates="None" name="Save csv file"/>
|
|
19
|
+
<Param val="True" valType="bool" updates="None" name="Save excel file"/>
|
|
20
|
+
<Param val="False" valType="bool" updates="None" name="Save hdf5 file"/>
|
|
21
|
+
<Param val="True" valType="bool" updates="None" name="Save log file"/>
|
|
22
|
+
<Param val="True" valType="bool" updates="None" name="Save psydat file"/>
|
|
23
|
+
<Param val="True" valType="bool" updates="None" name="Save wide csv file"/>
|
|
24
|
+
<Param val="1" valType="num" updates="None" name="Screen"/>
|
|
25
|
+
<Param val="True" valType="bool" updates="None" name="Show info dlg"/>
|
|
26
|
+
<Param val="False" valType="bool" updates="None" name="Show mouse"/>
|
|
27
|
+
<Param val="use prefs" valType="str" updates="None" name="Units"/>
|
|
28
|
+
<Param val="" valType="str" updates="None" name="Use version"/>
|
|
29
|
+
<Param val="[2560, 1440]" valType="code" updates="None" name="Window size (pixels)"/>
|
|
30
|
+
<Param val="cover" valType="str" updates="None" name="backgroundFit"/>
|
|
31
|
+
<Param val="assets/background.jpg" valType="str" updates="None" name="backgroundImg"/>
|
|
32
|
+
<Param val="avg" valType="str" updates="None" name="blendMode"/>
|
|
33
|
+
<Param val="float" valType="str" updates="None" name="clockFormat"/>
|
|
34
|
+
<Param val="{'thisRow.t': 'priority.CRITICAL', 'expName': 'priority.LOW'}" valType="dict" updates="None" name="colPriority"/>
|
|
35
|
+
<Param val="lightskyblue" valType="str" updates="None" name="color"/>
|
|
36
|
+
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
|
|
37
|
+
<Param val="warning" valType="code" updates="None" name="consoleLoggingLevel"/>
|
|
38
|
+
<Param val="default" valType="str" updates="None" name="ecSampleRate"/>
|
|
39
|
+
<Param val="100.1.1.1" valType="str" updates="None" name="elAddress"/>
|
|
40
|
+
<Param val="FILTER_LEVEL_2" valType="str" updates="None" name="elDataFiltering"/>
|
|
41
|
+
<Param val="FILTER_LEVEL_OFF" valType="str" updates="None" name="elLiveFiltering"/>
|
|
42
|
+
<Param val="EYELINK 1000 DESKTOP" valType="str" updates="None" name="elModel"/>
|
|
43
|
+
<Param val="ELLIPSE_FIT" valType="str" updates="None" name="elPupilAlgorithm"/>
|
|
44
|
+
<Param val="PUPIL_AREA" valType="str" updates="None" name="elPupilMeasure"/>
|
|
45
|
+
<Param val="1000" valType="num" updates="None" name="elSampleRate"/>
|
|
46
|
+
<Param val="False" valType="bool" updates="None" name="elSimMode"/>
|
|
47
|
+
<Param val="RIGHT_EYE" valType="str" updates="None" name="elTrackEyes"/>
|
|
48
|
+
<Param val="PUPIL_CR_TRACKING" valType="str" updates="None" name="elTrackingMode"/>
|
|
49
|
+
<Param val="bart" valType="str" updates="None" name="expName"/>
|
|
50
|
+
<Param val="" valType="str" updates="None" name="expVersion"/>
|
|
51
|
+
<Param val="on Sync" valType="str" updates="None" name="exportHTML"/>
|
|
52
|
+
<Param val="None" valType="str" updates="None" name="eyetracker"/>
|
|
53
|
+
<Param val="" valType="code" updates="None" name="frameRate"/>
|
|
54
|
+
<Param val="Attempting to measure frame rate of screen, please wait..." valType="str" updates="None" name="frameRateMsg"/>
|
|
55
|
+
<Param val="127.0.0.1" valType="str" updates="None" name="gpAddress"/>
|
|
56
|
+
<Param val="4242" valType="num" updates="None" name="gpPort"/>
|
|
57
|
+
<Param val="PsychToolbox" valType="str" updates="None" name="keyboardBackend"/>
|
|
58
|
+
<Param val="warning" valType="code" updates="None" name="logging level"/>
|
|
59
|
+
<Param val="True" valType="bool" updates="None" name="measureFrameRate"/>
|
|
60
|
+
<Param val="('MIDDLE_BUTTON',)" valType="list" updates="None" name="mgBlink"/>
|
|
61
|
+
<Param val="CONTINUOUS" valType="str" updates="None" name="mgMove"/>
|
|
62
|
+
<Param val="0.5" valType="num" updates="None" name="mgSaccade"/>
|
|
63
|
+
<Param val="neon.local" valType="str" updates="None" name="plCompanionAddress"/>
|
|
64
|
+
<Param val="8080" valType="num" updates="None" name="plCompanionPort"/>
|
|
65
|
+
<Param val="True" valType="bool" updates="None" name="plCompanionRecordingEnabled"/>
|
|
66
|
+
<Param val="0.6" valType="num" updates="None" name="plConfidenceThreshold"/>
|
|
67
|
+
<Param val="True" valType="bool" updates="None" name="plPupilCaptureRecordingEnabled"/>
|
|
68
|
+
<Param val="" valType="str" updates="None" name="plPupilCaptureRecordingLocation"/>
|
|
69
|
+
<Param val="127.0.0.1" valType="str" updates="None" name="plPupilRemoteAddress"/>
|
|
70
|
+
<Param val="50020" valType="num" updates="None" name="plPupilRemotePort"/>
|
|
71
|
+
<Param val="1000" valType="num" updates="None" name="plPupilRemoteTimeoutMs"/>
|
|
72
|
+
<Param val="False" valType="bool" updates="None" name="plPupillometryOnly"/>
|
|
73
|
+
<Param val="psychopy_iohub_surface" valType="str" updates="None" name="plSurfaceName"/>
|
|
74
|
+
<Param val="0" valType="code" updates="constant" name="runMode"/>
|
|
75
|
+
<Param val="False" valType="bool" updates="None" name="rush"/>
|
|
76
|
+
<Param val="time" valType="str" updates="None" name="sortColumns"/>
|
|
77
|
+
<Param val="" valType="str" updates="None" name="tbLicenseFile"/>
|
|
78
|
+
<Param val="" valType="str" updates="None" name="tbModel"/>
|
|
79
|
+
<Param val="60" valType="num" updates="None" name="tbSampleRate"/>
|
|
80
|
+
<Param val="" valType="str" updates="None" name="tbSerialNo"/>
|
|
81
|
+
<Param val="pyglet" valType="str" updates="None" name="winBackend"/>
|
|
82
|
+
</Settings>
|
|
79
83
|
<Routines>
|
|
80
84
|
<Routine name="trial">
|
|
81
85
|
<RoutineSettingsComponent name="trial" plugin="None">
|
|
82
|
-
<Param val="none" valType="str" updates="None" name="backgroundFit"
|
|
83
|
-
<Param val="" valType="str" updates="None" name="backgroundImg"
|
|
84
|
-
<Param val="$[0,0,0]" valType="color" updates="None" name="color"
|
|
85
|
-
<Param val="rgb" valType="str" updates="None" name="colorSpace"
|
|
86
|
-
<Param val="" valType="str" updates="constant" name="desc"
|
|
87
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
88
|
-
<Param val="" valType="code" updates="None" name="durationEstim"
|
|
89
|
-
<Param val="
|
|
90
|
-
<Param val="
|
|
91
|
-
<Param val="" valType="
|
|
92
|
-
<Param val="
|
|
93
|
-
<Param val="" valType="
|
|
94
|
-
<Param val="
|
|
86
|
+
<Param val="none" valType="str" updates="None" name="backgroundFit"/>
|
|
87
|
+
<Param val="" valType="str" updates="None" name="backgroundImg"/>
|
|
88
|
+
<Param val="$[0,0,0]" valType="color" updates="None" name="color"/>
|
|
89
|
+
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
|
|
90
|
+
<Param val="" valType="str" updates="constant" name="desc"/>
|
|
91
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
92
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
93
|
+
<Param val="False" valType="code" updates="None" name="forceNonSlip"/>
|
|
94
|
+
<Param val="trial" valType="code" updates="None" name="name"/>
|
|
95
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
96
|
+
<Param val="" valType="code" updates="constant" name="skipIf"/>
|
|
97
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
98
|
+
<Param val="" valType="code" updates="constant" name="stopVal"/>
|
|
99
|
+
<Param val="False" valType="bool" updates="None" name="useWindowParams"/>
|
|
95
100
|
</RoutineSettingsComponent>
|
|
96
|
-
<ImageComponent name="background_2" plugin="None">
|
|
97
|
-
<Param val="center" valType="str" updates="constant" name="anchor" />
|
|
98
|
-
<Param val="$[1,1,1]" valType="color" updates="constant" name="color" />
|
|
99
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace" />
|
|
100
|
-
<Param val="1" valType="num" updates="constant" name="contrast" />
|
|
101
|
-
<Param val="False" valType="bool" updates="None" name="disabled" />
|
|
102
|
-
<Param val="" valType="code" updates="None" name="durationEstim" />
|
|
103
|
-
<Param val="False" valType="bool" updates="constant" name="flipHoriz" />
|
|
104
|
-
<Param val="False" valType="bool" updates="constant" name="flipVert" />
|
|
105
|
-
<Param val="assets/background.png" valType="file" updates="constant" name="image" />
|
|
106
|
-
<Param val="linear" valType="str" updates="constant" name="interpolate" />
|
|
107
|
-
<Param val="" valType="str" updates="constant" name="mask" />
|
|
108
|
-
<Param val="background_2" valType="code" updates="None" name="name" />
|
|
109
|
-
<Param val="" valType="num" updates="constant" name="opacity" />
|
|
110
|
-
<Param val="0" valType="num" updates="constant" name="ori" />
|
|
111
|
-
<Param val="(0, 0)" valType="list" updates="constant" name="pos" />
|
|
112
|
-
<Param val="True" valType="bool" updates="None" name="saveStartStop" />
|
|
113
|
-
<Param val="(2.2, 1)" valType="list" updates="constant" name="size" />
|
|
114
|
-
<Param val="" valType="code" updates="None" name="startEstim" />
|
|
115
|
-
<Param val="time (s)" valType="str" updates="None" name="startType" />
|
|
116
|
-
<Param val="0.0" valType="code" updates="None" name="startVal" />
|
|
117
|
-
<Param val="duration (s)" valType="str" updates="None" name="stopType" />
|
|
118
|
-
<Param val="" valType="code" updates="constant" name="stopVal" />
|
|
119
|
-
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh" />
|
|
120
|
-
<Param val="128" valType="num" updates="constant" name="texture resolution" />
|
|
121
|
-
<Param val="from exp settings" valType="str" updates="None" name="units" />
|
|
122
|
-
<Param val="" valType="code" updates="None" name="validator" />
|
|
123
|
-
</ImageComponent>
|
|
124
101
|
<KeyboardComponent name="bankButton" plugin="None">
|
|
125
|
-
<Param val="'return', 'space'" valType="list" updates="constant" name="allowedKeys"
|
|
126
|
-
<Param val="" valType="str" updates="constant" name="correctAns"
|
|
127
|
-
<Param val="" valType="str" updates="None" name="deviceLabel"
|
|
128
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
129
|
-
<Param val="True" valType="bool" updates="constant" name="discard previous"
|
|
130
|
-
<Param val="" valType="code" updates="None" name="durationEstim"
|
|
131
|
-
<Param val="True" valType="bool" updates="constant" name="forceEndRoutine"
|
|
132
|
-
<Param val="bankButton" valType="code" updates="None" name="name"
|
|
133
|
-
<Param val="press" valType="str" updates="constant" name="registerOn"
|
|
134
|
-
<Param val="True" valType="bool" updates="None" name="saveStartStop"
|
|
135
|
-
<Param val="" valType="code" updates="None" name="startEstim"
|
|
136
|
-
<Param val="time (s)" valType="str" updates="None" name="startType"
|
|
137
|
-
<Param val="0.0" valType="code" updates="None" name="startVal"
|
|
138
|
-
<Param val="duration (s)" valType="str" updates="None" name="stopType"
|
|
139
|
-
<Param val="" valType="code" updates="constant" name="stopVal"
|
|
140
|
-
<Param val="nothing" valType="str" updates="constant" name="store"
|
|
141
|
-
<Param val="False" valType="bool" updates="constant" name="storeCorrect"
|
|
142
|
-
<Param val="True" valType="bool" updates="constant" name="syncScreenRefresh"
|
|
102
|
+
<Param val="'return', 'space'" valType="list" updates="constant" name="allowedKeys"/>
|
|
103
|
+
<Param val="" valType="str" updates="constant" name="correctAns"/>
|
|
104
|
+
<Param val="" valType="str" updates="None" name="deviceLabel"/>
|
|
105
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
106
|
+
<Param val="True" valType="bool" updates="constant" name="discard previous"/>
|
|
107
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
108
|
+
<Param val="True" valType="bool" updates="constant" name="forceEndRoutine"/>
|
|
109
|
+
<Param val="bankButton" valType="code" updates="None" name="name"/>
|
|
110
|
+
<Param val="press" valType="str" updates="constant" name="registerOn"/>
|
|
111
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
112
|
+
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
113
|
+
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
114
|
+
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
115
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
116
|
+
<Param val="" valType="code" updates="constant" name="stopVal"/>
|
|
117
|
+
<Param val="nothing" valType="str" updates="constant" name="store"/>
|
|
118
|
+
<Param val="False" valType="bool" updates="constant" name="storeCorrect"/>
|
|
119
|
+
<Param val="True" valType="bool" updates="constant" name="syncScreenRefresh"/>
|
|
143
120
|
</KeyboardComponent>
|
|
144
121
|
<CodeComponent name="updateEarnings" plugin="None">
|
|
145
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"
|
|
146
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"
|
|
147
|
-
<Param val="#initialize the overall earnings&#10;bankedEarnings=0.0&#10;&#10;# some text to show the earnings on screen (starts empty)&#10;balloonEarnings = ''&#10;&#10;# and some text to show the banked earnings (starts blank)&#10;bankedText = ''&#10;&#10;#initialize the earnings on the last balloon &#10;lastBalloonEarnings=0.0&#10;thisBalloonEarnings=0.0" valType="extendedCode" updates="constant" name="Begin Experiment"
|
|
148
|
-
<Param val="bankedEarnings = 0.0;&#10;balloonEarnings = "";&#10;bankedText = "";&#10;lastBalloonEarnings = 0.0;&#10;thisBalloonEarnings = 0.0;&#10;" valType="extendedCode" updates="constant" name="Begin JS Experiment"
|
|
149
|
-
<Param val="thisBalloonEarnings = ((pump.thisN + 1) * 0.05);&#10;balloonEarnings = ("This balloon value:\n\u00a3" + util.round(thisBalloonEarnings, 2).toString());&#10;bankedText = ("You have banked:\n\u00a3" + util.round(bankedEarnings, 2).toString());&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"
|
|
150
|
-
<Param val="# you earn £0.05 per pump (until it pops) &#10;thisBalloonEarnings=(pump.thisN+1)*0.05 # "pump" corresponds to the name of this loop&#10;&#10;#update the text to show onscreen the actual earnings in this trial and the banked earnings&#10;balloonEarnings = "This balloon value:\n£" + str(round(thisBalloonEarnings, 2))&#10;bankedText = "You have banked:\n£" + str(round(bankedEarnings, 2))" valType="extendedCode" updates="constant" name="Begin Routine"
|
|
151
|
-
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"
|
|
152
|
-
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"
|
|
153
|
-
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"
|
|
154
|
-
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"
|
|
155
|
-
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"
|
|
156
|
-
<Param val="var _pj;&#10;function _pj_snippets(container) {&#10; function in_es6(left, right) {&#10; if (((right instanceof Array) || ((typeof right) === "string"))) {&#10; return (right.indexOf(left) > (- 1));&#10; } else {&#10; if (((right instanceof Map) || (right instanceof Set) || (right instanceof WeakMap) || (right instanceof WeakSet))) {&#10; return right.has(left);&#10; } else {&#10; return (left in right);&#10; }&#10; }&#10; }&#10; container["in_es6"] = in_es6;&#10; return container;&#10;}&#10;_pj = {};&#10;_pj_snippets(_pj);&#10;if (((pump.thisN + 1) === maxPumps)) {&#10; popped = true;&#10;} else {&#10; popped = false;&#10;}&#10;if (popped) {&#10; thisBalloonEarnings = 0.0;&#10; lastBalloonEarnings = 0.0;&#10;} else {&#10; lastBalloonEarnings = thisBalloonEarnings;&#10;}&#10;if (_pj.in_es6("return", bankButton.keys)) {&#10; pump.finished = true;&#10;}&#10;" valType="extendedCode" updates="constant" name="End JS Routine"
|
|
157
|
-
<Param val="#if the pump number exceeds the max pumps... then set popped to True&#10;if pump.thisN+1 == maxPumps:&#10; popped = True&#10;else:&#10; popped = False&#10;&#10;# if balloon popped reset the earnings on this trial to 0&#10;if popped:&#10; thisBalloonEarnings=0.0&#10; lastBalloonEarnings=0.0&#10;else:&#10; lastBalloonEarnings=thisBalloonEarnings&#10;&#10;# if the user presses return end this loop &#10;if 'return' in bankButton.keys:&#10; pump.finished = True&#10;&#10;" valType="extendedCode" updates="constant" name="End Routine"
|
|
158
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
159
|
-
<Param val="updateEarnings" valType="code" updates="None" name="name"
|
|
122
|
+
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"/>
|
|
123
|
+
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"/>
|
|
124
|
+
<Param val="#initialize the overall earnings&#10;bankedEarnings=0.0&#10;&#10;# some text to show the earnings on screen (starts empty)&#10;balloonEarnings = ''&#10;&#10;# and some text to show the banked earnings (starts blank)&#10;bankedText = ''&#10;&#10;#initialize the earnings on the last balloon &#10;lastBalloonEarnings=0.0&#10;thisBalloonEarnings=0.0" valType="extendedCode" updates="constant" name="Begin Experiment"/>
|
|
125
|
+
<Param val="bankedEarnings = 0.0;&#10;balloonEarnings = "";&#10;bankedText = "";&#10;lastBalloonEarnings = 0.0;&#10;thisBalloonEarnings = 0.0;&#10;" valType="extendedCode" updates="constant" name="Begin JS Experiment"/>
|
|
126
|
+
<Param val="thisBalloonEarnings = ((pump.thisN + 1) * 0.05);&#10;balloonEarnings = ("This balloon value:\n\u00a3" + util.round(thisBalloonEarnings, 2).toString());&#10;bankedText = ("You have banked:\n\u00a3" + util.round(bankedEarnings, 2).toString());&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"/>
|
|
127
|
+
<Param val="# you earn £0.05 per pump (until it pops) &#10;thisBalloonEarnings=(pump.thisN+1)*0.05 # "pump" corresponds to the name of this loop&#10;&#10;#update the text to show onscreen the actual earnings in this trial and the banked earnings&#10;balloonEarnings = "This balloon value:\n£" + str(round(thisBalloonEarnings, 2))&#10;bankedText = "You have banked:\n£" + str(round(bankedEarnings, 2))" valType="extendedCode" updates="constant" name="Begin Routine"/>
|
|
128
|
+
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"/>
|
|
129
|
+
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"/>
|
|
130
|
+
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"/>
|
|
131
|
+
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"/>
|
|
132
|
+
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"/>
|
|
133
|
+
<Param val="var _pj;&#10;function _pj_snippets(container) {&#10; function in_es6(left, right) {&#10; if (((right instanceof Array) || ((typeof right) === "string"))) {&#10; return (right.indexOf(left) > (- 1));&#10; } else {&#10; if (((right instanceof Map) || (right instanceof Set) || (right instanceof WeakMap) || (right instanceof WeakSet))) {&#10; return right.has(left);&#10; } else {&#10; return (left in right);&#10; }&#10; }&#10; }&#10; container["in_es6"] = in_es6;&#10; return container;&#10;}&#10;_pj = {};&#10;_pj_snippets(_pj);&#10;if (((pump.thisN + 1) === maxPumps)) {&#10; popped = true;&#10;} else {&#10; popped = false;&#10;}&#10;if (popped) {&#10; thisBalloonEarnings = 0.0;&#10; lastBalloonEarnings = 0.0;&#10;} else {&#10; lastBalloonEarnings = thisBalloonEarnings;&#10;}&#10;if (_pj.in_es6("return", bankButton.keys)) {&#10; pump.finished = true;&#10;}&#10;" valType="extendedCode" updates="constant" name="End JS Routine"/>
|
|
134
|
+
<Param val="#if the pump number exceeds the max pumps... then set popped to True&#10;if pump.thisN+1 == maxPumps:&#10; popped = True&#10;else:&#10; popped = False&#10;&#10;# if balloon popped reset the earnings on this trial to 0&#10;if popped:&#10; thisBalloonEarnings=0.0&#10; lastBalloonEarnings=0.0&#10;else:&#10; lastBalloonEarnings=thisBalloonEarnings&#10;&#10;# if the user presses return end this loop &#10;if 'return' in bankButton.keys:&#10; pump.finished = True&#10;&#10;" valType="extendedCode" updates="constant" name="End Routine"/>
|
|
135
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
136
|
+
<Param val="updateEarnings" valType="code" updates="None" name="name"/>
|
|
160
137
|
</CodeComponent>
|
|
138
|
+
<ImageComponent name="balloonBody" plugin="None">
|
|
139
|
+
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
140
|
+
<Param val="$[1,1,1]" valType="str" updates="constant" name="color"/>
|
|
141
|
+
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
142
|
+
<Param val="1" valType="num" updates="constant" name="contrast"/>
|
|
143
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
144
|
+
<Param val="False" valType="code" updates="constant" name="draggable"/>
|
|
145
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
146
|
+
<Param val="False" valType="bool" updates="constant" name="flipHoriz"/>
|
|
147
|
+
<Param val="False" valType="bool" updates="constant" name="flipVert"/>
|
|
148
|
+
<Param val="assets/redBalloon.png" valType="str" updates="constant" name="image"/>
|
|
149
|
+
<Param val="linear" valType="str" updates="constant" name="interpolate"/>
|
|
150
|
+
<Param val="None" valType="str" updates="constant" name="mask"/>
|
|
151
|
+
<Param val="balloonBody" valType="code" updates="constant" name="name"/>
|
|
152
|
+
<Param val="1" valType="code" updates="constant" name="opacity"/>
|
|
153
|
+
<Param val="-90" valType="code" updates="constant" name="ori"/>
|
|
154
|
+
<Param val="[0, balloonSize/2-.5]" valType="list" updates="set every frame" name="pos"/>
|
|
155
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
156
|
+
<Param val="balloonSize" valType="list" updates="set every frame" name="size"/>
|
|
157
|
+
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
158
|
+
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
159
|
+
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
160
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
161
|
+
<Param val="" valType="code" updates="constant" name="stopVal"/>
|
|
162
|
+
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
163
|
+
<Param val="128" valType="code" updates="constant" name="texture resolution"/>
|
|
164
|
+
<Param val="height" valType="str" updates="None" name="units"/>
|
|
165
|
+
<Param val="" valType="code" updates="None" name="validator"/>
|
|
166
|
+
</ImageComponent>
|
|
161
167
|
<TextboxComponent name="reminder" plugin="None">
|
|
162
|
-
<Param val="center" valType="str" updates="constant" name="alignment"
|
|
163
|
-
<Param val="center" valType="str" updates="constant" name="anchor"
|
|
164
|
-
<Param val="True" valType="bool" updates="constant" name="autoLog"
|
|
165
|
-
<Param val="False" valType="bool" updates="constant" name="bold"
|
|
166
|
-
<Param val="
|
|
167
|
-
<Param val="2" valType="num" updates="constant" name="borderWidth"
|
|
168
|
-
<Param val="
|
|
169
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"
|
|
170
|
-
<Param val="1" valType="num" updates="constant" name="contrast"
|
|
171
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
172
|
-
<Param val="" valType="code" updates="
|
|
173
|
-
<Param val="
|
|
174
|
-
<Param val="
|
|
175
|
-
<Param val="
|
|
176
|
-
<Param val="False" valType="bool" updates="constant" name="
|
|
177
|
-
<Param val="
|
|
178
|
-
<Param val="
|
|
179
|
-
<Param val="
|
|
180
|
-
<Param val="
|
|
181
|
-
<Param val="
|
|
182
|
-
<Param val="
|
|
183
|
-
<Param val="
|
|
184
|
-
<Param val="0" valType="num" updates="constant" name="
|
|
185
|
-
<Param val="
|
|
186
|
-
<Param val="
|
|
187
|
-
<Param val="
|
|
188
|
-
<Param val="
|
|
189
|
-
<Param val="
|
|
190
|
-
<Param val="
|
|
191
|
-
<Param val="" valType="list" updates="constant" name="
|
|
192
|
-
<Param val="" valType="
|
|
193
|
-
<Param val="
|
|
194
|
-
<Param val="
|
|
195
|
-
<Param val="
|
|
196
|
-
<Param val="" valType="
|
|
197
|
-
<Param val="
|
|
198
|
-
<Param val="
|
|
199
|
-
<Param val="
|
|
200
|
-
<Param val="" valType="
|
|
168
|
+
<Param val="center" valType="str" updates="constant" name="alignment"/>
|
|
169
|
+
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
170
|
+
<Param val="True" valType="bool" updates="constant" name="autoLog"/>
|
|
171
|
+
<Param val="False" valType="bool" updates="constant" name="bold"/>
|
|
172
|
+
<Param val="" valType="color" updates="constant" name="borderColor"/>
|
|
173
|
+
<Param val="2" valType="num" updates="constant" name="borderWidth"/>
|
|
174
|
+
<Param val="white" valType="color" updates="constant" name="color"/>
|
|
175
|
+
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
176
|
+
<Param val="1" valType="num" updates="constant" name="contrast"/>
|
|
177
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
178
|
+
<Param val="False" valType="code" updates="constant" name="draggable"/>
|
|
179
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
180
|
+
<Param val="False" valType="bool" updates="constant" name="editable"/>
|
|
181
|
+
<Param val="black" valType="color" updates="constant" name="fillColor"/>
|
|
182
|
+
<Param val="False" valType="bool" updates="constant" name="flipHoriz"/>
|
|
183
|
+
<Param val="False" valType="bool" updates="constant" name="flipVert"/>
|
|
184
|
+
<Param val="Arial" valType="str" updates="constant" name="font"/>
|
|
185
|
+
<Param val="False" valType="bool" updates="constant" name="italic"/>
|
|
186
|
+
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
|
|
187
|
+
<Param val="0.03" valType="num" updates="constant" name="letterHeight"/>
|
|
188
|
+
<Param val="1.0" valType="num" updates="constant" name="lineSpacing"/>
|
|
189
|
+
<Param val="reminder" valType="code" updates="None" name="name"/>
|
|
190
|
+
<Param val="0.6" valType="num" updates="constant" name="opacity"/>
|
|
191
|
+
<Param val="0" valType="num" updates="constant" name="ori"/>
|
|
192
|
+
<Param val="visible" valType="str" updates="constant" name="overflow"/>
|
|
193
|
+
<Param val="0" valType="num" updates="constant" name="padding"/>
|
|
194
|
+
<Param val="Type here..." valType="str" updates="constant" name="placeholder"/>
|
|
195
|
+
<Param val="(-0.4, -0.3)" valType="list" updates="constant" name="pos"/>
|
|
196
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
197
|
+
<Param val="(0.5, 0.2)" valType="list" updates="constant" name="size"/>
|
|
198
|
+
<Param val="" valType="list" updates="constant" name="speechPoint"/>
|
|
199
|
+
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
200
|
+
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
201
|
+
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
202
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
203
|
+
<Param val="" valType="code" updates="constant" name="stopVal"/>
|
|
204
|
+
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
205
|
+
<Param val="Press SPACE to pump the balloon&#10;Press RETURN to bank this sum" valType="str" updates="constant" name="text"/>
|
|
206
|
+
<Param val="from exp settings" valType="str" updates="None" name="units"/>
|
|
207
|
+
<Param val="" valType="code" updates="None" name="validator"/>
|
|
201
208
|
</TextboxComponent>
|
|
202
209
|
<TextboxComponent name="balloonValTxt" plugin="None">
|
|
203
|
-
<Param val="center" valType="str" updates="constant" name="alignment"
|
|
204
|
-
<Param val="center" valType="str" updates="constant" name="anchor"
|
|
205
|
-
<Param val="True" valType="bool" updates="constant" name="autoLog"
|
|
206
|
-
<Param val="False" valType="bool" updates="constant" name="bold"
|
|
207
|
-
<Param val="
|
|
208
|
-
<Param val="2" valType="num" updates="constant" name="borderWidth"
|
|
209
|
-
<Param val="
|
|
210
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"
|
|
211
|
-
<Param val="1" valType="num" updates="constant" name="contrast"
|
|
212
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
213
|
-
<Param val="" valType="code" updates="
|
|
214
|
-
<Param val="
|
|
215
|
-
<Param val="
|
|
216
|
-
<Param val="
|
|
217
|
-
<Param val="False" valType="bool" updates="constant" name="
|
|
218
|
-
<Param val="
|
|
219
|
-
<Param val="
|
|
220
|
-
<Param val="
|
|
221
|
-
<Param val="
|
|
222
|
-
<Param val="
|
|
223
|
-
<Param val="
|
|
224
|
-
<Param val="
|
|
225
|
-
<Param val="0" valType="num" updates="constant" name="
|
|
226
|
-
<Param val="
|
|
227
|
-
<Param val="
|
|
228
|
-
<Param val="
|
|
229
|
-
<Param val="
|
|
230
|
-
<Param val="
|
|
231
|
-
<Param val="
|
|
232
|
-
<Param val="" valType="list" updates="constant" name="
|
|
233
|
-
<Param val="" valType="
|
|
234
|
-
<Param val="
|
|
235
|
-
<Param val="
|
|
236
|
-
<Param val="
|
|
237
|
-
<Param val="" valType="
|
|
238
|
-
<Param val="
|
|
239
|
-
<Param val="
|
|
240
|
-
<Param val="
|
|
241
|
-
<Param val="" valType="
|
|
210
|
+
<Param val="center" valType="str" updates="constant" name="alignment"/>
|
|
211
|
+
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
212
|
+
<Param val="True" valType="bool" updates="constant" name="autoLog"/>
|
|
213
|
+
<Param val="False" valType="bool" updates="constant" name="bold"/>
|
|
214
|
+
<Param val="" valType="color" updates="constant" name="borderColor"/>
|
|
215
|
+
<Param val="2" valType="num" updates="constant" name="borderWidth"/>
|
|
216
|
+
<Param val="white" valType="color" updates="constant" name="color"/>
|
|
217
|
+
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
218
|
+
<Param val="1" valType="num" updates="constant" name="contrast"/>
|
|
219
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
220
|
+
<Param val="False" valType="code" updates="constant" name="draggable"/>
|
|
221
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
222
|
+
<Param val="False" valType="bool" updates="constant" name="editable"/>
|
|
223
|
+
<Param val="black" valType="color" updates="constant" name="fillColor"/>
|
|
224
|
+
<Param val="False" valType="bool" updates="constant" name="flipHoriz"/>
|
|
225
|
+
<Param val="False" valType="bool" updates="constant" name="flipVert"/>
|
|
226
|
+
<Param val="Arial" valType="str" updates="constant" name="font"/>
|
|
227
|
+
<Param val="False" valType="bool" updates="constant" name="italic"/>
|
|
228
|
+
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
|
|
229
|
+
<Param val="0.03" valType="num" updates="constant" name="letterHeight"/>
|
|
230
|
+
<Param val="1.0" valType="num" updates="constant" name="lineSpacing"/>
|
|
231
|
+
<Param val="balloonValTxt" valType="code" updates="None" name="name"/>
|
|
232
|
+
<Param val="0.6" valType="num" updates="constant" name="opacity"/>
|
|
233
|
+
<Param val="0" valType="num" updates="constant" name="ori"/>
|
|
234
|
+
<Param val="visible" valType="str" updates="constant" name="overflow"/>
|
|
235
|
+
<Param val="0" valType="num" updates="constant" name="padding"/>
|
|
236
|
+
<Param val="Type here..." valType="str" updates="constant" name="placeholder"/>
|
|
237
|
+
<Param val="(-0.4, 0.4)" valType="list" updates="constant" name="pos"/>
|
|
238
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
239
|
+
<Param val="(0.5, 0.2)" valType="list" updates="constant" name="size"/>
|
|
240
|
+
<Param val="" valType="list" updates="constant" name="speechPoint"/>
|
|
241
|
+
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
242
|
+
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
243
|
+
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
244
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
245
|
+
<Param val="" valType="code" updates="constant" name="stopVal"/>
|
|
246
|
+
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
247
|
+
<Param val="$balloonEarnings" valType="str" updates="set every frame" name="text"/>
|
|
248
|
+
<Param val="from exp settings" valType="str" updates="None" name="units"/>
|
|
249
|
+
<Param val="" valType="code" updates="None" name="validator"/>
|
|
242
250
|
</TextboxComponent>
|
|
243
251
|
<TextboxComponent name="bankedTxt" plugin="None">
|
|
244
|
-
<Param val="center" valType="str" updates="constant" name="alignment"
|
|
245
|
-
<Param val="center" valType="str" updates="constant" name="anchor"
|
|
246
|
-
<Param val="True" valType="bool" updates="constant" name="autoLog"
|
|
247
|
-
<Param val="False" valType="bool" updates="constant" name="bold"
|
|
248
|
-
<Param val="
|
|
249
|
-
<Param val="2" valType="num" updates="constant" name="borderWidth"
|
|
250
|
-
<Param val="
|
|
251
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"
|
|
252
|
-
<Param val="1" valType="num" updates="constant" name="contrast"
|
|
253
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
254
|
-
<Param val="" valType="code" updates="
|
|
255
|
-
<Param val="
|
|
256
|
-
<Param val="
|
|
257
|
-
<Param val="
|
|
258
|
-
<Param val="False" valType="bool" updates="constant" name="
|
|
259
|
-
<Param val="
|
|
260
|
-
<Param val="
|
|
261
|
-
<Param val="
|
|
262
|
-
<Param val="
|
|
263
|
-
<Param val="
|
|
264
|
-
<Param val="
|
|
265
|
-
<Param val="
|
|
266
|
-
<Param val="0" valType="num" updates="constant" name="
|
|
267
|
-
<Param val="
|
|
268
|
-
<Param val="
|
|
269
|
-
<Param val="
|
|
270
|
-
<Param val="
|
|
271
|
-
<Param val="
|
|
272
|
-
<Param val="
|
|
273
|
-
<Param val="" valType="list" updates="constant" name="
|
|
274
|
-
<Param val="" valType="
|
|
275
|
-
<Param val="
|
|
276
|
-
<Param val="
|
|
277
|
-
<Param val="
|
|
278
|
-
<Param val="" valType="
|
|
279
|
-
<Param val="
|
|
280
|
-
<Param val="
|
|
281
|
-
<Param val="
|
|
282
|
-
<Param val="" valType="
|
|
252
|
+
<Param val="center" valType="str" updates="constant" name="alignment"/>
|
|
253
|
+
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
254
|
+
<Param val="True" valType="bool" updates="constant" name="autoLog"/>
|
|
255
|
+
<Param val="False" valType="bool" updates="constant" name="bold"/>
|
|
256
|
+
<Param val="" valType="color" updates="constant" name="borderColor"/>
|
|
257
|
+
<Param val="2" valType="num" updates="constant" name="borderWidth"/>
|
|
258
|
+
<Param val="white" valType="color" updates="constant" name="color"/>
|
|
259
|
+
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
260
|
+
<Param val="1" valType="num" updates="constant" name="contrast"/>
|
|
261
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
262
|
+
<Param val="False" valType="code" updates="constant" name="draggable"/>
|
|
263
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
264
|
+
<Param val="False" valType="bool" updates="constant" name="editable"/>
|
|
265
|
+
<Param val="black" valType="color" updates="constant" name="fillColor"/>
|
|
266
|
+
<Param val="False" valType="bool" updates="constant" name="flipHoriz"/>
|
|
267
|
+
<Param val="False" valType="bool" updates="constant" name="flipVert"/>
|
|
268
|
+
<Param val="Arial" valType="str" updates="constant" name="font"/>
|
|
269
|
+
<Param val="False" valType="bool" updates="constant" name="italic"/>
|
|
270
|
+
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
|
|
271
|
+
<Param val="0.03" valType="num" updates="constant" name="letterHeight"/>
|
|
272
|
+
<Param val="1.0" valType="num" updates="constant" name="lineSpacing"/>
|
|
273
|
+
<Param val="bankedTxt" valType="code" updates="None" name="name"/>
|
|
274
|
+
<Param val="0.6" valType="num" updates="constant" name="opacity"/>
|
|
275
|
+
<Param val="0" valType="num" updates="constant" name="ori"/>
|
|
276
|
+
<Param val="visible" valType="str" updates="constant" name="overflow"/>
|
|
277
|
+
<Param val="0" valType="num" updates="constant" name="padding"/>
|
|
278
|
+
<Param val="Type here..." valType="str" updates="constant" name="placeholder"/>
|
|
279
|
+
<Param val="(0.4, 0.4)" valType="list" updates="constant" name="pos"/>
|
|
280
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
281
|
+
<Param val="(0.5, 0.2)" valType="list" updates="constant" name="size"/>
|
|
282
|
+
<Param val="" valType="list" updates="constant" name="speechPoint"/>
|
|
283
|
+
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
284
|
+
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
285
|
+
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
286
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
287
|
+
<Param val="" valType="code" updates="constant" name="stopVal"/>
|
|
288
|
+
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
289
|
+
<Param val="$bankedText" valType="str" updates="set every frame" name="text"/>
|
|
290
|
+
<Param val="from exp settings" valType="str" updates="None" name="units"/>
|
|
291
|
+
<Param val="" valType="code" updates="None" name="validator"/>
|
|
283
292
|
</TextboxComponent>
|
|
284
|
-
<CodeComponent name="setBalloonSize" plugin="None">
|
|
285
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment" />
|
|
286
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment" />
|
|
287
|
-
<Param val="balloonSize=0.08&#10;balloonMsgHeight=0.01" valType="extendedCode" updates="constant" name="Begin Experiment" />
|
|
288
|
-
<Param val="balloonSize = 0.08;&#10;balloonMsgHeight = 0.01;&#10;" valType="extendedCode" updates="constant" name="Begin JS Experiment" />
|
|
289
|
-
<Param val="balloonBody.setPos([0, ((balloonSize / 2) - 0.5)]);&#10;balloonBody.setSize(balloonSize);&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine" />
|
|
290
|
-
<Param val="balloonBody.setPos([0, balloonSize/2-.5])&#10;balloonBody.setSize(balloonSize)" valType="extendedCode" updates="constant" name="Begin Routine" />
|
|
291
|
-
<Param val="Auto->JS" valType="str" updates="None" name="Code Type" />
|
|
292
|
-
<Param val="balloonSize=0.1+(pump.thisN+1)*0.015" valType="extendedCode" updates="constant" name="Each Frame" />
|
|
293
|
-
<Param val="balloonSize = (0.1 + ((pump.thisN + 1) * 0.015));&#10;" valType="extendedCode" updates="constant" name="Each JS Frame" />
|
|
294
|
-
<Param val="" valType="extendedCode" updates="constant" name="End Experiment" />
|
|
295
|
-
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment" />
|
|
296
|
-
<Param val="trials.addData("nPumps", (pump.thisN + 1));&#10;trials.addData("size", balloonSize);&#10;trials.addData("earnings", thisBalloonEarnings);&#10;trials.addData("popped", popped);&#10;" valType="extendedCode" updates="constant" name="End JS Routine" />
|
|
297
|
-
<Param val="#save data&#10;trials.addData('nPumps', pump.thisN+1)&#10;trials.addData('size', balloonSize)&#10;trials.addData('earnings', thisBalloonEarnings)&#10;trials.addData('popped', popped)&#10;&#10;" valType="extendedCode" updates="constant" name="End Routine" />
|
|
298
|
-
<Param val="False" valType="bool" updates="None" name="disabled" />
|
|
299
|
-
<Param val="setBalloonSize" valType="code" updates="None" name="name" />
|
|
300
|
-
</CodeComponent>
|
|
301
|
-
<ImageComponent name="balloonBody" plugin="None">
|
|
302
|
-
<Param val="center" valType="str" updates="constant" name="anchor" />
|
|
303
|
-
<Param val="$[1,1,1]" valType="str" updates="constant" name="color" />
|
|
304
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace" />
|
|
305
|
-
<Param val="1" valType="num" updates="constant" name="contrast" />
|
|
306
|
-
<Param val="False" valType="bool" updates="None" name="disabled" />
|
|
307
|
-
<Param val="" valType="code" updates="None" name="durationEstim" />
|
|
308
|
-
<Param val="False" valType="bool" updates="constant" name="flipHoriz" />
|
|
309
|
-
<Param val="False" valType="bool" updates="constant" name="flipVert" />
|
|
310
|
-
<Param val="assets/redBalloon.png" valType="str" updates="constant" name="image" />
|
|
311
|
-
<Param val="linear" valType="str" updates="constant" name="interpolate" />
|
|
312
|
-
<Param val="None" valType="str" updates="constant" name="mask" />
|
|
313
|
-
<Param val="balloonBody" valType="code" updates="constant" name="name" />
|
|
314
|
-
<Param val="1" valType="code" updates="constant" name="opacity" />
|
|
315
|
-
<Param val="-90" valType="code" updates="constant" name="ori" />
|
|
316
|
-
<Param val="[0, balloonSize/2-.5]" valType="list" updates="set every frame" name="pos" />
|
|
317
|
-
<Param val="True" valType="bool" updates="None" name="saveStartStop" />
|
|
318
|
-
<Param val="balloonSize" valType="list" updates="set every frame" name="size" />
|
|
319
|
-
<Param val="" valType="code" updates="None" name="startEstim" />
|
|
320
|
-
<Param val="time (s)" valType="str" updates="None" name="startType" />
|
|
321
|
-
<Param val="0.0" valType="code" updates="None" name="startVal" />
|
|
322
|
-
<Param val="duration (s)" valType="str" updates="None" name="stopType" />
|
|
323
|
-
<Param val="" valType="code" updates="constant" name="stopVal" />
|
|
324
|
-
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh" />
|
|
325
|
-
<Param val="128" valType="code" updates="constant" name="texture resolution" />
|
|
326
|
-
<Param val="height" valType="str" updates="None" name="units" />
|
|
327
|
-
<Param val="" valType="code" updates="None" name="validator" />
|
|
328
|
-
</ImageComponent>
|
|
329
293
|
<TextboxComponent name="trialcount" plugin="None">
|
|
330
|
-
<Param val="center" valType="str" updates="constant" name="alignment"
|
|
331
|
-
<Param val="center" valType="str" updates="constant" name="anchor"
|
|
332
|
-
<Param val="True" valType="bool" updates="constant" name="autoLog"
|
|
333
|
-
<Param val="False" valType="bool" updates="constant" name="bold"
|
|
334
|
-
<Param val="
|
|
335
|
-
<Param val="2" valType="num" updates="constant" name="borderWidth"
|
|
336
|
-
<Param val="
|
|
337
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"
|
|
338
|
-
<Param val="1" valType="num" updates="constant" name="contrast"
|
|
339
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
340
|
-
<Param val="" valType="code" updates="
|
|
341
|
-
<Param val="
|
|
342
|
-
<Param val="
|
|
343
|
-
<Param val="
|
|
344
|
-
<Param val="False" valType="bool" updates="constant" name="
|
|
345
|
-
<Param val="
|
|
346
|
-
<Param val="
|
|
347
|
-
<Param val="
|
|
348
|
-
<Param val="
|
|
349
|
-
<Param val="
|
|
350
|
-
<Param val="
|
|
351
|
-
<Param val="
|
|
352
|
-
<Param val="0" valType="num" updates="constant" name="
|
|
353
|
-
<Param val="
|
|
354
|
-
<Param val="
|
|
355
|
-
<Param val="
|
|
356
|
-
<Param val="
|
|
357
|
-
<Param val="
|
|
358
|
-
<Param val="
|
|
359
|
-
<Param val="" valType="list" updates="constant" name="
|
|
360
|
-
<Param val="" valType="
|
|
361
|
-
<Param val="
|
|
362
|
-
<Param val="
|
|
363
|
-
<Param val="
|
|
364
|
-
<Param val="" valType="
|
|
365
|
-
<Param val="
|
|
366
|
-
<Param val="
|
|
367
|
-
<Param val="
|
|
368
|
-
<Param val="" valType="
|
|
294
|
+
<Param val="center" valType="str" updates="constant" name="alignment"/>
|
|
295
|
+
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
296
|
+
<Param val="True" valType="bool" updates="constant" name="autoLog"/>
|
|
297
|
+
<Param val="False" valType="bool" updates="constant" name="bold"/>
|
|
298
|
+
<Param val="" valType="color" updates="constant" name="borderColor"/>
|
|
299
|
+
<Param val="2" valType="num" updates="constant" name="borderWidth"/>
|
|
300
|
+
<Param val="white" valType="color" updates="constant" name="color"/>
|
|
301
|
+
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
302
|
+
<Param val="1" valType="num" updates="constant" name="contrast"/>
|
|
303
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
304
|
+
<Param val="False" valType="code" updates="constant" name="draggable"/>
|
|
305
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
306
|
+
<Param val="False" valType="bool" updates="constant" name="editable"/>
|
|
307
|
+
<Param val="black" valType="color" updates="constant" name="fillColor"/>
|
|
308
|
+
<Param val="False" valType="bool" updates="constant" name="flipHoriz"/>
|
|
309
|
+
<Param val="False" valType="bool" updates="constant" name="flipVert"/>
|
|
310
|
+
<Param val="Arial" valType="str" updates="constant" name="font"/>
|
|
311
|
+
<Param val="False" valType="bool" updates="constant" name="italic"/>
|
|
312
|
+
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
|
|
313
|
+
<Param val="0.03" valType="num" updates="constant" name="letterHeight"/>
|
|
314
|
+
<Param val="1.0" valType="num" updates="constant" name="lineSpacing"/>
|
|
315
|
+
<Param val="trialcount" valType="code" updates="None" name="name"/>
|
|
316
|
+
<Param val="0.6" valType="num" updates="constant" name="opacity"/>
|
|
317
|
+
<Param val="0" valType="num" updates="constant" name="ori"/>
|
|
318
|
+
<Param val="visible" valType="str" updates="constant" name="overflow"/>
|
|
319
|
+
<Param val="0" valType="num" updates="constant" name="padding"/>
|
|
320
|
+
<Param val="Type here..." valType="str" updates="constant" name="placeholder"/>
|
|
321
|
+
<Param val="(0.4, -0.3)" valType="list" updates="constant" name="pos"/>
|
|
322
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
323
|
+
<Param val="(0.5, 0.2)" valType="list" updates="constant" name="size"/>
|
|
324
|
+
<Param val="" valType="list" updates="constant" name="speechPoint"/>
|
|
325
|
+
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
326
|
+
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
327
|
+
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
328
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
329
|
+
<Param val="" valType="code" updates="constant" name="stopVal"/>
|
|
330
|
+
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
331
|
+
<Param val="$'Ballon number: ' + str(trials.thisN+1) +'/' + str(trials.nTotal)" valType="str" updates="set every repeat" name="text"/>
|
|
332
|
+
<Param val="from exp settings" valType="str" updates="None" name="units"/>
|
|
333
|
+
<Param val="" valType="code" updates="None" name="validator"/>
|
|
369
334
|
</TextboxComponent>
|
|
335
|
+
<CodeComponent name="setBalloonSize" plugin="None">
|
|
336
|
+
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"/>
|
|
337
|
+
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"/>
|
|
338
|
+
<Param val="balloonSize=0.08&#10;balloonMsgHeight=0.01" valType="extendedCode" updates="constant" name="Begin Experiment"/>
|
|
339
|
+
<Param val="balloonSize = 0.08;&#10;balloonMsgHeight = 0.01;&#10;" valType="extendedCode" updates="constant" name="Begin JS Experiment"/>
|
|
340
|
+
<Param val="balloonBody.setPos([0, ((balloonSize / 2) - 0.5)]);&#10;balloonBody.setSize(balloonSize);&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"/>
|
|
341
|
+
<Param val="balloonBody.setPos([0, balloonSize/2-.5])&#10;balloonBody.setSize(balloonSize)" valType="extendedCode" updates="constant" name="Begin Routine"/>
|
|
342
|
+
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"/>
|
|
343
|
+
<Param val="balloonSize=0.1+(pump.thisN+1)*0.015" valType="extendedCode" updates="constant" name="Each Frame"/>
|
|
344
|
+
<Param val="balloonSize = (0.1 + ((pump.thisN + 1) * 0.015));&#10;" valType="extendedCode" updates="constant" name="Each JS Frame"/>
|
|
345
|
+
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"/>
|
|
346
|
+
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"/>
|
|
347
|
+
<Param val="trials.addData("nPumps", (pump.thisN + 1));&#10;trials.addData("size", balloonSize);&#10;trials.addData("earnings", thisBalloonEarnings);&#10;trials.addData("popped", popped);&#10;" valType="extendedCode" updates="constant" name="End JS Routine"/>
|
|
348
|
+
<Param val="#save data&#10;trials.addData('nPumps', pump.thisN+1)&#10;trials.addData('size', balloonSize)&#10;trials.addData('earnings', thisBalloonEarnings)&#10;trials.addData('popped', popped)&#10;&#10;" valType="extendedCode" updates="constant" name="End Routine"/>
|
|
349
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
350
|
+
<Param val="setBalloonSize" valType="code" updates="None" name="name"/>
|
|
351
|
+
</CodeComponent>
|
|
370
352
|
</Routine>
|
|
371
353
|
<Routine name="finalScore">
|
|
372
354
|
<RoutineSettingsComponent name="finalScore" plugin="None">
|
|
373
|
-
<Param val="none" valType="str" updates="None" name="backgroundFit"
|
|
374
|
-
<Param val="" valType="str" updates="None" name="backgroundImg"
|
|
375
|
-
<Param val="$[0,0,0]" valType="color" updates="None" name="color"
|
|
376
|
-
<Param val="rgb" valType="str" updates="None" name="colorSpace"
|
|
377
|
-
<Param val="" valType="str" updates="constant" name="desc"
|
|
378
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
379
|
-
<Param val="" valType="code" updates="None" name="durationEstim"
|
|
380
|
-
<Param val="
|
|
381
|
-
<Param val="
|
|
382
|
-
<Param val="" valType="
|
|
383
|
-
<Param val="
|
|
384
|
-
<Param val="" valType="
|
|
385
|
-
<Param val="
|
|
355
|
+
<Param val="none" valType="str" updates="None" name="backgroundFit"/>
|
|
356
|
+
<Param val="" valType="str" updates="None" name="backgroundImg"/>
|
|
357
|
+
<Param val="$[0,0,0]" valType="color" updates="None" name="color"/>
|
|
358
|
+
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
|
|
359
|
+
<Param val="" valType="str" updates="constant" name="desc"/>
|
|
360
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
361
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
362
|
+
<Param val="False" valType="code" updates="None" name="forceNonSlip"/>
|
|
363
|
+
<Param val="finalScore" valType="code" updates="None" name="name"/>
|
|
364
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
365
|
+
<Param val="" valType="code" updates="constant" name="skipIf"/>
|
|
366
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
367
|
+
<Param val="" valType="code" updates="constant" name="stopVal"/>
|
|
368
|
+
<Param val="False" valType="bool" updates="None" name="useWindowParams"/>
|
|
386
369
|
</RoutineSettingsComponent>
|
|
387
|
-
<ImageComponent name="background_4" plugin="None">
|
|
388
|
-
<Param val="center" valType="str" updates="constant" name="anchor" />
|
|
389
|
-
<Param val="$[1,1,1]" valType="color" updates="constant" name="color" />
|
|
390
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace" />
|
|
391
|
-
<Param val="1" valType="num" updates="constant" name="contrast" />
|
|
392
|
-
<Param val="False" valType="bool" updates="None" name="disabled" />
|
|
393
|
-
<Param val="" valType="code" updates="None" name="durationEstim" />
|
|
394
|
-
<Param val="False" valType="bool" updates="constant" name="flipHoriz" />
|
|
395
|
-
<Param val="False" valType="bool" updates="constant" name="flipVert" />
|
|
396
|
-
<Param val="assets/background.png" valType="file" updates="constant" name="image" />
|
|
397
|
-
<Param val="linear" valType="str" updates="constant" name="interpolate" />
|
|
398
|
-
<Param val="" valType="str" updates="constant" name="mask" />
|
|
399
|
-
<Param val="background_4" valType="code" updates="None" name="name" />
|
|
400
|
-
<Param val="" valType="num" updates="constant" name="opacity" />
|
|
401
|
-
<Param val="0" valType="num" updates="constant" name="ori" />
|
|
402
|
-
<Param val="(0, 0)" valType="list" updates="constant" name="pos" />
|
|
403
|
-
<Param val="True" valType="bool" updates="None" name="saveStartStop" />
|
|
404
|
-
<Param val="(2.2, 1)" valType="list" updates="constant" name="size" />
|
|
405
|
-
<Param val="" valType="code" updates="None" name="startEstim" />
|
|
406
|
-
<Param val="time (s)" valType="str" updates="None" name="startType" />
|
|
407
|
-
<Param val="0.0" valType="code" updates="None" name="startVal" />
|
|
408
|
-
<Param val="duration (s)" valType="str" updates="None" name="stopType" />
|
|
409
|
-
<Param val="5" valType="code" updates="constant" name="stopVal" />
|
|
410
|
-
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh" />
|
|
411
|
-
<Param val="128" valType="num" updates="constant" name="texture resolution" />
|
|
412
|
-
<Param val="from exp settings" valType="str" updates="None" name="units" />
|
|
413
|
-
<Param val="" valType="code" updates="None" name="validator" />
|
|
414
|
-
</ImageComponent>
|
|
415
370
|
<CodeComponent name="finalScoreCode" plugin="None">
|
|
416
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"
|
|
417
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"
|
|
418
|
-
<Param val="" valType="extendedCode" updates="constant" name="Begin Experiment"
|
|
419
|
-
<Param val="" valType="extendedCode" updates="constant" name="Begin JS Experiment"
|
|
420
|
-
<Param val="scoreText = ("Well done! You banked a total of\n\u00a3" + util.round(bankedEarnings, 2).toString());&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"
|
|
421
|
-
<Param val="scoreText="Well done! You banked a total of\n£"+str(round(bankedEarnings, 2))" valType="extendedCode" updates="constant" name="Begin Routine"
|
|
422
|
-
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"
|
|
423
|
-
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"
|
|
424
|
-
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"
|
|
425
|
-
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"
|
|
426
|
-
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"
|
|
427
|
-
<Param val="" valType="extendedCode" updates="constant" name="End JS Routine"
|
|
428
|
-
<Param val="" valType="extendedCode" updates="constant" name="End Routine"
|
|
429
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
430
|
-
<Param val="finalScoreCode" valType="code" updates="None" name="name"
|
|
371
|
+
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"/>
|
|
372
|
+
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"/>
|
|
373
|
+
<Param val="" valType="extendedCode" updates="constant" name="Begin Experiment"/>
|
|
374
|
+
<Param val="" valType="extendedCode" updates="constant" name="Begin JS Experiment"/>
|
|
375
|
+
<Param val="scoreText = ("Well done! You banked a total of\n\u00a3" + util.round(bankedEarnings, 2).toString());&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"/>
|
|
376
|
+
<Param val="scoreText="Well done! You banked a total of\n£"+str(round(bankedEarnings, 2))" valType="extendedCode" updates="constant" name="Begin Routine"/>
|
|
377
|
+
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"/>
|
|
378
|
+
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"/>
|
|
379
|
+
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"/>
|
|
380
|
+
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"/>
|
|
381
|
+
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"/>
|
|
382
|
+
<Param val="" valType="extendedCode" updates="constant" name="End JS Routine"/>
|
|
383
|
+
<Param val="" valType="extendedCode" updates="constant" name="End Routine"/>
|
|
384
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
385
|
+
<Param val="finalScoreCode" valType="code" updates="None" name="name"/>
|
|
431
386
|
</CodeComponent>
|
|
432
387
|
<TextboxComponent name="scoremsg" plugin="None">
|
|
433
|
-
<Param val="center" valType="str" updates="constant" name="alignment"
|
|
434
|
-
<Param val="center" valType="str" updates="constant" name="anchor"
|
|
435
|
-
<Param val="True" valType="bool" updates="constant" name="autoLog"
|
|
436
|
-
<Param val="False" valType="bool" updates="constant" name="bold"
|
|
437
|
-
<Param val="
|
|
438
|
-
<Param val="2" valType="num" updates="constant" name="borderWidth"
|
|
439
|
-
<Param val="
|
|
440
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"
|
|
441
|
-
<Param val="1" valType="num" updates="constant" name="contrast"
|
|
442
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
443
|
-
<Param val="" valType="code" updates="
|
|
444
|
-
<Param val="
|
|
445
|
-
<Param val="
|
|
446
|
-
<Param val="
|
|
447
|
-
<Param val="False" valType="bool" updates="constant" name="
|
|
448
|
-
<Param val="
|
|
449
|
-
<Param val="
|
|
450
|
-
<Param val="
|
|
451
|
-
<Param val="
|
|
452
|
-
<Param val="
|
|
453
|
-
<Param val="
|
|
454
|
-
<Param val="
|
|
455
|
-
<Param val="0" valType="num" updates="constant" name="
|
|
456
|
-
<Param val="
|
|
457
|
-
<Param val="
|
|
458
|
-
<Param val="
|
|
459
|
-
<Param val="
|
|
460
|
-
<Param val="
|
|
461
|
-
<Param val="
|
|
462
|
-
<Param val="" valType="list" updates="constant" name="
|
|
463
|
-
<Param val="" valType="
|
|
464
|
-
<Param val="
|
|
465
|
-
<Param val="
|
|
466
|
-
<Param val="
|
|
467
|
-
<Param val="
|
|
468
|
-
<Param val="
|
|
469
|
-
<Param val="
|
|
470
|
-
<Param val="
|
|
471
|
-
<Param val="" valType="
|
|
388
|
+
<Param val="center" valType="str" updates="constant" name="alignment"/>
|
|
389
|
+
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
390
|
+
<Param val="True" valType="bool" updates="constant" name="autoLog"/>
|
|
391
|
+
<Param val="False" valType="bool" updates="constant" name="bold"/>
|
|
392
|
+
<Param val="" valType="color" updates="constant" name="borderColor"/>
|
|
393
|
+
<Param val="2" valType="num" updates="constant" name="borderWidth"/>
|
|
394
|
+
<Param val="white" valType="color" updates="constant" name="color"/>
|
|
395
|
+
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
396
|
+
<Param val="1" valType="num" updates="constant" name="contrast"/>
|
|
397
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
398
|
+
<Param val="False" valType="code" updates="constant" name="draggable"/>
|
|
399
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
400
|
+
<Param val="False" valType="bool" updates="constant" name="editable"/>
|
|
401
|
+
<Param val="black" valType="color" updates="constant" name="fillColor"/>
|
|
402
|
+
<Param val="False" valType="bool" updates="constant" name="flipHoriz"/>
|
|
403
|
+
<Param val="False" valType="bool" updates="constant" name="flipVert"/>
|
|
404
|
+
<Param val="Arial" valType="str" updates="constant" name="font"/>
|
|
405
|
+
<Param val="False" valType="bool" updates="constant" name="italic"/>
|
|
406
|
+
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
|
|
407
|
+
<Param val="0.04" valType="num" updates="constant" name="letterHeight"/>
|
|
408
|
+
<Param val="1.0" valType="num" updates="constant" name="lineSpacing"/>
|
|
409
|
+
<Param val="scoremsg" valType="code" updates="None" name="name"/>
|
|
410
|
+
<Param val="0.6" valType="num" updates="constant" name="opacity"/>
|
|
411
|
+
<Param val="0" valType="num" updates="constant" name="ori"/>
|
|
412
|
+
<Param val="visible" valType="str" updates="constant" name="overflow"/>
|
|
413
|
+
<Param val="0" valType="num" updates="constant" name="padding"/>
|
|
414
|
+
<Param val="Type here..." valType="str" updates="constant" name="placeholder"/>
|
|
415
|
+
<Param val="(0, 0)" valType="list" updates="constant" name="pos"/>
|
|
416
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
417
|
+
<Param val="(1, 0.7)" valType="list" updates="constant" name="size"/>
|
|
418
|
+
<Param val="" valType="list" updates="constant" name="speechPoint"/>
|
|
419
|
+
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
420
|
+
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
421
|
+
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
422
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
423
|
+
<Param val="5" valType="code" updates="constant" name="stopVal"/>
|
|
424
|
+
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
425
|
+
<Param val="$scoreText" valType="str" updates="set every repeat" name="text"/>
|
|
426
|
+
<Param val="from exp settings" valType="str" updates="None" name="units"/>
|
|
427
|
+
<Param val="" valType="code" updates="None" name="validator"/>
|
|
472
428
|
</TextboxComponent>
|
|
473
429
|
</Routine>
|
|
474
430
|
<Routine name="feedback">
|
|
475
431
|
<RoutineSettingsComponent name="feedback" plugin="None">
|
|
476
|
-
<Param val="none" valType="str" updates="None" name="backgroundFit"
|
|
477
|
-
<Param val="" valType="str" updates="None" name="backgroundImg"
|
|
478
|
-
<Param val="$[0,0,0]" valType="color" updates="None" name="color"
|
|
479
|
-
<Param val="rgb" valType="str" updates="None" name="colorSpace"
|
|
480
|
-
<Param val="" valType="str" updates="constant" name="desc"
|
|
481
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
482
|
-
<Param val="" valType="code" updates="None" name="durationEstim"
|
|
483
|
-
<Param val="
|
|
484
|
-
<Param val="
|
|
485
|
-
<Param val="" valType="
|
|
486
|
-
<Param val="
|
|
487
|
-
<Param val="" valType="
|
|
488
|
-
<Param val="
|
|
432
|
+
<Param val="none" valType="str" updates="None" name="backgroundFit"/>
|
|
433
|
+
<Param val="" valType="str" updates="None" name="backgroundImg"/>
|
|
434
|
+
<Param val="$[0,0,0]" valType="color" updates="None" name="color"/>
|
|
435
|
+
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
|
|
436
|
+
<Param val="" valType="str" updates="constant" name="desc"/>
|
|
437
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
438
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
439
|
+
<Param val="False" valType="code" updates="None" name="forceNonSlip"/>
|
|
440
|
+
<Param val="feedback" valType="code" updates="None" name="name"/>
|
|
441
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
442
|
+
<Param val="" valType="code" updates="constant" name="skipIf"/>
|
|
443
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
444
|
+
<Param val="" valType="code" updates="constant" name="stopVal"/>
|
|
445
|
+
<Param val="False" valType="bool" updates="None" name="useWindowParams"/>
|
|
489
446
|
</RoutineSettingsComponent>
|
|
490
|
-
<ImageComponent name="background_3" plugin="None">
|
|
491
|
-
<Param val="center" valType="str" updates="constant" name="anchor" />
|
|
492
|
-
<Param val="$[1,1,1]" valType="color" updates="constant" name="color" />
|
|
493
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace" />
|
|
494
|
-
<Param val="1" valType="num" updates="constant" name="contrast" />
|
|
495
|
-
<Param val="False" valType="bool" updates="None" name="disabled" />
|
|
496
|
-
<Param val="" valType="code" updates="None" name="durationEstim" />
|
|
497
|
-
<Param val="False" valType="bool" updates="constant" name="flipHoriz" />
|
|
498
|
-
<Param val="False" valType="bool" updates="constant" name="flipVert" />
|
|
499
|
-
<Param val="assets/background.png" valType="file" updates="constant" name="image" />
|
|
500
|
-
<Param val="linear" valType="str" updates="constant" name="interpolate" />
|
|
501
|
-
<Param val="" valType="str" updates="constant" name="mask" />
|
|
502
|
-
<Param val="background_3" valType="code" updates="None" name="name" />
|
|
503
|
-
<Param val="" valType="num" updates="constant" name="opacity" />
|
|
504
|
-
<Param val="0" valType="num" updates="constant" name="ori" />
|
|
505
|
-
<Param val="(0, 0)" valType="list" updates="constant" name="pos" />
|
|
506
|
-
<Param val="True" valType="bool" updates="None" name="saveStartStop" />
|
|
507
|
-
<Param val="(2.2, 1)" valType="list" updates="constant" name="size" />
|
|
508
|
-
<Param val="" valType="code" updates="None" name="startEstim" />
|
|
509
|
-
<Param val="time (s)" valType="str" updates="None" name="startType" />
|
|
510
|
-
<Param val="0.0" valType="code" updates="None" name="startVal" />
|
|
511
|
-
<Param val="duration (s)" valType="str" updates="None" name="stopType" />
|
|
512
|
-
<Param val="1.5" valType="code" updates="constant" name="stopVal" />
|
|
513
|
-
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh" />
|
|
514
|
-
<Param val="128" valType="num" updates="constant" name="texture resolution" />
|
|
515
|
-
<Param val="from exp settings" valType="str" updates="None" name="units" />
|
|
516
|
-
<Param val="" valType="code" updates="None" name="validator" />
|
|
517
|
-
</ImageComponent>
|
|
518
447
|
<CodeComponent name="checkPopped" plugin="None">
|
|
519
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"
|
|
520
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"
|
|
521
|
-
<Param val="feedbackText=""&#10;" valType="extendedCode" updates="constant" name="Begin Experiment"
|
|
522
|
-
<Param val="feedbackText = "";&#10;" valType="extendedCode" updates="constant" name="Begin JS Experiment"
|
|
523
|
-
<Param val="bankedEarnings = (bankedEarnings + lastBalloonEarnings);&#10;balloonEarnings = ("This balloon value:\n\u00a3" + util.round(thisBalloonEarnings, 2).toString());&#10;bankedText = ("You have banked:\n\u00a3" + util.round(bankedEarnings, 2).toString());&#10;pop_sound.setVolume(1);&#10;if ((popped === true)) {&#10; feedbackText = "Oops! Lost that one!";&#10; pop_sound.play();&#10;} else {&#10; feedbackText = ("You banked \u00a3" + util.round(lastBalloonEarnings, 2).toString());&#10;}&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"
|
|
524
|
-
<Param val="# update the banked earnings with the earnings of the last balloon&#10;bankedEarnings = bankedEarnings+lastBalloonEarnings&#10;&#10;# update the text &#10;balloonEarnings = "This balloon value:\n£" + str(round(thisBalloonEarnings, 2))&#10;bankedText = "You have banked:\n£" + str(round(bankedEarnings, 2))&#10;&#10;# set the volume of the pop sound to 1&#10;pop_sound.setVolume(1)&#10;&#10;# play the pop sound&#10;if popped==True:&#10; # if popped, play the balloon sound and show some text&#10; feedbackText="Oops! Lost that one!"&#10; pop_sound.play()&#10;else:&#10; # if not popped show the earnings banked&#10; feedbackText="You banked £" + str(round(lastBalloonEarnings, 2))&#10; " valType="extendedCode" updates="constant" name="Begin Routine"
|
|
525
|
-
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"
|
|
526
|
-
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"
|
|
527
|
-
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"
|
|
528
|
-
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"
|
|
529
|
-
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"
|
|
530
|
-
<Param val="" valType="extendedCode" updates="constant" name="End JS Routine"
|
|
531
|
-
<Param val="" valType="extendedCode" updates="constant" name="End Routine"
|
|
532
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
533
|
-
<Param val="checkPopped" valType="code" updates="None" name="name"
|
|
448
|
+
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"/>
|
|
449
|
+
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"/>
|
|
450
|
+
<Param val="feedbackText=""&#10;" valType="extendedCode" updates="constant" name="Begin Experiment"/>
|
|
451
|
+
<Param val="feedbackText = "";&#10;" valType="extendedCode" updates="constant" name="Begin JS Experiment"/>
|
|
452
|
+
<Param val="bankedEarnings = (bankedEarnings + lastBalloonEarnings);&#10;balloonEarnings = ("This balloon value:\n\u00a3" + util.round(thisBalloonEarnings, 2).toString());&#10;bankedText = ("You have banked:\n\u00a3" + util.round(bankedEarnings, 2).toString());&#10;pop_sound.setVolume(1);&#10;if ((popped === true)) {&#10; feedbackText = "Oops! Lost that one!";&#10; pop_sound.play();&#10;} else {&#10; feedbackText = ("You banked \u00a3" + util.round(lastBalloonEarnings, 2).toString());&#10;}&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"/>
|
|
453
|
+
<Param val="# update the banked earnings with the earnings of the last balloon&#10;bankedEarnings = bankedEarnings+lastBalloonEarnings&#10;&#10;# update the text &#10;balloonEarnings = "This balloon value:\n£" + str(round(thisBalloonEarnings, 2))&#10;bankedText = "You have banked:\n£" + str(round(bankedEarnings, 2))&#10;&#10;# set the volume of the pop sound to 1&#10;pop_sound.setVolume(1)&#10;&#10;# play the pop sound&#10;if popped==True:&#10; # if popped, play the balloon sound and show some text&#10; feedbackText="Oops! Lost that one!"&#10; pop_sound.play()&#10;else:&#10; # if not popped show the earnings banked&#10; feedbackText="You banked £" + str(round(lastBalloonEarnings, 2))&#10; " valType="extendedCode" updates="constant" name="Begin Routine"/>
|
|
454
|
+
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"/>
|
|
455
|
+
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"/>
|
|
456
|
+
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"/>
|
|
457
|
+
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"/>
|
|
458
|
+
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"/>
|
|
459
|
+
<Param val="" valType="extendedCode" updates="constant" name="End JS Routine"/>
|
|
460
|
+
<Param val="" valType="extendedCode" updates="constant" name="End Routine"/>
|
|
461
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
462
|
+
<Param val="checkPopped" valType="code" updates="None" name="name"/>
|
|
534
463
|
</CodeComponent>
|
|
535
464
|
<TextboxComponent name="feedbacktxt" plugin="None">
|
|
536
|
-
<Param val="center" valType="str" updates="constant" name="alignment"
|
|
537
|
-
<Param val="center" valType="str" updates="constant" name="anchor"
|
|
538
|
-
<Param val="True" valType="bool" updates="constant" name="autoLog"
|
|
539
|
-
<Param val="False" valType="bool" updates="constant" name="bold"
|
|
540
|
-
<Param val="
|
|
541
|
-
<Param val="2" valType="num" updates="constant" name="borderWidth"
|
|
542
|
-
<Param val="
|
|
543
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"
|
|
544
|
-
<Param val="1" valType="num" updates="constant" name="contrast"
|
|
545
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
546
|
-
<Param val="" valType="code" updates="
|
|
547
|
-
<Param val="
|
|
548
|
-
<Param val="
|
|
549
|
-
<Param val="
|
|
550
|
-
<Param val="False" valType="bool" updates="constant" name="
|
|
551
|
-
<Param val="
|
|
552
|
-
<Param val="
|
|
553
|
-
<Param val="
|
|
554
|
-
<Param val="
|
|
555
|
-
<Param val="
|
|
556
|
-
<Param val="
|
|
557
|
-
<Param val="" valType="
|
|
558
|
-
<Param val="
|
|
559
|
-
<Param val="
|
|
560
|
-
<Param val="
|
|
561
|
-
<Param val="
|
|
562
|
-
<Param val="
|
|
563
|
-
<Param val="
|
|
564
|
-
<Param val="
|
|
565
|
-
<Param val="" valType="list" updates="constant" name="
|
|
566
|
-
<Param val="" valType="
|
|
567
|
-
<Param val="
|
|
568
|
-
<Param val="
|
|
569
|
-
<Param val="
|
|
570
|
-
<Param val="
|
|
571
|
-
<Param val="
|
|
572
|
-
<Param val="
|
|
573
|
-
<Param val="
|
|
574
|
-
<Param val="" valType="
|
|
465
|
+
<Param val="center" valType="str" updates="constant" name="alignment"/>
|
|
466
|
+
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
467
|
+
<Param val="True" valType="bool" updates="constant" name="autoLog"/>
|
|
468
|
+
<Param val="False" valType="bool" updates="constant" name="bold"/>
|
|
469
|
+
<Param val="" valType="color" updates="constant" name="borderColor"/>
|
|
470
|
+
<Param val="2" valType="num" updates="constant" name="borderWidth"/>
|
|
471
|
+
<Param val="white" valType="color" updates="constant" name="color"/>
|
|
472
|
+
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
473
|
+
<Param val="1" valType="num" updates="constant" name="contrast"/>
|
|
474
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
475
|
+
<Param val="False" valType="code" updates="constant" name="draggable"/>
|
|
476
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
477
|
+
<Param val="False" valType="bool" updates="constant" name="editable"/>
|
|
478
|
+
<Param val="" valType="color" updates="constant" name="fillColor"/>
|
|
479
|
+
<Param val="False" valType="bool" updates="constant" name="flipHoriz"/>
|
|
480
|
+
<Param val="False" valType="bool" updates="constant" name="flipVert"/>
|
|
481
|
+
<Param val="Arial" valType="str" updates="constant" name="font"/>
|
|
482
|
+
<Param val="False" valType="bool" updates="constant" name="italic"/>
|
|
483
|
+
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
|
|
484
|
+
<Param val="0.05" valType="num" updates="constant" name="letterHeight"/>
|
|
485
|
+
<Param val="1.0" valType="num" updates="constant" name="lineSpacing"/>
|
|
486
|
+
<Param val="feedbacktxt" valType="code" updates="None" name="name"/>
|
|
487
|
+
<Param val="1" valType="num" updates="constant" name="opacity"/>
|
|
488
|
+
<Param val="0" valType="num" updates="constant" name="ori"/>
|
|
489
|
+
<Param val="visible" valType="str" updates="constant" name="overflow"/>
|
|
490
|
+
<Param val="0" valType="num" updates="constant" name="padding"/>
|
|
491
|
+
<Param val="Type here..." valType="str" updates="constant" name="placeholder"/>
|
|
492
|
+
<Param val="(0,0)" valType="list" updates="constant" name="pos"/>
|
|
493
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
494
|
+
<Param val="(0.4, 0.2)" valType="list" updates="constant" name="size"/>
|
|
495
|
+
<Param val="" valType="list" updates="constant" name="speechPoint"/>
|
|
496
|
+
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
497
|
+
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
498
|
+
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
499
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
500
|
+
<Param val="1.5" valType="code" updates="constant" name="stopVal"/>
|
|
501
|
+
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
502
|
+
<Param val="$feedbackText" valType="str" updates="set every repeat" name="text"/>
|
|
503
|
+
<Param val="from exp settings" valType="str" updates="None" name="units"/>
|
|
504
|
+
<Param val="" valType="code" updates="None" name="validator"/>
|
|
575
505
|
</TextboxComponent>
|
|
576
506
|
<TextboxComponent name="bankedTxt_2" plugin="None">
|
|
577
|
-
<Param val="center" valType="str" updates="constant" name="alignment"
|
|
578
|
-
<Param val="center" valType="str" updates="constant" name="anchor"
|
|
579
|
-
<Param val="True" valType="bool" updates="constant" name="autoLog"
|
|
580
|
-
<Param val="False" valType="bool" updates="constant" name="bold"
|
|
581
|
-
<Param val="
|
|
582
|
-
<Param val="2" valType="num" updates="constant" name="borderWidth"
|
|
583
|
-
<Param val="
|
|
584
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"
|
|
585
|
-
<Param val="1" valType="num" updates="constant" name="contrast"
|
|
586
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
587
|
-
<Param val="" valType="code" updates="
|
|
588
|
-
<Param val="
|
|
589
|
-
<Param val="
|
|
590
|
-
<Param val="
|
|
591
|
-
<Param val="False" valType="bool" updates="constant" name="
|
|
592
|
-
<Param val="
|
|
593
|
-
<Param val="
|
|
594
|
-
<Param val="
|
|
595
|
-
<Param val="
|
|
596
|
-
<Param val="
|
|
597
|
-
<Param val="
|
|
598
|
-
<Param val="
|
|
599
|
-
<Param val="0" valType="num" updates="constant" name="
|
|
600
|
-
<Param val="
|
|
601
|
-
<Param val="
|
|
602
|
-
<Param val="
|
|
603
|
-
<Param val="
|
|
604
|
-
<Param val="
|
|
605
|
-
<Param val="
|
|
606
|
-
<Param val="" valType="list" updates="constant" name="
|
|
607
|
-
<Param val="" valType="
|
|
608
|
-
<Param val="
|
|
609
|
-
<Param val="
|
|
610
|
-
<Param val="
|
|
611
|
-
<Param val="
|
|
612
|
-
<Param val="
|
|
613
|
-
<Param val="
|
|
614
|
-
<Param val="
|
|
615
|
-
<Param val="" valType="
|
|
507
|
+
<Param val="center" valType="str" updates="constant" name="alignment"/>
|
|
508
|
+
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
509
|
+
<Param val="True" valType="bool" updates="constant" name="autoLog"/>
|
|
510
|
+
<Param val="False" valType="bool" updates="constant" name="bold"/>
|
|
511
|
+
<Param val="" valType="color" updates="constant" name="borderColor"/>
|
|
512
|
+
<Param val="2" valType="num" updates="constant" name="borderWidth"/>
|
|
513
|
+
<Param val="white" valType="color" updates="constant" name="color"/>
|
|
514
|
+
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
515
|
+
<Param val="1" valType="num" updates="constant" name="contrast"/>
|
|
516
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
517
|
+
<Param val="False" valType="code" updates="constant" name="draggable"/>
|
|
518
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
519
|
+
<Param val="False" valType="bool" updates="constant" name="editable"/>
|
|
520
|
+
<Param val="black" valType="color" updates="constant" name="fillColor"/>
|
|
521
|
+
<Param val="False" valType="bool" updates="constant" name="flipHoriz"/>
|
|
522
|
+
<Param val="False" valType="bool" updates="constant" name="flipVert"/>
|
|
523
|
+
<Param val="Arial" valType="str" updates="constant" name="font"/>
|
|
524
|
+
<Param val="False" valType="bool" updates="constant" name="italic"/>
|
|
525
|
+
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
|
|
526
|
+
<Param val="0.03" valType="num" updates="constant" name="letterHeight"/>
|
|
527
|
+
<Param val="1.0" valType="num" updates="constant" name="lineSpacing"/>
|
|
528
|
+
<Param val="bankedTxt_2" valType="code" updates="None" name="name"/>
|
|
529
|
+
<Param val="0.6" valType="num" updates="constant" name="opacity"/>
|
|
530
|
+
<Param val="0" valType="num" updates="constant" name="ori"/>
|
|
531
|
+
<Param val="visible" valType="str" updates="constant" name="overflow"/>
|
|
532
|
+
<Param val="0" valType="num" updates="constant" name="padding"/>
|
|
533
|
+
<Param val="Type here..." valType="str" updates="constant" name="placeholder"/>
|
|
534
|
+
<Param val="(0.4, 0.4)" valType="list" updates="constant" name="pos"/>
|
|
535
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
536
|
+
<Param val="(0.5, 0.2)" valType="list" updates="constant" name="size"/>
|
|
537
|
+
<Param val="" valType="list" updates="constant" name="speechPoint"/>
|
|
538
|
+
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
539
|
+
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
540
|
+
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
541
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
542
|
+
<Param val="1.5" valType="code" updates="constant" name="stopVal"/>
|
|
543
|
+
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
544
|
+
<Param val="$bankedText" valType="str" updates="set every frame" name="text"/>
|
|
545
|
+
<Param val="from exp settings" valType="str" updates="None" name="units"/>
|
|
546
|
+
<Param val="" valType="code" updates="None" name="validator"/>
|
|
616
547
|
</TextboxComponent>
|
|
617
548
|
<TextboxComponent name="balloonValTxt_2" plugin="None">
|
|
618
|
-
<Param val="center" valType="str" updates="constant" name="alignment"
|
|
619
|
-
<Param val="center" valType="str" updates="constant" name="anchor"
|
|
620
|
-
<Param val="True" valType="bool" updates="constant" name="autoLog"
|
|
621
|
-
<Param val="False" valType="bool" updates="constant" name="bold"
|
|
622
|
-
<Param val="
|
|
623
|
-
<Param val="2" valType="num" updates="constant" name="borderWidth"
|
|
624
|
-
<Param val="
|
|
625
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"
|
|
626
|
-
<Param val="1" valType="num" updates="constant" name="contrast"
|
|
627
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
628
|
-
<Param val="" valType="code" updates="
|
|
629
|
-
<Param val="
|
|
630
|
-
<Param val="
|
|
631
|
-
<Param val="
|
|
632
|
-
<Param val="False" valType="bool" updates="constant" name="
|
|
633
|
-
<Param val="
|
|
634
|
-
<Param val="
|
|
635
|
-
<Param val="
|
|
636
|
-
<Param val="
|
|
637
|
-
<Param val="
|
|
638
|
-
<Param val="
|
|
639
|
-
<Param val="
|
|
640
|
-
<Param val="0" valType="num" updates="constant" name="
|
|
641
|
-
<Param val="
|
|
642
|
-
<Param val="
|
|
643
|
-
<Param val="
|
|
644
|
-
<Param val="
|
|
645
|
-
<Param val="
|
|
646
|
-
<Param val="
|
|
647
|
-
<Param val="" valType="list" updates="constant" name="
|
|
648
|
-
<Param val="" valType="
|
|
649
|
-
<Param val="
|
|
650
|
-
<Param val="
|
|
651
|
-
<Param val="
|
|
652
|
-
<Param val="
|
|
653
|
-
<Param val="
|
|
654
|
-
<Param val="
|
|
655
|
-
<Param val="
|
|
656
|
-
<Param val="" valType="
|
|
549
|
+
<Param val="center" valType="str" updates="constant" name="alignment"/>
|
|
550
|
+
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
551
|
+
<Param val="True" valType="bool" updates="constant" name="autoLog"/>
|
|
552
|
+
<Param val="False" valType="bool" updates="constant" name="bold"/>
|
|
553
|
+
<Param val="" valType="color" updates="constant" name="borderColor"/>
|
|
554
|
+
<Param val="2" valType="num" updates="constant" name="borderWidth"/>
|
|
555
|
+
<Param val="white" valType="color" updates="constant" name="color"/>
|
|
556
|
+
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
557
|
+
<Param val="1" valType="num" updates="constant" name="contrast"/>
|
|
558
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
559
|
+
<Param val="False" valType="code" updates="constant" name="draggable"/>
|
|
560
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
561
|
+
<Param val="False" valType="bool" updates="constant" name="editable"/>
|
|
562
|
+
<Param val="black" valType="color" updates="constant" name="fillColor"/>
|
|
563
|
+
<Param val="False" valType="bool" updates="constant" name="flipHoriz"/>
|
|
564
|
+
<Param val="False" valType="bool" updates="constant" name="flipVert"/>
|
|
565
|
+
<Param val="Arial" valType="str" updates="constant" name="font"/>
|
|
566
|
+
<Param val="False" valType="bool" updates="constant" name="italic"/>
|
|
567
|
+
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
|
|
568
|
+
<Param val="0.03" valType="num" updates="constant" name="letterHeight"/>
|
|
569
|
+
<Param val="1.0" valType="num" updates="constant" name="lineSpacing"/>
|
|
570
|
+
<Param val="balloonValTxt_2" valType="code" updates="None" name="name"/>
|
|
571
|
+
<Param val="0.6" valType="num" updates="constant" name="opacity"/>
|
|
572
|
+
<Param val="0" valType="num" updates="constant" name="ori"/>
|
|
573
|
+
<Param val="visible" valType="str" updates="constant" name="overflow"/>
|
|
574
|
+
<Param val="0" valType="num" updates="constant" name="padding"/>
|
|
575
|
+
<Param val="Type here..." valType="str" updates="constant" name="placeholder"/>
|
|
576
|
+
<Param val="(-0.4, 0.4)" valType="list" updates="constant" name="pos"/>
|
|
577
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
578
|
+
<Param val="(0.5, 0.2)" valType="list" updates="constant" name="size"/>
|
|
579
|
+
<Param val="" valType="list" updates="constant" name="speechPoint"/>
|
|
580
|
+
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
581
|
+
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
582
|
+
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
583
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
584
|
+
<Param val="1.5" valType="code" updates="constant" name="stopVal"/>
|
|
585
|
+
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
586
|
+
<Param val="$balloonEarnings" valType="str" updates="set every frame" name="text"/>
|
|
587
|
+
<Param val="from exp settings" valType="str" updates="None" name="units"/>
|
|
588
|
+
<Param val="" valType="code" updates="None" name="validator"/>
|
|
657
589
|
</TextboxComponent>
|
|
658
590
|
<TextboxComponent name="reminder_2" plugin="None">
|
|
659
|
-
<Param val="center" valType="str" updates="constant" name="alignment"
|
|
660
|
-
<Param val="center" valType="str" updates="constant" name="anchor"
|
|
661
|
-
<Param val="True" valType="bool" updates="constant" name="autoLog"
|
|
662
|
-
<Param val="False" valType="bool" updates="constant" name="bold"
|
|
663
|
-
<Param val="
|
|
664
|
-
<Param val="2" valType="num" updates="constant" name="borderWidth"
|
|
665
|
-
<Param val="
|
|
666
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"
|
|
667
|
-
<Param val="1" valType="num" updates="constant" name="contrast"
|
|
668
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
669
|
-
<Param val="" valType="code" updates="
|
|
670
|
-
<Param val="
|
|
671
|
-
<Param val="
|
|
672
|
-
<Param val="
|
|
673
|
-
<Param val="False" valType="bool" updates="constant" name="
|
|
674
|
-
<Param val="
|
|
675
|
-
<Param val="
|
|
676
|
-
<Param val="
|
|
677
|
-
<Param val="
|
|
678
|
-
<Param val="
|
|
679
|
-
<Param val="
|
|
680
|
-
<Param val="
|
|
681
|
-
<Param val="0" valType="num" updates="constant" name="
|
|
682
|
-
<Param val="
|
|
683
|
-
<Param val="
|
|
684
|
-
<Param val="
|
|
685
|
-
<Param val="
|
|
686
|
-
<Param val="
|
|
687
|
-
<Param val="
|
|
688
|
-
<Param val="" valType="list" updates="constant" name="
|
|
689
|
-
<Param val="" valType="
|
|
690
|
-
<Param val="
|
|
691
|
-
<Param val="
|
|
692
|
-
<Param val="
|
|
693
|
-
<Param val="
|
|
694
|
-
<Param val="
|
|
695
|
-
<Param val="
|
|
696
|
-
<Param val="
|
|
697
|
-
<Param val="" valType="
|
|
591
|
+
<Param val="center" valType="str" updates="constant" name="alignment"/>
|
|
592
|
+
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
593
|
+
<Param val="True" valType="bool" updates="constant" name="autoLog"/>
|
|
594
|
+
<Param val="False" valType="bool" updates="constant" name="bold"/>
|
|
595
|
+
<Param val="" valType="color" updates="constant" name="borderColor"/>
|
|
596
|
+
<Param val="2" valType="num" updates="constant" name="borderWidth"/>
|
|
597
|
+
<Param val="white" valType="color" updates="constant" name="color"/>
|
|
598
|
+
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
599
|
+
<Param val="1" valType="num" updates="constant" name="contrast"/>
|
|
600
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
601
|
+
<Param val="False" valType="code" updates="constant" name="draggable"/>
|
|
602
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
603
|
+
<Param val="False" valType="bool" updates="constant" name="editable"/>
|
|
604
|
+
<Param val="black" valType="color" updates="constant" name="fillColor"/>
|
|
605
|
+
<Param val="False" valType="bool" updates="constant" name="flipHoriz"/>
|
|
606
|
+
<Param val="False" valType="bool" updates="constant" name="flipVert"/>
|
|
607
|
+
<Param val="Arial" valType="str" updates="constant" name="font"/>
|
|
608
|
+
<Param val="False" valType="bool" updates="constant" name="italic"/>
|
|
609
|
+
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
|
|
610
|
+
<Param val="0.03" valType="num" updates="constant" name="letterHeight"/>
|
|
611
|
+
<Param val="1.0" valType="num" updates="constant" name="lineSpacing"/>
|
|
612
|
+
<Param val="reminder_2" valType="code" updates="None" name="name"/>
|
|
613
|
+
<Param val="0.6" valType="num" updates="constant" name="opacity"/>
|
|
614
|
+
<Param val="0" valType="num" updates="constant" name="ori"/>
|
|
615
|
+
<Param val="visible" valType="str" updates="constant" name="overflow"/>
|
|
616
|
+
<Param val="0" valType="num" updates="constant" name="padding"/>
|
|
617
|
+
<Param val="Type here..." valType="str" updates="constant" name="placeholder"/>
|
|
618
|
+
<Param val="(-0.4, -0.3)" valType="list" updates="constant" name="pos"/>
|
|
619
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
620
|
+
<Param val="(0.5, 0.2)" valType="list" updates="constant" name="size"/>
|
|
621
|
+
<Param val="" valType="list" updates="constant" name="speechPoint"/>
|
|
622
|
+
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
623
|
+
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
624
|
+
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
625
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
626
|
+
<Param val="1.5" valType="code" updates="constant" name="stopVal"/>
|
|
627
|
+
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
628
|
+
<Param val="Press SPACE to pump the balloon&#10;Press RETURN to bank this sum" valType="str" updates="constant" name="text"/>
|
|
629
|
+
<Param val="from exp settings" valType="str" updates="None" name="units"/>
|
|
630
|
+
<Param val="" valType="code" updates="None" name="validator"/>
|
|
698
631
|
</TextboxComponent>
|
|
699
632
|
<TextboxComponent name="trialcount_2" plugin="None">
|
|
700
|
-
<Param val="center" valType="str" updates="constant" name="alignment"
|
|
701
|
-
<Param val="center" valType="str" updates="constant" name="anchor"
|
|
702
|
-
<Param val="True" valType="bool" updates="constant" name="autoLog"
|
|
703
|
-
<Param val="False" valType="bool" updates="constant" name="bold"
|
|
704
|
-
<Param val="
|
|
705
|
-
<Param val="2" valType="num" updates="constant" name="borderWidth"
|
|
706
|
-
<Param val="
|
|
707
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"
|
|
708
|
-
<Param val="1" valType="num" updates="constant" name="contrast"
|
|
709
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
710
|
-
<Param val="" valType="code" updates="
|
|
711
|
-
<Param val="
|
|
712
|
-
<Param val="
|
|
713
|
-
<Param val="
|
|
714
|
-
<Param val="False" valType="bool" updates="constant" name="
|
|
715
|
-
<Param val="
|
|
716
|
-
<Param val="
|
|
717
|
-
<Param val="
|
|
718
|
-
<Param val="
|
|
719
|
-
<Param val="
|
|
720
|
-
<Param val="
|
|
721
|
-
<Param val="
|
|
722
|
-
<Param val="0" valType="num" updates="constant" name="
|
|
723
|
-
<Param val="
|
|
724
|
-
<Param val="
|
|
725
|
-
<Param val="
|
|
726
|
-
<Param val="
|
|
727
|
-
<Param val="
|
|
728
|
-
<Param val="
|
|
729
|
-
<Param val="" valType="list" updates="constant" name="
|
|
730
|
-
<Param val="" valType="
|
|
731
|
-
<Param val="
|
|
732
|
-
<Param val="
|
|
733
|
-
<Param val="
|
|
734
|
-
<Param val="
|
|
735
|
-
<Param val="
|
|
736
|
-
<Param val="
|
|
737
|
-
<Param val="
|
|
738
|
-
<Param val="" valType="
|
|
633
|
+
<Param val="center" valType="str" updates="constant" name="alignment"/>
|
|
634
|
+
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
635
|
+
<Param val="True" valType="bool" updates="constant" name="autoLog"/>
|
|
636
|
+
<Param val="False" valType="bool" updates="constant" name="bold"/>
|
|
637
|
+
<Param val="" valType="color" updates="constant" name="borderColor"/>
|
|
638
|
+
<Param val="2" valType="num" updates="constant" name="borderWidth"/>
|
|
639
|
+
<Param val="white" valType="color" updates="constant" name="color"/>
|
|
640
|
+
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
641
|
+
<Param val="1" valType="num" updates="constant" name="contrast"/>
|
|
642
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
643
|
+
<Param val="False" valType="code" updates="constant" name="draggable"/>
|
|
644
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
645
|
+
<Param val="False" valType="bool" updates="constant" name="editable"/>
|
|
646
|
+
<Param val="black" valType="color" updates="constant" name="fillColor"/>
|
|
647
|
+
<Param val="False" valType="bool" updates="constant" name="flipHoriz"/>
|
|
648
|
+
<Param val="False" valType="bool" updates="constant" name="flipVert"/>
|
|
649
|
+
<Param val="Arial" valType="str" updates="constant" name="font"/>
|
|
650
|
+
<Param val="False" valType="bool" updates="constant" name="italic"/>
|
|
651
|
+
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
|
|
652
|
+
<Param val="0.03" valType="num" updates="constant" name="letterHeight"/>
|
|
653
|
+
<Param val="1.0" valType="num" updates="constant" name="lineSpacing"/>
|
|
654
|
+
<Param val="trialcount_2" valType="code" updates="None" name="name"/>
|
|
655
|
+
<Param val="0.6" valType="num" updates="constant" name="opacity"/>
|
|
656
|
+
<Param val="0" valType="num" updates="constant" name="ori"/>
|
|
657
|
+
<Param val="visible" valType="str" updates="constant" name="overflow"/>
|
|
658
|
+
<Param val="0" valType="num" updates="constant" name="padding"/>
|
|
659
|
+
<Param val="Type here..." valType="str" updates="constant" name="placeholder"/>
|
|
660
|
+
<Param val="(0.4, -0.3)" valType="list" updates="constant" name="pos"/>
|
|
661
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
662
|
+
<Param val="(0.5, 0.2)" valType="list" updates="constant" name="size"/>
|
|
663
|
+
<Param val="" valType="list" updates="constant" name="speechPoint"/>
|
|
664
|
+
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
665
|
+
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
666
|
+
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
667
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
668
|
+
<Param val="1.5" valType="code" updates="constant" name="stopVal"/>
|
|
669
|
+
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
670
|
+
<Param val="$'Ballon number: ' + str(trials.thisN+1) +'/' + str(trials.nTotal)" valType="str" updates="set every repeat" name="text"/>
|
|
671
|
+
<Param val="from exp settings" valType="str" updates="None" name="units"/>
|
|
672
|
+
<Param val="" valType="code" updates="None" name="validator"/>
|
|
739
673
|
</TextboxComponent>
|
|
740
674
|
</Routine>
|
|
741
675
|
<Routine name="instructions">
|
|
742
676
|
<RoutineSettingsComponent name="instructions" plugin="None">
|
|
743
|
-
<Param val="none" valType="str" updates="None" name="backgroundFit"
|
|
744
|
-
<Param val="" valType="str" updates="None" name="backgroundImg"
|
|
745
|
-
<Param val="$[0,0,0]" valType="color" updates="None" name="color"
|
|
746
|
-
<Param val="rgb" valType="str" updates="None" name="colorSpace"
|
|
747
|
-
<Param val="" valType="str" updates="constant" name="desc"
|
|
748
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
749
|
-
<Param val="" valType="code" updates="None" name="durationEstim"
|
|
750
|
-
<Param val="
|
|
751
|
-
<Param val="
|
|
752
|
-
<Param val="" valType="
|
|
753
|
-
<Param val="
|
|
754
|
-
<Param val="" valType="
|
|
755
|
-
<Param val="
|
|
677
|
+
<Param val="none" valType="str" updates="None" name="backgroundFit"/>
|
|
678
|
+
<Param val="" valType="str" updates="None" name="backgroundImg"/>
|
|
679
|
+
<Param val="$[0,0,0]" valType="color" updates="None" name="color"/>
|
|
680
|
+
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
|
|
681
|
+
<Param val="" valType="str" updates="constant" name="desc"/>
|
|
682
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
683
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
684
|
+
<Param val="False" valType="code" updates="None" name="forceNonSlip"/>
|
|
685
|
+
<Param val="instructions" valType="code" updates="None" name="name"/>
|
|
686
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
687
|
+
<Param val="" valType="code" updates="constant" name="skipIf"/>
|
|
688
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
689
|
+
<Param val="" valType="code" updates="constant" name="stopVal"/>
|
|
690
|
+
<Param val="False" valType="bool" updates="None" name="useWindowParams"/>
|
|
756
691
|
</RoutineSettingsComponent>
|
|
757
|
-
<ImageComponent name="background" plugin="None">
|
|
758
|
-
<Param val="center" valType="str" updates="constant" name="anchor" />
|
|
759
|
-
<Param val="$[1,1,1]" valType="color" updates="constant" name="color" />
|
|
760
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace" />
|
|
761
|
-
<Param val="1" valType="num" updates="constant" name="contrast" />
|
|
762
|
-
<Param val="False" valType="bool" updates="None" name="disabled" />
|
|
763
|
-
<Param val="" valType="code" updates="None" name="durationEstim" />
|
|
764
|
-
<Param val="False" valType="bool" updates="constant" name="flipHoriz" />
|
|
765
|
-
<Param val="False" valType="bool" updates="constant" name="flipVert" />
|
|
766
|
-
<Param val="assets/background.png" valType="file" updates="constant" name="image" />
|
|
767
|
-
<Param val="linear" valType="str" updates="constant" name="interpolate" />
|
|
768
|
-
<Param val="" valType="str" updates="constant" name="mask" />
|
|
769
|
-
<Param val="background" valType="code" updates="None" name="name" />
|
|
770
|
-
<Param val="" valType="num" updates="constant" name="opacity" />
|
|
771
|
-
<Param val="0" valType="num" updates="constant" name="ori" />
|
|
772
|
-
<Param val="(0, 0)" valType="list" updates="constant" name="pos" />
|
|
773
|
-
<Param val="True" valType="bool" updates="None" name="saveStartStop" />
|
|
774
|
-
<Param val="(2.2, 1)" valType="list" updates="constant" name="size" />
|
|
775
|
-
<Param val="" valType="code" updates="None" name="startEstim" />
|
|
776
|
-
<Param val="time (s)" valType="str" updates="None" name="startType" />
|
|
777
|
-
<Param val="0.0" valType="code" updates="None" name="startVal" />
|
|
778
|
-
<Param val="duration (s)" valType="str" updates="None" name="stopType" />
|
|
779
|
-
<Param val="" valType="code" updates="constant" name="stopVal" />
|
|
780
|
-
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh" />
|
|
781
|
-
<Param val="128" valType="num" updates="constant" name="texture resolution" />
|
|
782
|
-
<Param val="from exp settings" valType="str" updates="None" name="units" />
|
|
783
|
-
<Param val="" valType="code" updates="None" name="validator" />
|
|
784
|
-
</ImageComponent>
|
|
785
692
|
<KeyboardComponent name="resp" plugin="None">
|
|
786
|
-
<Param val="'space'" valType="list" updates="constant" name="allowedKeys"
|
|
787
|
-
<Param val="" valType="str" updates="constant" name="correctAns"
|
|
788
|
-
<Param val="" valType="str" updates="None" name="deviceLabel"
|
|
789
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
790
|
-
<Param val="True" valType="bool" updates="constant" name="discard previous"
|
|
791
|
-
<Param val="" valType="code" updates="None" name="durationEstim"
|
|
792
|
-
<Param val="True" valType="bool" updates="constant" name="forceEndRoutine"
|
|
793
|
-
<Param val="resp" valType="code" updates="None" name="name"
|
|
794
|
-
<Param val="press" valType="str" updates="constant" name="registerOn"
|
|
795
|
-
<Param val="True" valType="bool" updates="None" name="saveStartStop"
|
|
796
|
-
<Param val="" valType="code" updates="None" name="startEstim"
|
|
797
|
-
<Param val="time (s)" valType="str" updates="None" name="startType"
|
|
798
|
-
<Param val="0.0" valType="code" updates="None" name="startVal"
|
|
799
|
-
<Param val="duration (s)" valType="str" updates="None" name="stopType"
|
|
800
|
-
<Param val="" valType="code" updates="constant" name="stopVal"
|
|
801
|
-
<Param val="nothing" valType="str" updates="constant" name="store"
|
|
802
|
-
<Param val="False" valType="bool" updates="constant" name="storeCorrect"
|
|
803
|
-
<Param val="True" valType="bool" updates="constant" name="syncScreenRefresh"
|
|
693
|
+
<Param val="'space'" valType="list" updates="constant" name="allowedKeys"/>
|
|
694
|
+
<Param val="" valType="str" updates="constant" name="correctAns"/>
|
|
695
|
+
<Param val="" valType="str" updates="None" name="deviceLabel"/>
|
|
696
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
697
|
+
<Param val="True" valType="bool" updates="constant" name="discard previous"/>
|
|
698
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
699
|
+
<Param val="True" valType="bool" updates="constant" name="forceEndRoutine"/>
|
|
700
|
+
<Param val="resp" valType="code" updates="None" name="name"/>
|
|
701
|
+
<Param val="press" valType="str" updates="constant" name="registerOn"/>
|
|
702
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
703
|
+
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
704
|
+
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
705
|
+
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
706
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
707
|
+
<Param val="" valType="code" updates="constant" name="stopVal"/>
|
|
708
|
+
<Param val="nothing" valType="str" updates="constant" name="store"/>
|
|
709
|
+
<Param val="False" valType="bool" updates="constant" name="storeCorrect"/>
|
|
710
|
+
<Param val="True" valType="bool" updates="constant" name="syncScreenRefresh"/>
|
|
804
711
|
</KeyboardComponent>
|
|
805
712
|
<TextboxComponent name="instrtxt" plugin="None">
|
|
806
|
-
<Param val="center" valType="str" updates="constant" name="alignment"
|
|
807
|
-
<Param val="center" valType="str" updates="constant" name="anchor"
|
|
808
|
-
<Param val="True" valType="bool" updates="constant" name="autoLog"
|
|
809
|
-
<Param val="False" valType="bool" updates="constant" name="bold"
|
|
810
|
-
<Param val="
|
|
811
|
-
<Param val="2" valType="num" updates="constant" name="borderWidth"
|
|
812
|
-
<Param val="
|
|
813
|
-
<Param val="rgb" valType="str" updates="constant" name="colorSpace"
|
|
814
|
-
<Param val="1" valType="num" updates="constant" name="contrast"
|
|
815
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
816
|
-
<Param val="" valType="code" updates="
|
|
817
|
-
<Param val="
|
|
818
|
-
<Param val="
|
|
819
|
-
<Param val="
|
|
820
|
-
<Param val="False" valType="bool" updates="constant" name="
|
|
821
|
-
<Param val="
|
|
822
|
-
<Param val="
|
|
823
|
-
<Param val="
|
|
824
|
-
<Param val="
|
|
825
|
-
<Param val="
|
|
826
|
-
<Param val="
|
|
827
|
-
<Param val="
|
|
828
|
-
<Param val="0" valType="num" updates="constant" name="
|
|
829
|
-
<Param val="
|
|
830
|
-
<Param val="
|
|
831
|
-
<Param val="
|
|
832
|
-
<Param val="
|
|
833
|
-
<Param val="
|
|
834
|
-
<Param val="
|
|
835
|
-
<Param val="" valType="list" updates="constant" name="
|
|
836
|
-
<Param val="" valType="
|
|
837
|
-
<Param val="
|
|
838
|
-
<Param val="
|
|
839
|
-
<Param val="
|
|
840
|
-
<Param val="" valType="
|
|
841
|
-
<Param val="
|
|
842
|
-
<Param val="
|
|
843
|
-
<Param val="
|
|
844
|
-
<Param val="" valType="
|
|
713
|
+
<Param val="center" valType="str" updates="constant" name="alignment"/>
|
|
714
|
+
<Param val="center" valType="str" updates="constant" name="anchor"/>
|
|
715
|
+
<Param val="True" valType="bool" updates="constant" name="autoLog"/>
|
|
716
|
+
<Param val="False" valType="bool" updates="constant" name="bold"/>
|
|
717
|
+
<Param val="" valType="color" updates="constant" name="borderColor"/>
|
|
718
|
+
<Param val="2" valType="num" updates="constant" name="borderWidth"/>
|
|
719
|
+
<Param val="white" valType="color" updates="constant" name="color"/>
|
|
720
|
+
<Param val="rgb" valType="str" updates="constant" name="colorSpace"/>
|
|
721
|
+
<Param val="1" valType="num" updates="constant" name="contrast"/>
|
|
722
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
723
|
+
<Param val="False" valType="code" updates="constant" name="draggable"/>
|
|
724
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
725
|
+
<Param val="False" valType="bool" updates="constant" name="editable"/>
|
|
726
|
+
<Param val="black" valType="color" updates="constant" name="fillColor"/>
|
|
727
|
+
<Param val="False" valType="bool" updates="constant" name="flipHoriz"/>
|
|
728
|
+
<Param val="False" valType="bool" updates="constant" name="flipVert"/>
|
|
729
|
+
<Param val="Arial" valType="str" updates="constant" name="font"/>
|
|
730
|
+
<Param val="False" valType="bool" updates="constant" name="italic"/>
|
|
731
|
+
<Param val="LTR" valType="str" updates="None" name="languageStyle"/>
|
|
732
|
+
<Param val="0.04" valType="num" updates="constant" name="letterHeight"/>
|
|
733
|
+
<Param val="1.0" valType="num" updates="constant" name="lineSpacing"/>
|
|
734
|
+
<Param val="instrtxt" valType="code" updates="None" name="name"/>
|
|
735
|
+
<Param val="0.6" valType="num" updates="constant" name="opacity"/>
|
|
736
|
+
<Param val="0" valType="num" updates="constant" name="ori"/>
|
|
737
|
+
<Param val="visible" valType="str" updates="constant" name="overflow"/>
|
|
738
|
+
<Param val="0.1" valType="num" updates="constant" name="padding"/>
|
|
739
|
+
<Param val="Type here..." valType="str" updates="constant" name="placeholder"/>
|
|
740
|
+
<Param val="(0, 0)" valType="list" updates="constant" name="pos"/>
|
|
741
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
742
|
+
<Param val="(1, 1)" valType="list" updates="constant" name="size"/>
|
|
743
|
+
<Param val="" valType="list" updates="constant" name="speechPoint"/>
|
|
744
|
+
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
745
|
+
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
746
|
+
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
747
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
748
|
+
<Param val="" valType="code" updates="constant" name="stopVal"/>
|
|
749
|
+
<Param val="True" valType="bool" updates="None" name="syncScreenRefresh"/>
|
|
750
|
+
<Param val="This is a game where you have to optimise your earnings in a balloon pumping competition.&#10;&#10;You get prize money for each balloon you pump up, according to its size. But if you pump it too far it will pop and you'll get nothing for that balloon.&#10;&#10;Balloons differ in their maximum size - they can occasionally reach to almost the size of the screen but most will pop well before that.&#10;&#10;Press&#10; SPACE to pump the balloon&#10; RETURN to bank the cash for this balloon and move onto the next" valType="str" updates="constant" name="text"/>
|
|
751
|
+
<Param val="from exp settings" valType="str" updates="None" name="units"/>
|
|
752
|
+
<Param val="" valType="code" updates="None" name="validator"/>
|
|
845
753
|
</TextboxComponent>
|
|
846
754
|
<SoundComponent name="pop_sound" plugin="None">
|
|
847
|
-
<Param val="" valType="str" updates="None" name="deviceLabel"
|
|
848
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
849
|
-
<Param val="" valType="code" updates="None" name="durationEstim"
|
|
850
|
-
<Param val="
|
|
851
|
-
<Param val="
|
|
852
|
-
<Param val="
|
|
853
|
-
<Param val="
|
|
854
|
-
<Param val="
|
|
855
|
-
<Param val="" valType="
|
|
856
|
-
<Param val="
|
|
857
|
-
<Param val="
|
|
858
|
-
<Param val="
|
|
859
|
-
<Param val="
|
|
860
|
-
<Param val="
|
|
861
|
-
<Param val="
|
|
862
|
-
<Param val="0" valType="
|
|
755
|
+
<Param val="" valType="str" updates="None" name="deviceLabel"/>
|
|
756
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
757
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
758
|
+
<Param val="False" valType="bool" updates="constant" name="forceEndRoutine"/>
|
|
759
|
+
<Param val="True" valType="bool" updates="constant" name="hamming"/>
|
|
760
|
+
<Param val="1" valType="code" updates="None" name="latencyClass"/>
|
|
761
|
+
<Param val="pop_sound" valType="code" updates="None" name="name"/>
|
|
762
|
+
<Param val="True" valType="str" updates="None" name="resample"/>
|
|
763
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
764
|
+
<Param val="assets/bang.wav" valType="str" updates="constant" name="sound"/>
|
|
765
|
+
<Param val="-1" valType="code" updates="None" name="speakerIndex"/>
|
|
766
|
+
<Param val="" valType="code" updates="None" name="startEstim"/>
|
|
767
|
+
<Param val="time (s)" valType="str" updates="None" name="startType"/>
|
|
768
|
+
<Param val="0.0" valType="code" updates="None" name="startVal"/>
|
|
769
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
770
|
+
<Param val="1.0" valType="code" updates="constant" name="stopVal"/>
|
|
771
|
+
<Param val="True" valType="bool" updates="constant" name="stopWithRoutine"/>
|
|
772
|
+
<Param val="True" valType="bool" updates="constant" name="syncScreenRefresh"/>
|
|
773
|
+
<Param val="" valType="code" updates="None" name="validator"/>
|
|
774
|
+
<Param val="0" valType="num" updates="constant" name="volume"/>
|
|
863
775
|
</SoundComponent>
|
|
864
776
|
</Routine>
|
|
865
777
|
<Routine name="reset_balloon">
|
|
866
778
|
<RoutineSettingsComponent name="reset_balloon" plugin="None">
|
|
867
|
-
<Param val="none" valType="str" updates="None" name="backgroundFit"
|
|
868
|
-
<Param val="" valType="str" updates="None" name="backgroundImg"
|
|
869
|
-
<Param val="$[0,0,0]" valType="color" updates="None" name="color"
|
|
870
|
-
<Param val="rgb" valType="str" updates="None" name="colorSpace"
|
|
871
|
-
<Param val="" valType="str" updates="constant" name="desc"
|
|
872
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
873
|
-
<Param val="" valType="code" updates="None" name="durationEstim"
|
|
874
|
-
<Param val="
|
|
875
|
-
<Param val="
|
|
876
|
-
<Param val="" valType="
|
|
877
|
-
<Param val="
|
|
878
|
-
<Param val="" valType="
|
|
879
|
-
<Param val="
|
|
779
|
+
<Param val="none" valType="str" updates="None" name="backgroundFit"/>
|
|
780
|
+
<Param val="" valType="str" updates="None" name="backgroundImg"/>
|
|
781
|
+
<Param val="$[0,0,0]" valType="color" updates="None" name="color"/>
|
|
782
|
+
<Param val="rgb" valType="str" updates="None" name="colorSpace"/>
|
|
783
|
+
<Param val="" valType="str" updates="constant" name="desc"/>
|
|
784
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
785
|
+
<Param val="" valType="code" updates="None" name="durationEstim"/>
|
|
786
|
+
<Param val="False" valType="code" updates="None" name="forceNonSlip"/>
|
|
787
|
+
<Param val="reset_balloon" valType="code" updates="None" name="name"/>
|
|
788
|
+
<Param val="True" valType="bool" updates="None" name="saveStartStop"/>
|
|
789
|
+
<Param val="" valType="code" updates="constant" name="skipIf"/>
|
|
790
|
+
<Param val="duration (s)" valType="str" updates="None" name="stopType"/>
|
|
791
|
+
<Param val="" valType="code" updates="constant" name="stopVal"/>
|
|
792
|
+
<Param val="False" valType="bool" updates="None" name="useWindowParams"/>
|
|
880
793
|
</RoutineSettingsComponent>
|
|
881
794
|
<CodeComponent name="code" plugin="None">
|
|
882
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"
|
|
883
|
-
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"
|
|
884
|
-
<Param val="" valType="extendedCode" updates="constant" name="Begin Experiment"
|
|
885
|
-
<Param val="" valType="extendedCode" updates="constant" name="Begin JS Experiment"
|
|
886
|
-
<Param val="balloonSize = 0.08;&#10;popped = false;&#10;nPumps = 0;&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"
|
|
887
|
-
<Param val="# the starting size of the balloon in height units&#10;balloonSize=0.08&#10;&#10;# has the balloon popped? starts at false&#10;popped=False&#10;&#10;# how many pumps have taken place? (starts at 0)&#10;nPumps=0" valType="extendedCode" updates="constant" name="Begin Routine"
|
|
888
|
-
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"
|
|
889
|
-
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"
|
|
890
|
-
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"
|
|
891
|
-
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"
|
|
892
|
-
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"
|
|
893
|
-
<Param val="" valType="extendedCode" updates="constant" name="End JS Routine"
|
|
894
|
-
<Param val="" valType="extendedCode" updates="constant" name="End Routine"
|
|
895
|
-
<Param val="False" valType="bool" updates="None" name="disabled"
|
|
896
|
-
<Param val="code" valType="code" updates="None" name="name"
|
|
795
|
+
<Param val="" valType="extendedCode" updates="constant" name="Before Experiment"/>
|
|
796
|
+
<Param val="" valType="extendedCode" updates="constant" name="Before JS Experiment"/>
|
|
797
|
+
<Param val="" valType="extendedCode" updates="constant" name="Begin Experiment"/>
|
|
798
|
+
<Param val="" valType="extendedCode" updates="constant" name="Begin JS Experiment"/>
|
|
799
|
+
<Param val="balloonSize = 0.08;&#10;popped = false;&#10;nPumps = 0;&#10;" valType="extendedCode" updates="constant" name="Begin JS Routine"/>
|
|
800
|
+
<Param val="# the starting size of the balloon in height units&#10;balloonSize=0.08&#10;&#10;# has the balloon popped? starts at false&#10;popped=False&#10;&#10;# how many pumps have taken place? (starts at 0)&#10;nPumps=0" valType="extendedCode" updates="constant" name="Begin Routine"/>
|
|
801
|
+
<Param val="Auto->JS" valType="str" updates="None" name="Code Type"/>
|
|
802
|
+
<Param val="" valType="extendedCode" updates="constant" name="Each Frame"/>
|
|
803
|
+
<Param val="" valType="extendedCode" updates="constant" name="Each JS Frame"/>
|
|
804
|
+
<Param val="" valType="extendedCode" updates="constant" name="End Experiment"/>
|
|
805
|
+
<Param val="" valType="extendedCode" updates="constant" name="End JS Experiment"/>
|
|
806
|
+
<Param val="" valType="extendedCode" updates="constant" name="End JS Routine"/>
|
|
807
|
+
<Param val="" valType="extendedCode" updates="constant" name="End Routine"/>
|
|
808
|
+
<Param val="False" valType="bool" updates="None" name="disabled"/>
|
|
809
|
+
<Param val="code" valType="code" updates="None" name="name"/>
|
|
897
810
|
</CodeComponent>
|
|
898
811
|
</Routine>
|
|
899
812
|
</Routines>
|
|
900
813
|
<Flow>
|
|
901
|
-
<Routine name="instructions"
|
|
814
|
+
<Routine name="instructions"/>
|
|
902
815
|
<LoopInitiator loopType="TrialHandler" name="trials">
|
|
903
|
-
<Param name="Selected rows" updates="None" val="" valType="str"
|
|
904
|
-
<Param name="conditions" updates="None" val="[{'maxPumps': 2}, {'maxPumps': 8}, {'maxPumps': 14}, {'maxPumps': 20}, {'maxPumps': 26}, {'maxPumps': 32}, {'maxPumps': 38}, {'maxPumps': 44}, {'maxPumps': 50}, {'maxPumps': 56}, {'maxPumps': 62}, {'maxPumps': 68}, {'maxPumps': 74}, {'maxPumps': 80}, {'maxPumps': 86}, {'maxPumps': 92}, {'maxPumps': 98}, {'maxPumps': 104}, {'maxPumps': 110}, {'maxPumps': 116}]" valType="str"
|
|
905
|
-
<Param name="conditionsFile" updates="None" val="spreadsheets/conditions.xlsx" valType="str"
|
|
906
|
-
<Param name="endPoints" updates="None" val="[0, 1]" valType="num"
|
|
907
|
-
<Param name="isTrials" updates="None" val="True" valType="bool"
|
|
908
|
-
<Param name="loopType" updates="None" val="random" valType="str"
|
|
909
|
-
<Param name="nReps" updates="None" val="1" valType="num"
|
|
910
|
-
<Param name="name" updates="None" val="trials" valType="code"
|
|
911
|
-
<Param name="random seed" updates="None" val="1832" valType="code"
|
|
816
|
+
<Param name="Selected rows" updates="None" val="" valType="str"/>
|
|
817
|
+
<Param name="conditions" updates="None" val="[{'maxPumps': 2}, {'maxPumps': 8}, {'maxPumps': 14}, {'maxPumps': 20}, {'maxPumps': 26}, {'maxPumps': 32}, {'maxPumps': 38}, {'maxPumps': 44}, {'maxPumps': 50}, {'maxPumps': 56}, {'maxPumps': 62}, {'maxPumps': 68}, {'maxPumps': 74}, {'maxPumps': 80}, {'maxPumps': 86}, {'maxPumps': 92}, {'maxPumps': 98}, {'maxPumps': 104}, {'maxPumps': 110}, {'maxPumps': 116}]" valType="str"/>
|
|
818
|
+
<Param name="conditionsFile" updates="None" val="spreadsheets/conditions.xlsx" valType="str"/>
|
|
819
|
+
<Param name="endPoints" updates="None" val="[0, 1]" valType="num"/>
|
|
820
|
+
<Param name="isTrials" updates="None" val="True" valType="bool"/>
|
|
821
|
+
<Param name="loopType" updates="None" val="random" valType="str"/>
|
|
822
|
+
<Param name="nReps" updates="None" val="1" valType="num"/>
|
|
823
|
+
<Param name="name" updates="None" val="trials" valType="code"/>
|
|
824
|
+
<Param name="random seed" updates="None" val="1832" valType="code"/>
|
|
912
825
|
</LoopInitiator>
|
|
913
|
-
<Routine name="reset_balloon"
|
|
826
|
+
<Routine name="reset_balloon"/>
|
|
914
827
|
<LoopInitiator loopType="TrialHandler" name="pump">
|
|
915
|
-
<Param name="Selected rows" updates="None" val="" valType="str"
|
|
916
|
-
<Param name="conditions" updates="None" val="None" valType="str"
|
|
917
|
-
<Param name="conditionsFile" updates="None" val="" valType="file"
|
|
918
|
-
<Param name="endPoints" updates="None" val="[0, 1]" valType="num"
|
|
919
|
-
<Param name="isTrials" updates="None" val="False" valType="bool"
|
|
920
|
-
<Param name="loopType" updates="None" val="random" valType="str"
|
|
921
|
-
<Param name="nReps" updates="None" val="maxPumps" valType="num"
|
|
922
|
-
<Param name="name" updates="None" val="pump" valType="code"
|
|
923
|
-
<Param name="random seed" updates="None" val="" valType="code"
|
|
828
|
+
<Param name="Selected rows" updates="None" val="" valType="str"/>
|
|
829
|
+
<Param name="conditions" updates="None" val="None" valType="str"/>
|
|
830
|
+
<Param name="conditionsFile" updates="None" val="" valType="file"/>
|
|
831
|
+
<Param name="endPoints" updates="None" val="[0, 1]" valType="num"/>
|
|
832
|
+
<Param name="isTrials" updates="None" val="False" valType="bool"/>
|
|
833
|
+
<Param name="loopType" updates="None" val="random" valType="str"/>
|
|
834
|
+
<Param name="nReps" updates="None" val="maxPumps" valType="num"/>
|
|
835
|
+
<Param name="name" updates="None" val="pump" valType="code"/>
|
|
836
|
+
<Param name="random seed" updates="None" val="" valType="code"/>
|
|
924
837
|
</LoopInitiator>
|
|
925
|
-
<Routine name="trial"
|
|
926
|
-
<LoopTerminator name="pump"
|
|
927
|
-
<Routine name="feedback"
|
|
928
|
-
<LoopTerminator name="trials"
|
|
929
|
-
<Routine name="finalScore"
|
|
838
|
+
<Routine name="trial"/>
|
|
839
|
+
<LoopTerminator name="pump"/>
|
|
840
|
+
<Routine name="feedback"/>
|
|
841
|
+
<LoopTerminator name="trials"/>
|
|
842
|
+
<Routine name="finalScore"/>
|
|
930
843
|
</Flow>
|
|
931
|
-
</PsychoPy2experiment>
|
|
844
|
+
</PsychoPy2experiment>
|