Codes
Here, I publish my codes, which can be helpful. Most of the code is in Python and sometimes other apps.
I have also included a short description of each code and its functionality. Codes can be downloaded directly as a .py file or from GitHub.
# | Platform/Language | File Name | Description | Download | Link to Repository |
---|---|---|---|---|---|
1 | Python; Eye Tracker; Psychopy | Native Adapted Eyelink Eye Tracker |
⛔Tested with Psychopy Version 2023.x.x not earlier This code provides a clean Eye-Link Eye-tracker for the Psychopy Coder to integrate Psychology, including calibration, validation, and recording experiments, and provides an *.EDF file at the end. ©️ Copyright of the main code remains for SR-Research |
You need to put all files in the same folder as your *.py experiment is there |
Link to Repo |
2 | Python; Psychopy; pygame | Progress Bar for Experiment Duration (Pgbar height) | This is a progress bar designed to indicate the duration of your experiment, which is preset to 180 seconds (3 minutes). You can easily incorporate this code snippet into your project and adjust its location within your experiment. If you desire a larger or smaller progress bar, you can modify the "height" parameter. | Download | Link to Repo |
Python; Psychopy; pygame | Screen Size Detector | This code is designed to detect your screen size, and later, you can use parameters including height and width if you want to insert stimuli or divide the screen based on your needs. |
Download | Link to Repo |