Hi all, I have a question regarding interpreting mouse locations. I have 6 images on the screen, each in a specified location (coordinates 0 or .5/-.5) In my output file, it’s very precise and I get values like "-0.331944444; 0.313333333"
But in order to interpret whether it’s correct, I’d like psychopy to round it up or down, either to 0 (if the value is between 0 and .25) or to .5 (if the value is between .25 and .5). - and then I’d like extra columns in my data file with these numbers.
I know there is a python function “round”, to deal with that, but I’m not sure how to implement it in psychopy - how do I combine “round” and “addData” into one command?