Stimulus presentation in Python using Psychopy for the Relationships and Emotions Study. In this study, I assessed how participants; relationship affect their emotion regulation. I also measured participants' heart activity, to test theories that heart-rate variability may be a marker of self regulation. This scripts are for the study's emotion-regulation and heart-baseline tasks.
-
emoreg.py file is an emotion regulation task, which shows participants pictures and asks them to either respond naturally, or to try to make themselves feel better about the picture. After each photo, participants rate their emotional state. The task assess how effectively participants down-regulate their negative emotion in response to upsetting photos.
-
emoregpractice.py file walks participants through a practice round of the emoreg.py emotion regulation task.
-
pacedbreathing.py and picturerating.py are baseline tasks for heart-rate variability measurement.
-
pacedbreathing.py asks participants to match their breathing to the rhythm of rising and falling tone. This is used to record heart activity while standardizing breathing rate.
-
picturerating.py asks participants to sit quietly and rate a series of pictures. This is used to record heart activity while participants breathe at their normal rhythm.