psychopy.org | Reference | Downloads | Github

Mouse only rating scale without accept button?


#1

Hi, there

What are you trying to achieve?:
I have a bunch of rating scales in my experiment (ca. 30), therefore I want to avoid that the participants have to accept every single rating. I think this could be somehow frustrating for the participants to accept each rating. The rating will be mouse only.
After participants have made each rating they are allowed to end the routine with the space bar.
Single click is not an option as participants should be allowed to change their rating until they press the space bar.

What did you try to make it work?:
I am using the rating component and the customizied option as follows:

textColor='black',
textFont='Arial',
textSize=0.4,
size=1.2,
labels=('1','2','3','4','5','6','7'),
tickMarks=('1','2','3','4','5','6','7'),
marker='circle',
pos=(0.25,0.65),
mouseOnly=True,
low=1,
high=7,
markerColor='black',
lineColor='black',

Addtionally, Store rating, Store history and Store rating time is selected. My .csv output looks as follows:

Unbenannt1

Thus, the last rating before ending the routine was 5. I want to store this rating as r1.response without using the accept box.

Thanks Fabian


#2

@Fabian, what you could do is manually get the rating, and add it to the conditions file. In the “End Routine” tab:

last.rating, last.rt = r1.getHistory()[-1]
thisExp.addData("last.rating", last.rating)
thisExp.addData("last.rt", last.rt)

#3

Perfect, that worked :slight_smile:
Just had to change “last” to “r1”. Otherwise routine will stop because “last” is not defined.

r1.rating, r1.rt = r1.getHistory()[-1]
thisExp.addData("r1.rating", r1.rating)
thisExp.addData("r1.rt", r1.rt)

#4

Yes, apologies for the confusion, I was just demonstrating a point more generally :slight_smile:


#5

No worries, you delivered a perfect thought-provoking impulse!:grinning: