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

wait_for_fixation_end() doesn't return what it is expected in libeyetribe.py (EDIT: Documentation issue) #116

Open
kismari opened this issue Jun 11, 2018 · 1 comment
Assignees

Comments

@kismari
Copy link

kismari commented Jun 11, 2018

Reading the documentation, this function must return "time, startpos, endpos" but, instead of that, it returns clock.get_time(), spos

@esdalmaijer
Copy link
Owner

Thanks for the report! That's actually an error in the documentation, sorry! The function should return ending time and position. The starting and ending position should be roughly the same, hence only one of them is returned. (In fact, the point of the detection is that the current gaze position hasn't drifted too far from the starting position.)

Note that these wait_for_* functions are to implement gaze contingent functionality, and thus they're not as precise as offline analyses would be. (Hence you only get the rough position of the fixation, and not the higher detail info on what happened during the fixation.)

@esdalmaijer esdalmaijer changed the title wait_for_fixation_end() doesn't return what it is expected in libeyetribe.py wait_for_fixation_end() doesn't return what it is expected in libeyetribe.py (EDIT: Documentation issue) Jun 27, 2018
@esdalmaijer esdalmaijer self-assigned this Jun 27, 2018
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