psychopy 2024.2.4__py3-none-any.whl → 2024.2.5__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.

Files changed (63) hide show
  1. psychopy/.DS_Store +0 -0
  2. psychopy/CHANGELOG.txt +204 -0
  3. psychopy/GIT_SHA +1 -1
  4. psychopy/VERSION +1 -1
  5. psychopy/app/locale/ar_001/.DS_Store +0 -0
  6. psychopy/app/locale/ar_001/LC_MESSAGE/.DS_Store +0 -0
  7. psychopy/app/locale/ar_001/LC_MESSAGE/messages.po +1511 -3256
  8. psychopy/app/runner/runner.py +18 -8
  9. psychopy/experiment/_experiment.py +32 -7
  10. psychopy/iohub/client/__init__.py +17 -0
  11. psychopy/iohub/client/keyboard.py +5 -0
  12. psychopy/iohub/devices/mouse/linux2.py +4 -0
  13. psychopy/iohub/devices/mouse/win32.py +5 -0
  14. psychopy/tests/data/test_loaded_namespace/test_counterbalance.psyexp +142 -0
  15. psychopy/tests/data/test_loaded_namespace/test_custom_missing.psyexp +129 -0
  16. psychopy/tests/data/test_loaded_namespace/test_missing_counterbalance.psyexp +116 -0
  17. psychopy/tests/data/test_loaded_namespace/test_mix_exp.psyexp +181 -0
  18. psychopy/tests/data/test_loaded_namespace/test_mix_missing.psyexp +140 -0
  19. psychopy/tests/data/test_loaded_namespace/test_mix_name_calibration.psyexp +164 -0
  20. psychopy/tests/test_experiment/test_experiment.py +96 -0
  21. {psychopy-2024.2.4.dist-info → psychopy-2024.2.5.dist-info}/METADATA +1 -1
  22. {psychopy-2024.2.4.dist-info → psychopy-2024.2.5.dist-info}/RECORD +25 -55
  23. psychopy/app/locale/zh_CN/LC_MESSAGE/zh_CN.mo +0 -0
  24. psychopy/app/locale/zh_CN/LC_MESSAGE/zh_CN.po +0 -6127
  25. psychopy/app/locale/zh_CN/LC_MESSAGE/zh_CN_allFlagged.mo +0 -0
  26. psychopy/app/locale/zh_CN/LC_MESSAGE/zh_CN_allFlagged.po +0 -7366
  27. psychopy/demos/builder/Design Templates/randomisedBlocks/html/index.html +0 -23
  28. psychopy/demos/builder/Design Templates/randomisedBlocks/html/randomisedBlocks-legacy-browsers.js +0 -423
  29. psychopy/demos/builder/Design Templates/randomisedBlocks/html/randomisedBlocks.js +0 -427
  30. psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/chooseBlock.xlsx +0 -0
  31. psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/facesBlock.xlsx +0 -0
  32. psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/housesBlock.xlsx +0 -0
  33. psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/stims/face01.jpg +0 -0
  34. psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/stims/face02.jpg +0 -0
  35. psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/stims/face03.jpg +0 -0
  36. psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/stims/house01.jpg +0 -0
  37. psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/stims/house02.jpg +0 -0
  38. psychopy/demos/builder/Design Templates/randomisedBlocks/html/resources/stims/house03.jpg +0 -0
  39. psychopy/demos/builder/Design Templates/randomisedBlocks/randomisedBlocks.py +0 -330
  40. psychopy/demos/builder/Feature Demos/eyetracking/eyetracking.xml +0 -298
  41. psychopy/demos/builder/Feature Demos/eyetracking/eyetracking.xsd +0 -120
  42. psychopy/demos/builder/Tools/gammaCalibration/gamma_correction_visual.psyexp +0 -323
  43. psychopy/demos/builder/Tools/gammaCalibration/gamma_correction_visual.py +0 -562
  44. psychopy/demos/builder/Tools/gammaCalibration/questStairs.xlsx +0 -0
  45. psychopy/demos/builder/Tools/gammaCalibration/readme.md +0 -0
  46. psychopy/demos/builder/Tools/gammaCalibration/resources/low_contrast.png +0 -0
  47. psychopy/demos/builder/Tools/gammaCalibration/resources/make_2nd_order_tex.py +0 -59
  48. psychopy/demos/builder/Tools/gammaCalibration/resources/second_order_tex.png +0 -0
  49. psychopy/demos/coder/stimuli/radialGratingContracting.py +0 -29
  50. psychopy/hardware/serialport.py +0 -51
  51. psychopy/tests/data/__test.png +0 -0
  52. psychopy/tests/data/corrFullRandom_local.csv +0 -16
  53. psychopy/tests/data/corrFullRandom_local.tsv +0 -6
  54. psychopy/tests/data/testLoopsBlocks.psyexp_local.py +0 -328
  55. psychopy/tests/data/text2_height.png +0 -0
  56. psychopy/tests/data/text2_normAddBlend.png +0 -0
  57. psychopy/tests/data/text2_normHexbackground.png +0 -0
  58. psychopy/tests/data/text2_stencil.png +0 -0
  59. psychopy/tests/test_app/test_builder/data/_2021_ 5_03_1206.csv +0 -9
  60. psychopy/tests/test_app/test_builder/data/_2021_ 5_03_1324.csv +0 -9
  61. {psychopy-2024.2.4.dist-info → psychopy-2024.2.5.dist-info}/WHEEL +0 -0
  62. {psychopy-2024.2.4.dist-info → psychopy-2024.2.5.dist-info}/entry_points.txt +0 -0
  63. {psychopy-2024.2.4.dist-info → psychopy-2024.2.5.dist-info}/licenses/LICENSE +0 -0
