Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pupil size mode menu in pygaze_init plug-in not working #140

Open
HanZhang-psych opened this issue Jan 8, 2020 · 2 comments
Open

Pupil size mode menu in pygaze_init plug-in not working #140

HanZhang-psych opened this issue Jan 8, 2020 · 2 comments

Comments

@HanZhang-psych
Copy link

The pupil size mode selection menu (see the pic) does not seem to work, as the Eyelink host PC will always show 'area' is in use even if 'diameter' is selected here.

image

I have to add another inline script eyetracker.send_command('pupil_size_diameter = diameter') in order to work.

I'm using OpenSesame 3.2.7 with PyGaze version 0.6.0a25, and Pylink 1.1.0.5

In addition, I was curious why 'area' was set as default rather than 'diameter'. Are there any good reasons to use 'area' or is it just a personal preference?

Thanks!
Han

@esdalmaijer
Copy link
Owner

esdalmaijer commented Jan 9, 2020

Thanks for the report!

Just had a quick look, and it seems the pupil_size_diameter is passed correctly by the PyGaze init item in OpenSesame (here), and also processed correctly within PyGaze (here).

This means the problem must be less obvious, and will require some more digging.

In the meantime, thanks for sharing your work-around!

Cheers,
Edwin

PS: Regarding choosing a pupil size metric, I think AREA is the EyeLink default, so made the most sense to default to. It shouldn't matter too much, I think, as long as one keeps in mind that diameter scales linearly, while area scales quadratically (because it's a surface metric).

@HanZhang-psych
Copy link
Author

Cool, thanks! I guess I will just use the default, then. But it would be nice to know why the dropdown menu wasn't working. Let me know if you learn anything!

Thanks,
Han

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants