def posToPix(stim):
 return convertToPix([0, 0], stim.pos, stim.win.units, stim.win)

def posToPix ( stim ) : return convertToPix ( [ 0 , 0 ] , stim . pos , stim . win . units , stim . win )
returns the stims position in pixels .