psychopy/.DS_Store CHANGED
Binary file
psychopy/CHANGELOG.txt CHANGED
@@ -15,6 +15,210 @@ to run on the same PsychoPy version even where a different version is installed
15
15
  That setting often even allows PsychoPy to run experiments from versions that have not yet
16
16
  been installed! If the dependencies haven't changed it will run.
17
17
 
18
+
19
+ PsychoPy 2024.2
20
+ -----------------
21
+
22
+ Although there are many changes and therefore potential for some slight changes in behaviour we have focussed more this release on just making existing functionality smoother rather than adding new big fetaures.
23
+
24
+ PsychoPy 2024.2.0
25
+ ~~~~~~~~~~~~~~~~~
26
+
27
+ **New and Improved 🎉:**
28
+
29
+ * Added "force nonslip" parameter to Routine Settings so that you can now use non-slip timing for a Routine using a variable by @TEParsons in #6603
30
+ * Fix opacity not applying properly to border colors by @TEParsons in #6704
31
+ * User can set the online end message from Builder rather than relying on JS default by @TEParsons in #6258
32
+ * Performance improvements for MovieStim (parituclarly noticeable for larger videos) by @aforren1 in #6449
33
+ * Added functions to MicrophoneDevice to continuously monitor volume by @TEParsons in #6444
34
+ * Added function to check whether a speaker is working by @TEParsons in #6446
35
+ * Builder can now set logging level for app console, independently of log file by @TEParsons in #6510
36
+ * Added Keyboard.getState() to get current state of a key by @TEParsons in #6537
37
+ * Added text-to-speech synthesis by @mdcutone in #6588
38
+ * Eyetracking: Various fixes to plugin- and eyetracker-detection by @TEParsons @mdcutone @EyeLogicSolutions @mh105 @KirstenWilliams
39
+ * Eyetracking: New support for EyeLogic Solutions eyetrackers with plugin (alongside existing Tobii, SRR, Pupil Labs, and Gazepoint support)
40
+ * Eyetracking: Fixes and more flexible settings for calibration routines @KirstenWilliams @mdcutone @EyeLogicSolutions @TEParsons @RebeccaHirst
41
+ * Eyetracking: can now save dwell times from ROI component by @RebeccaHirst in #6500
42
+ * If storing all valid mouse clicks, still show invalid clicks explicitly in the list as `None` (or `Null` online) e.g. [None, "foil", "target"] for 3 clicks ending in target by @TEParsons in #6516 #6548
43
+ * Some loops/form/counterbalance were not fetching the correct xlsx templates by @TEParsons in #6514
44
+ * Implement orientation parameter for TextBox2 by @TEParsons in #6513
45
+ * New changelog dialog on app start by @TEParsons in #6445
46
+ * Improved error message for iohub connection error (issue #1226) by @MarkellaEgglezou in #6354
47
+ * Visual stimuli now `draggable` attribute accessible from Builder by @TEParsons in #6337
48
+ * Improved TrialHandler2 for more flexible adding/cancelling and retrieving info about trials @TEParsons in #6425 #6408 #6590
49
+ * Using PhotoDiodes Components in experiments (e.g. in BBTK T-pad) #6432 #6442
50
+ * Provide PsychoPy experiment filename to the ioHub server by @mh105 in #6555
51
+ * Allow experiment to pause on the current frame by @TEParsons in #6584
52
+ * Allow plugins to be uninstalled via the manager by @mdcutone in #6587
53
+ * Store/update Routine parameters live in an object, rather than hardcoding them to the experiment file by @TEParsons in #6597
54
+ * Make save speech onset/offset only available to supporting transcribers by @kimDundas in #6672
55
+
56
+ **🐛 Bug Fixes:**
57
+
58
+ * Fixed error sampling microphone volume even when buffer is full by @TEParsons in #6488
59
+ * Fixed plugins page sometimes failed to load cached plugins file due to encoding error by @peircej in #6428
60
+ * Fixed the launch of PsychoPy App on conda envs without pythonw by @mh105 in #6436
61
+ * Allowed Static Component to update params by @TEParsons in #6462
62
+ * Fixed TextStim letter height wasn't settable each frame/Routine in JS by @TEParsons in #6511
63
+ * Fixed check for pythonw executable on macOS in psychopyApp.py by @mh105 in #6521
64
+ * Fixed .js file not being found when using "Use version" (removed _legacy from suffix) by @RebeccaHirst in #6515
65
+ * Hide dollar sign on start/stop controls when one is hidden by @TEParsons in #6528
66
+ * Removed unused %s string format in MenuFrame to avoid unrecognized accel key by @mh105 in #6523
67
+ * Remove incorrect code on removing eyetracker generated by builder by @mh105 in #6526
68
+ * Fixed import backend_pysound after module name change by @mh105 in #6524
69
+ * Caught AttributeError for sound.getDevices() when opening PreferenceDlg by @mh105 in #6522
70
+ * Unregister event monitors during iohub calibration by @mh105 in #6466
71
+ * Fixed plugin discovery algorithm not finding user package entry points correctly by @mdcutone in #6539
72
+ * Allow enough time for all ioHub device._close() to finish by @mh105 in #6540
73
+ * Use default speaker device if index is default by @mh105 in #6538
74
+ * Fixed eyetracker record stop/start by @TEParsons in #6545
75
+ * Fixed duplicate dependency install on MacOS and package installation in virtual environments by @mdcutone in #6529
76
+ * Fixed size and pos of Line by @TEParsons in #6543 and @mh105 in #6525
77
+ * Fied bug setting Sound in static period online by @TEParsons in #6546
78
+ * Fixed ioHub finding eyetracker configuration files by @TEParsons in #6547
79
+ * Fixed the issue that speaker index could jump over integers by @mh105 in #6559
80
+ * Fixed crash when mono is specified if the microphone device expects stereo as default by @mdcutone in #6564
81
+ * Fixed csv conditions file loading by @TEParsons in #6552
82
+ * Get correct speech onset/offset times and write them to data file by @mdcutone in #6566
83
+ * Fixed dict keys for setting sample filter levels by @mh105 in #6554
84
+ * Add default duration to eyetracker record component by @RebeccaHirst in #6599
85
+ * Remove second whisper option from mic transcriber backend drop down by @RebeccaHirst in #6604
86
+ * Fixed remove the use of currentlyRecording in EyetrackerControl by @mh105 in #6567
87
+ * Fixed syntax for mic max recording parameter by @RebeccaHirst in #6598
88
+ * Decouple setting status from triggering playback/clock resets/etc. by @TEParsons in #6562
89
+ * Fixed starting and stopping times for EyetrackerRecordComponent by @mh105 in #6607
90
+ * Don't change self.param in getStartAndDuration of et component by @mh105 in #6615
91
+ * Typo in JS boilerplate (True rather than true) by @wakecarter in #6625
92
+ * Builder: Ensure frame rate is stored. by @aforren1 in #6619
93
+ * Allow Sound to stop on a condition rather than just time by @TEParsons in #6631
94
+ * Fix `obj.contains is not a function` error in JS by @TEParsons in #6635
95
+ * Enable correct behavior of entry-points to load eyetrackers by @mh105 in #6610
96
+ * Movie component Volume inputType should be single instead of float by @mh105 in #6643
97
+ * Use inspect.getfile to check path of plugin entry points by @mh105 in #6660
98
+ * UI wasn't fully refreshing after changing theme by @TEParsons in #6673
99
+ * Coder GUI fixes by @aforren1 in #6678
100
+ * Allow keyboard allowedKeys to be set as an int by @TEParsons in #6676
101
+ * Enable mouse clickable from variable when running online by @RebeccaHirst in #6668
102
+ * Fixed crash when `clearEvents(device_label=None)` by @mdcutone in #6669
103
+ * Fix JS translation of `.pop()` when there's no index by @TEParsons in #6651
104
+ * Allow polygon outline opacity to be persistent across frames by @mdcutone in #6657
105
+ * Sound Component code was using the wrong set function name in JS by @TEParsons in #6649
106
+ * Fixed files being marked as modified as soon as opened by @TEParsons in #6679
107
+ * Re-add distro as a runtime dependency for linux & remove deprecated function. by @aforren1 in #6686
108
+ * Save mouse.corr for online studies by @RebeccaHirst in #6701
109
+ * Creating project from ribbon raised error by @TEParsons in #6706
110
+ * Plugin Components weren't recognised if experiment loaded with app by @TEParsons in #6707
111
+ * Original types for "UnknownPluginComponent"s were being lost after loading and saving again by @TEParsons in #6708
112
+ * Start/Stop controls had lost their tooltip by @TEParsons in #6711
113
+ * Update flow button style when switching theme by @TEParsons in #6712
114
+ * Conditions file wasn't updated when chosen from file browser for multistair loops by @TEParsons in #6714
115
+ * Save to the color cache when rendering. by @aforren1 in #6720
116
+ * BF/RF: Code to load Builder-relevant entry points was broken and obsolete by @TEParsons in #6717
117
+ * maxDurationReached in Routine Settings False should be false online by @wakecarter in #6724
118
+ * fix trial data writing when there are multiple key presses including None by @mh105 in #6718
119
+ * Fixed units for mouse gaze calibration targets (pix -> height) by @KirstenWilliams in #6443
120
+ * Standardise `tDown` attribute between ioHub and ptb Keyboard backends (follow ioHub behaviour) by @TEParsons in #6417
121
+ * Improved audio resampling method by @mdcutone in #6605
122
+ * Change iohub port to avoid conflicts with Whisper transcription by @mdcutone in #6661
123
+ * Fixed 'best match' mic settings not being used to init recording buffer by @mdcutone in #6670
124
+ * Prompt user to reconsider if they try to close plugin window mid-install by @TEParsons in #6705
125
+
126
+ ## 📓 Docs & Demos
127
+ * Create hdf5_2_csv by @KirstenWilliams in #6508
128
+ * make a note that writeRoutineEndCode does not save onset/offset times by @mh105 in #6571
129
+ * Add demo for Button Box Component by @TEParsons in #6716
130
+
131
+ ## Translations
132
+ * Arabic: new by @Ahmad-Abudoush @Ahmad-Ramy in #6634 #6638 #6636 #6674 and with DeepL by @peircej in #6641
133
+ * Portugese: new by @joana-quarenta in #6662 #6665 #6690
134
+ * Japanese: updates by @hsogo in #6654
135
+ * Spanish: es-co, es_es and es_us now completed by @carosamu in #6541 #6577
136
+
137
+ ## New Contributors
138
+ * @MarkellaEgglezou made their first contribution in #6354
139
+ * @xjlc made their first contribution in #6570
140
+ * @EyeLogicSolutions made their first contribution in #6586
141
+ * @Ahmad-Ramy made their first contribution in #6636
142
+ * @mabuhayeh made their first contribution in #6638
143
+ * @joana-quarenta made their first contribution in #6662
144
+
145
+ **Full Changelog**: https://github.com/psychopy/psychopy/compare/2024.1.5...2024.2.0
146
+
147
+ PsychoPy 2024.2.1
148
+ ~~~~~~~~~~~~~~~~~
149
+
150
+ **🐛 Bug Fixes:**
151
+
152
+ * TrialHandler2 was starting `thisRepsN` at 1 rather than 0 by @TEParsons in https://github.com/psychopy/psychopy/pull/6747
153
+ * The py3.10 standalone app failed to launch on macos-arm chips (due to broken `tables` release 0.9.2)
154
+ * Updated translations for Spanish variants by @carosamu in #6763 #6737
155
+ * Fixed a typo in Trials routine template .psyexp file by @mh105 in https://github.com/psychopy/psychopy/pull/6738
156
+ * Set MovieComponent.status to FINISHED when playback finishes by @mh105 in https://github.com/psychopy/psychopy/pull/6740
157
+
158
+ **Full Changelog**: https://github.com/psychopy/psychopy/compare/2024.2.0...2024.2.1
159
+
160
+ PsychoPy 2024.2.2
161
+ ~~~~~~~~~~~~~~~~~
162
+
163
+ **🐛 Bug Fixes:**
164
+
165
+ * Fix ribbon buttons showing label on Mac by @TEParsons in #6767
166
+ * Builder files were marked as modified as soon as opened by @TEParsons in #6778
167
+ * Builder getting start/stop times when using non-slip timing by @mh105 in #6739
168
+ * Restore backwards-compatability to `psychopy.gui.dlg` by @TEParsons in #6792
169
+ * Routines were still writing their end experiment code in JS even when removed from the flow by @TEParsons in #6780
170
+ * Fix whisper transcriber sometimes being initialised twice (and breaking as a result) by @TEParsons in #6796
171
+ * DlgFromDict was erroneously adding keys when given "order" or "fixed" by @TEParsons in #6818
172
+ * Make output of Dlg.show backwards compatible with older versions by @TEParsons in #6809 #6792
173
+ * pyglet controls of macOS NSWindow with multiple screens by @mh105 in #6799
174
+ * Fixed detection of installed packages in standalone app for py3.10 by @mh105 in #6771
175
+ * Smoother output from background jobs to stdout by @mh105 in #6833
176
+
177
+ **Full Changelog**: https://github.com/psychopy/psychopy/compare/2024.2.1...2024.2.2
178
+
179
+ PsychoPy 2024.2.3
180
+ ~~~~~~~~~~~~~~~~~
181
+
182
+ **🐛 Bug Fixes:**
183
+
184
+ * Fixed machine-specific crashing of the app on launch for MacOS by building app bundle with setuptools==70.3.0 by @peircej in https://github.com/psychopy/psychopy/pull/6901
185
+ * Fix routine clock resetting in JS by @TEParsons in https://github.com/psychopy/psychopy/pull/6861
186
+ * Fix default audio device not being found by @TEParsons in https://github.com/psychopy/psychopy/pull/6863
187
+ * Fix error writing Polygon initial colors in JS by @TEParsons in https://github.com/psychopy/psychopy/pull/6865
188
+ * ensure window focus for the first `win.flip()` with pyglet backend on Windows OS by @mh105 in https://github.com/psychopy/psychopy/pull/6874 and https://github.com/psychopy/psychopy/pull/6876
189
+ * fix startView across OS platforms that opens psychopyApp.py by @mh105 in https://github.com/psychopy/psychopy/pull/6869
190
+ * if PsychoPy version includes "postN" then strip from PsychoJS version number by @peircej in https://github.com/psychopy/psychopy/pull/6873
191
+ * Handle when record of last open app windows is an invalid value (e.g. from old version) by @TEParsons in https://github.com/psychopy/psychopy/pull/6885
192
+ * suppress pip version check in package manager by @mh105 in https://github.com/psychopy/psychopy/pull/6868
193
+ * Added beta sticker to Counterbalance Component icon by @TEParsons in https://github.com/psychopy/psychopy/pull/6890
194
+ * Counterbalance Routine conditions file chooser wasn't updating the value properly by @TEParsons in https://github.com/psychopy/psychopy/pull/6892
195
+ * Silence unnecessary warning about unrecognised params by @TEParsons in https://github.com/psychopy/psychopy/pull/6896
196
+ * moviepy and egi_pynetstation now included in standalone not as a plugin by @peircej in https://github.com/psychopy/psychopy/pull/6905
197
+
198
+ **Full Changelog**: https://github.com/psychopy/psychopy/compare/2024.2.2...2024.2.3
199
+
200
+ PsychoPy 2024.2.4
201
+ ~~~~~~~~~~~~~~~~~
202
+
203
+ **🐛 Bug Fixes:**
204
+
205
+ * Recreate .js file on run when piloting in JS by @TEParsons in #6920
206
+ * App failing to start on MacOS if all windows closed on last app close by @peircej in #6926
207
+ * Fix nonslip timing issue in Builder-generated PsychoJS code by @TEParsons in #6921
208
+
209
+ **Full Changelog**: https://github.com/psychopy/psychopy/compare/2024.2.3...2024.2.4
210
+
211
+ PsychoPy 2024.2.5
212
+ ~~~~~~~~~~~~~~~~~
213
+
214
+ **🐛 Bug Fixes:**
215
+
216
+ * ioHub process was not cleanly exiting and then causing a crash on subsequent attempts to run @mh105 and @mdcutone in #6949 and #6938
217
+ * Sending experiment to Runner was sometimes (incorrectly) toggling pilot/run mode by @TEParsons in #6945
218
+ * Arabic Translation_update by @Ahmad-Abudoush in #6959
219
+
220
+ **Full Changelog**: https://github.com/psychopy/psychopy/compare/2024.2.4...2024.2.5
221
+
18
222
  PsychoPy 2024.1
19
223
  -----------------
20
224
 
psychopy/GIT_SHA CHANGED
@@ -1 +1 @@
1
- n/a
1
+ e64d50fd614fbc6da79183a58665f0c428606139
psychopy/VERSION CHANGED
@@ -1 +1 @@
1
- 2024.2.4
1
+ 2024.2.5
Binary file