Psychopy

Latest version: v2024.1.4

Safety actively analyzes 641102 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 19

2022.2.0

Highlights:

- BETA: You can now get participant responses using Cameras (webcams), both in web-based and in local experiments. The new Camera Component allows you to
- save recordings to disk
- show the current input from the webcam (make the Camera the input to a regular ImageStim)
- replay a recording later in the experiment (use the Camera as input to a subsequent MovieStim)
- **all the above features are currently BETA**
- Python: New movie *playing* engine for higher performance playback in locally experiments (using FFPyPlayer)
- Online: Introducing the "Shelf" for persistent storage on Pavlovia of variables accessible to a range
of scopes (only the current participant, only the current project, any project in the lab etc.).
This may sound like not a big deal but it opens options for the following:
- **multi-session** studies: retrieve the participant threshold/progress form last session
- **interactive multi-player** studies: store 'messages' for another user to receive
- **counterbalancing online**: by tracking the number of participants that have been in each group
- Online: Gratings and Gabors now supported online, straight from your Builder experiments
- Online: gamma correction supported in the browser(!!) by setting Window.gamma property (currently
requires a code snippet)
- Python: Builder now has a Serial Port Component to make it easier to connect to hardware without needing
Code Components

Compatibility changes:

- Studies with Code Components that access `routineTimer` will need adapting because the non-slip Builder
logic has changed this is now a regular (count-up) Clock instead of a CountdownTimer

Key Fixes:

- Online: Button Component is now fully working, so you don't need to create your own text boxes for this
- Online: Routines used outside a loop now always advance the next row in the data file so that they
can't overwrite each others' data
- Python: The `.stopped` times should now be showing up correctly for all Components in the csv file
(they were always correct in the log file)
- Python: Better timing in non-slip Routines. Previously the non-slip timer corrected for overshoots but
not undershoots. This is now fixed.
- `Is trials` property of loops (to control whether the data file advances) is now supported
in online studies

2022.1.4

In addition to the new [features of the 2022.1 release series](https://github.com/psychopy/psychopy/releases/tag/2022.1.0) this release includes the following

Fixes:
- experiments using iohub were not running on MacOS standalone due to broken version of the gevent library
- fixes to connection from Builder to Pavlovia in certain circumstances (e.g. certain usernames or when project has moved) 22963a9db
- fixes searches of Pavlovia for private projects by the logged in user
- fix to use of correct answers for Joystick Buttons Component 2e66dc188 f9ef1bea2
- Builder crashing when a Routine had been copied over 45928769c
- some parameters in Builder dialogs were missing their label names c8cd3802e
- ShapeStim was not obeying requests for zero opacity 8030b2ff4
- fixed "currentLoop is not defined" error for online studies a261d0446
- in certain circumstances, mic recordings were not saving for each trial, only for the last trial, when online 5e23a0a34

2022.1.3

In addition to the new [features of the 2022.1 release series](https://github.com/psychopy/psychopy/releases/tag/2022.1.0) this release includes the following

Fixes:
- TextStim (and Button, which is derived from TextStim) was not easily clickable online due to incorrect bounding box psychopy/psychojs492
- Slider styleTweaks were not being applied 4773
- Check that file is saved before trying to Run 4759
- Mouse coordinate mapping was incorrect for MacOS Retina displays which meant that Slider and Brush wasn't working, for instance 4755
- Allow the Sound Component to be used if transcription libs were not available 4747
- Form Component excel template was corrupted (by google sheets export) 4742
- Copying a Routine from one experiment to another was causing a compile error 4740
- Better logging of errors during application load for debugging purposes 4750
- Setting the Slider to reset() was looking like a response when it shouldn't 4738
- Fixed core.getTime() for M1 native installations (does not affect Standalone or Intel-based installations on M1) b839a32da52b
- Allow 3-dimensional arrays for ShapeStim vertices 31ca663bf2
- Fix dependency definition for Poetry installations 77cb7c92eac4
- Fix use of `event` module for keyboard as fallback for iohub/ptb 5c3672804f1
- If HomeBrew has a broken fonts folder ignore it 4719
- If user specifies a line width of `"2"`make it `2` 389bfd4692

2022.1.2

In addition to the new [features of the 2022.1 release series](https://github.com/psychopy/psychopy/releases/tag/2022.1.0) this release includes the following

Fixes:
- URL redirection was failing at the end of the study for online experiments where the JS code was generated using 2022.1.0-2022.1.1 due to an erroneous replacement of `//` with `/` in `https://` e8218b31f71
- Hyphens can now be included in Pavlovia project names (the validator in the PsychoPy GUI was being too strict) bbe6bf5ed01
- Static Components that are used for fetching online resources (e.g. using a Movie Component that sets its stimulus during a Static) will now freeze and wait until the resource is fully received if it takes longer than the set duration. Using ResourceManager components the experiment will not freeze but status can be checked `status==FINISHED` when download is complete
- Fixed a bug where, after logging out of the Pavlovia Session in the PsychoPy interface, PsychoPy would still provide the option to use the names/groups of that user, but would not then allow access to their contents. bbe6bf5ed01d2657d968f1f429b31bfec064292e
- PsychoPy would crash if using the Classic Theme on a mac with a retina display (missing icons) 495fddd814ce1e0b79d4c6483a3d1bdd5ed4b5a5
- DotStim in local (Python) experiments was failing to update dots position (at all) 4694
- Error raised when creating a new Pavlovia project from the menu item rather than the toolbar button 4683
- Crashing on MacOS when running experiment due to Keyboard a) 'iohub' not loading due to gevent incompatibility and b) not then correctly falling back to 'event' backend

2022.1.1

Highlights of 2022.1.x release series

- Improved interface for searching, syncing and viewing Pavlovia projects from
within the PsychoPy app
- In online experiments you can now [dynamically choose the resources your
participant needs](https://psychopy.org/online/resources.html) as the experiment progresses rather than downloading them all in
the first dialog box
- Can now insert new Routines from pre-packaged templates (such as Fixation, 2-alternative
forced choice, feedback, etc)
- QUEST handlers now available in PsychoJS including interleaved staircases
- Most visual stimuli now have an "anchor" parameter to control how it's laid out
relative to its position, and you can now set the alignment of text within a Textbox
(with a handy demo to illustrate the difference between anchor and alignment!)
- Added support for [Pupil Labs eye trackers](https://psychopy.org/api/iohub/device/eyetracker_interface/PupilLabs_Core_Implementation_Notes.html) (thanks to Pupil Labs themselves) directly from the Builder

Compatibility Changes in 2022.1.x release series

- Python 2.x is no longer supported
- Filename timestamps now have a different default format (based on ISO 8601):
2022-01-14_14h39.36.092 for 2:39pm and 36s, 92ms
See :func:`psychopy.data.utils.getDateStr` for details on the new functionality

2022.1.0

Highlights:

- Can now insert new Routines from templates (such as Fixation, 2-alternative forced choice, etc)
- Improved interface for searching, syncing and viewing Pavlovia projects from within the PsychoPy app
- Dynamic loading of resources in online experiments so that not all resources in a study need downloading in the first dialog box
- QUEST handlers now available in PsychoJS including interleaved staircases
- Most visual stimuli now have an "anchor" parameter to control how it's laid out relative to its position, and you can now set the
alignment of text within a Textbox (with a handy demo to illustrate the difference between anchor and alignment!)
- Added support for Pupil labs eye trackers (thanks to Pupil Labs themselves) directly from the Builder

... and many more. For full list of changes see the [PsychoPy Changelog](https://psychopy.org/changelog.html)

Page 4 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.