Psychopy based Continuous Pain Monitoring Task
Creators
- 1. Computational and Biological Learning Unit, Department of Engineering, University of Cambridge, Cambridge CB2 1PZ, UK
- 2. Wellcome Centre for Integrative Neuroimaging, FMRIB, Nuffield Department of Clinical Neurosciences, University of Oxford, Oxford OX3 9DU, UK
- 3. Institute of Biomedical Engineering, University of Oxford
- 4. Rheumatology Research Unit, Cambridge University Hospitals, Cambridge, CB2 0QQ
- 5. Department of Medicine, University of Cambridge, CB2 0QQ
Description
🧠Pain Monitoring Task
If you like our project, please give us a star ⭐ on GitHub for the latest update.
This continuous pain rating task assesses pain intensity using the open-source software PsychoPy [1] hosted on Pavlovia [2]. At the start, participants are provided with detailed instructions and asked to complete a short practice run to ensure they understood how the application worked. Once this is completed, participants continuously rated their pain for approximately five minutes on a vertical scale ranging from "Least Pain" to "Most Pain."
🏃Running the Task
- Create an account on gitlab.pavlovia.org
- Click on the '+' sign on the top navigation bar and select the 'New project' option.
- Select 'Import project' and then click the 'Repo by URL' button.
- Paste our current GitHub URL under the 'Git repository URL' textbox.
- Voilà! The task is ready to use for your experiment.
🎯Application
This task helped us collect pain ratings and highlight the importance of short-term variability in chronic musculoskeletal pain and its potential as a predictor of clinical outcomes.
📝Citation
If you find this code repository useful in your research, please cite as follows:
Zheng, X., Rajwal, S., Ho, S. Y. S., Ashworth, C., Seymour, B., Shenker, N., & Mancini, F. (2024). Psychopy based Continuous Pain Monitoring Task (1.0.0). Zenodo. https://doi.org/10.5281/zenodo.13754802
Paper under review. Preprint available here:
Zheng, Xuanci, Swati Rajwal, Sharon Yuen Shan Ho, Carl Ashworth, Ben Seymour, Nicholas Shenker, and Flavia Mancini. "Short-term variability of chronic musculoskeletal pain." medRxiv (2025): 2025-01. doi: https://doi.org/10.1101/2025.01.12.25320413
👩💻Contributing
Please create a discussion on the GitHub page to suggest any updates or provide feedback
📚References
- Peirce, J., Gray, J.R., Simpson, S. et al. *PsychoPy2: Experiments in behavior made easy.* Behav Res 51, 195–203 (2019). https://doi.org/10.3758/s13428-018-01193-y
- Pavlovia. Pavlovia, https://pavlovia.org/. Accessed 11th September 2024.
⚖️License
Files
swati-rajwal/pain_monitoring_task-1.0.0.zip
Files
(1.8 MB)
Name | Size | Download all |
---|---|---|
md5:6a7e2157eda7e8ded4701e92f71cf436
|
1.8 MB | Preview Download |
Additional details
Identifiers
Related works
- Is supplement to
- Software: https://github.com/swati-rajwal/pain_monitoring_task/tree/1.0.0 (URL)
Software
- Repository URL
- https://github.com/swati-rajwal/pain_monitoring_task
- Programming language
- Python, JavaScript, HTML