Edwin
About
- Username
- Edwin
- Joined
- Visits
- 95
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi, As far as I know, the EyeX works via a different SDK than other Tobii devices. I only recently got access to an EyeX, so there might be support in the future, but definitely not yet. PyGaze does suppert EyeLink (SR Research), EyeTribe, SensoMo…
-
You can open a connection with any server using the socket module (native Python; you can import it in an inline_script). From a programming perspective, that's the cleanest way to do this. See here for an explanation on how to operate it. As for t…
-
Thanks for clearing some of that up. 1) Check. Sounds like a cool project! 2) You guess you got video from it, but you're not sure what package you used to do it? I don't quite follow. Also, getting the video isn't very helpful if the device can a…
-
Hi Michael, Couple of questions to get the full picture: 1) What eye tracker did your lab buy? 2a) What software does it use? 2b) Are there Python bindings for the software mentioned at 2a? 2c) If the answer to 2b was "No", then is th…
-
Answered in the other thread :) http://forum.cogsci.nl/index.php?p=/discussion/2206/open-pygaze-message-logging-format#Item_3 PS: Thanks for opening another thread for your new issue. It's better to keep things separated, to keep the forum more or…
-
Hi Neon, Yes, you're right! I usually chuck those out before I start, or replace them by NaNs. You could also remove all (0,0) fixations afterwards. But I'd recommend the NaN thing. Good luck!
-
Good catch, @neon! @s_mcilw: The log happens every time the pygaze_log is inserted, and if you chose to log all variables, there might be a lot of logging going on, which can cause lag. Usually, that's quite inefficient, and not necessarily what yo…
-
Hi Sarah, Please disregard @eduard's comment; he's referring to an EyeLink specific feature, whereas you are using the EyeTribe. As for your question: I'm not sure what you mean by logging "with the time stamps"? Is the time stamp associ…
-
Hi Neon, Sounds all right, but you might want to play with the window size and type of smoothing a bit. I've grown quite fond of Hampel filtering, but primarily for pupil size signal; haven't actually tried it on gaze location yet. The thresholds …
-
Hi Mathew, That's not an error, that's a warning. It tells us that some of the functionality that we are using is not going to be supported in future editions of NumPy. Thanks for the heads-up, I'll have a look at what's causing it, and will fix i…
-
Hi Sarah, You're logging every two milliseconds?! What is it that you're logging at such a high frequency? In general, an something should only be logged to the gaze data file when 1) A new trial starts (to log trial parameters, or 2) When an event…
-
Hi Eshed, 1 and 2) No reason to prefer one over the other. I like your implementation! The reason that mine ended too early, is because I forgot to multiply the video's duration by 1000. It only just now occurred to me that PsychoPy uses seconds ra…
-
Hi Neon, Although I haven't actually used Salvucci and Goldberg before, but a quick look at their paper (specifically table 2) suggests that they do a very similar thing to what everyone else does. Their method is a bit less sophisticated, as it se…
-
Hi Sarah, Sorry to hear about your issue. Would you mind sharing an example log message? Are you logging a lot of information? In addition, sharing a minimal demo of your issue would also be a big help. (That's a short experiment in which the prob…
-
Thanks, will mark as solved :)
-
Hi Neon, As we write in the paper on PyGaze, the online (=while the experiment is running) event detection is meant to be a as quick as possible in detecting fixations, saccades, and blinks. This is at the expense of accuracy. There are more elegan…
-
That was really sloppy of me, sorry. The correct function to call is stop_recording. I've updated the scripts above. That should solve points 1 and 3. As for 2: You should be able to also use the experiment computer's keyboard for everything, from …
-
Hi Mathew, This issue stems from the way log messages were timestamped. In previous versions, they were anchored to the latest sample. However, on some PCs, the sampling started to lag behind. Therefore, log messages that were sent later, appeared …
-
Dear Eshed, 1) Yeah, that sounds fine. 2) Woops, sorry, my bad! Thanks for letting me know. I've fixed it in the original post now. Happy it worked after that minor change, though! :) 3) When in the EyeLink menu, press the Q button on the stimulu…
-
BOOM! Should be finished with the this commit. Download PyGaze from GitHub to try it out.
-
Hi, In general: yes! You can use the EyeTracker class' sample method. Minimal example: import timefrom pygaze.display import Displayfrom pygaze.eyetracker import EyeTracker# Initialise a Display and an EyeTracker instancedisp = Display()tracker = …
-
Hi Neon, On Tobii, the drift correction actually is merely a check whether the calibration is still ok. You can then correct it by re-doing the calibration (by pressing 'Q' during the drift check). The same functionality can be implemented in an i…
-
Hi, You don't need to download Sogo's Tobii controller, we merely credit him on the website because our implementation is based on his code. A modified version of his controller is included in PyGaze's source code. What you do need, is Tobii's own…
-
Try the following: import pygazefrom pygaze.display import Display# Initialise a Display with default settings.disp = Display()# Get the handle to the active PsychoPy Window# (Note that you do not get this from disp.expdisplay# anymore, but directl…
-
Hi Yael, The easiest way to do that, is by simply giving the participant a brake in between blocks. If you hit Q on the keyboard during the drift check, the system will take you into the calibration and you can recalibrate it. Good luck! Edwin
-
Hi Eshed, The PsychoPy API (not the builder, but the underlying software library) has an option to present videos: the MovieStim object. In essence, PyGaze is a relatively simple wrapper around PsychoPy, when you set the DISPTYPE to 'psychopy'. So …
-
Hi, As it says in the documentation (on the website and on GitHub), PyGaze is a Python library that you can use to interface with existing eye trackers. The supported brands are EyeLink (SR Research), EyeTribe, SMI, and Tobii. (The latter two are r…
-
Hi all, For future reference: fix - Boolean that supposedly indicates whether someone is fixating or not. It comes directly from the EyeTribe Server, so I don't know what kind of calculation it actually comes from. rawx and rawy - Gaze coordinate…
-
Hi Neon, Just wanted to comment to let you know we're not ignoring you! Unfortunately, none of the developers have access to a Tobii anymore. That makes debugging this tough. My guess is that the issue is with the fixation-triggered drift check. Di…
-
Hi guys, With some help from Martin from the EyeTribe team, the issue was debugged. Fixing it is on the top of my TODO list once I get back into the office. Should be solved around Tuesday. For the curious: The issue was on our side, with a slight…