python codes used in ExpyVR