It looks like you're new here. If you want to get involved, click one of these buttons!
i need to set the eye_used (i need the right eye) to an experiment.
Are you using the EyeTribe? So far it doesn't seem like the eyetribe actually uses eye_used.
The only function that references eye_used for the EyeTribe is in the libeyetribe.py in the comments... When the function is actually called it is getting 'psize' which is the average pupil size.
If you are interested in pupil size, you could get only the right pupil by editing the function pupil_size() in pytribe.py so that it looks like this:
"""Returns the most recent pupil size sample (an average of the size
of both pupils)
pupsize -- a float indicating the pupil size (in arbitrary units)
if _current_sample == None:
I haven't tested this myself so no guarantees.