I’m using RatingScale in my experiment to let the participant assess their liking towards the presented image. What I want to do is to let the ratingscale show the value where the mouse stops(without click), so that participant can see the value they are going to choose and it will go on to the next trial after a single click.
The part of code is attached below.
baseline_ratingscale = visual.RatingScale(myWin, scale = u'-100=Extremely Dislike . . . . . . . . . . . . . . +100=Extremely Like', size=0.6, markerStart=0, low=-100, high=100, precision =1, pos = (0.0,-0.6),marker = 'circle', showValue = True, singleClick = True, acceptPreText = u'Click on the line') locB_stimulus.setImage('materials/'+Trial['locB']+'.jpg') baseline_ratingscale.reset() while baseline_ratingscale.noResponse: locB_stimulus.draw() baseline_ratingscale.draw() myWin.flip() print baseline_ratingscale.getRating(), baseline_ratingscale.getRT() Trial["resp"]=baseline_ratingscale.getRating() Trial["rt"]=baseline_ratingscale.getRT() myWin.flip() core.wait(1)
For now, the program can work just can’t show the value been chosen.
The code has been written under PsychoPy version 1.85.6, operation system win7.
And I know it says while singleClick = True, showValue will be ignored. I just wanna try and it didn’t work.
Can anyone please help?
Thanks a lot in advance!